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

Re: Subversion's use of Berkeley DB [#11511]

From: Keith Bostic <bostic_at_abyssinian.sleepycat.com>
Date: 2004-12-10 02:33:15 CET

> 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

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.