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

Re: Crash after large deltas

From: Andreas J. Koenig <andreas.koenig_at_anima.de>
Date: 2003-04-11 07:19:47 CEST

>>>>> On Thu, 10 Apr 2003 10:52:10 +0200, Branko Čibej <brane@xbc.nu> said:

> I think we can solve some of the problem by being more careful about the
> size of the transactions we create; ideally, the numer of locks used
> should be constant regardless of the size of the commit. In the
> meantime, it would be great if somebody could take the time and actually
> document what the lock limits should be depending on commit size, so
> that people could set their DB_CONFIG settings to suit their expected usage

From empirical evidence, the needed number of locks is not dependent
on the size of the commit but on the number of revisions. It's easy to
test:

svnadmin create test
# set the lock values in DB_CONFIG to 20
svnadmin recover test

svn co .../test
cd test
touch foo
svn add foo
perl -le 'while (){ open F, ">foo"; print F ++$i; system qq{svn ci -m "ci $i"}; sleep 1; }'

This fails for me after 87 checkins. Subversion 0.20, Berkeley 4.0.14.

-- 
andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 11 07:20:58 2003

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