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

Re: svn client hangs on db access

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-07-30 00:10:49 CEST

Peter Schuller wrote:

>Hello,
>
>all of a sudden when I was going to do an "svn update" today svn started
>hanging.
>
[...]

I think it's high time we fixed svn_fs_open_betkeley, so that it does
recovery on the fly. I've been reading the BSB docs again, and I totally
agree with Jim Blandy's suggestions.

The easy step is to add the DB_CREATE flag, becuase then it won't matter
if db_recover is run with or without '-e'. This is actually a good
thing, because we'll be able to recover from the more horrible cases
where the shared mem environments are corrupt, *and* we'll be able to
modify hot-backup.py to not copy the environment files.

The second step, actually recovering on-the-fly with the DB_RECOVER
flag, is a bit more work because the recovering process must be the only
one accessing the environment.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 30 00:11:23 2002

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.