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

Re: Add warning to svnadmin recover, WAS: FW: repository too slow suddenly

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-08-15 00:02:24 CEST

Garrett Rooney <rooneg@electricjellyfish.net> writes:

> svnadmin recover needs to be able to deal with the case where a
> client or server crashed while holding the lock, so at some point it
> needs to be able to blow away the lock if it's invalid.

I've never really understood recover's locking. Are there systems
where it is possible for a process to crash and leave a lock? On a
Unix like system the fcntl documentation usually states that locks are
removed when a process terminates.

svn_repos_recover has some odd looking code that opens the lock file
read-only and then unlocks the file. Does this ever have any effect?
Is it really possible for one process to release locks held by another
process?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 15 00:03:25 2003

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

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