You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Sander Striker <st...@apache.org> on 2003/08/04 18:57:11 UTC

BDB recovery, WAS: RE: MacOS X problems---Corrupt repository

> From: Jack Repenning [mailto:jrepenning@collab.net]
> Sent: Monday, August 04, 2003 8:48 PM

> At 8:39 PM +0200 8/4/03, Sander Striker wrote:
>>
>> What we really need is a mandatory --force flag to svnadmin recover
>> and a "WARNING: ... Are you sure [yes/no]?" when --force isn't passed.
> 
> Are you really saying there's nothing better that can be done?  BDB 
> doesn't record the PID of the locking processes, for example?

The philosophy behind recover is that all processes have died that
were accessing the db, and assuming that the locks that are there are
stale.

This is why Sleepycat recommends using a single program to access
the db and to proxy everything through that.  We do have an issue on
this IIRC.


Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: BDB recovery, WAS: RE: MacOS X problems---Corrupt repository

Posted by mark benedetto king <mb...@lowlatency.com>.
On Mon, Aug 11, 2003 at 09:36:02AM -0500, Ben Collins-Sussman wrote:
> "Sander Striker" <st...@apache.org> writes:
> 
> > This is why Sleepycat recommends using a single program to access
> > the db and to proxy everything through that.  We do have an issue on
> > this IIRC.
> 
> Yeah, deep down, this is my secret wish.  Post-1.0, I'd love to see a
> single daemon access the berkeley db environment -- much like the way
> 'mysqld' works.
> 

This should become much simpler with a vtable-ized fs.  I suspect that
Greg Hudson's svn-protocol marshalling routines (and methodology) would
be easily re-usable in such an endeavor.

--ben


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: BDB recovery, WAS: RE: MacOS X problems---Corrupt repository

Posted by Ben Collins-Sussman <su...@collab.net>.
"Sander Striker" <st...@apache.org> writes:

> This is why Sleepycat recommends using a single program to access
> the db and to proxy everything through that.  We do have an issue on
> this IIRC.

Yeah, deep down, this is my secret wish.  Post-1.0, I'd love to see a
single daemon access the berkeley db environment -- much like the way
'mysqld' works.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org