> From: Philip Martin <philip@codematters.co.uk>
>
>> Suppose svn_repos_open() were first to make a non-blocking attempt to
>> take an exclusive lock, if that fails it just carries on as at present
>> and tries to take a non-exclusive lock. If however svn_repos_open()
>> manages to take an exclusive lock then it can do whatever it wants
>> (perhaps run recovery?) and then it can drop the exclusive lock, take
>> a non-exclusive one and continue as at present.
>
> This would mean that recovery would get run whenever anything accessed
> a repository that was not otherwise being accessed, is that the
> desired behaviour? Should be simple to implement, but I don't know
> what sort of performance effect it would have. Do we really want to
> run recovery that often?
It wouldn't hurt anything to run recovery that often, and,
assuming relatively frequent checkpointing, recovery does
not take long to run.
That said, I doubt you want to run recovery that often.
Regards,
--keith
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Keith Bostic bostic@sleepycat.com
Sleepycat Software Inc. keithbosticim (ymsgid)
118 Tower Rd. +1-781-259-3139
Lincoln, MA 01773 http://www.sleepycat.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 10 03:00:27 2004