[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: files in db/locks

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 15 Aug 2012 12:35:24 +0100

"rog7993_at_web.de" <rog7993_at_web.de> writes:

> Hello Daniel,
>
> Am 11.08.2012 00:29, schrieb Daniel Shahaf:
>> If you lock /foo/bar/baz then db/locks/${hash} files are created for each of / ,
>> /foo , /foo/bar .
>>
>> Consequently, if (a) there are no locks in the repository, and (b) no
>> locks are being added or deleted (eg: the server is in read-only mode),
>> then it ought to be safe to remove all those hashes.
>
> Thanks for the explanation. But why do I still see these files
> although all locks in this repository have have been removed some
> weeks ago? Is this intended or a misbehaviour of the subversion
> server?

There was a bug that caused unlock to leave the files:
http://subversion.tigris.org/issues/show_bug.cgi?id=3667
It is fixed in 1.6.13 but the files will remain until a suitable new
lock/unlock causes them to be deleted.

-- 
Philip
Received on 2012-08-15 13:36:06 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.