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

Checkpoint less frequently (was Re: Still hang on svn 4951 RedHat 7.3 SMP)

From: mark benedetto king <mbk_at_boredom.org>
Date: 2003-02-19 21:45:51 CET

On Wed, Feb 19, 2003 at 02:36:07PM -0500, Brandon Ehle wrote:
>
> Index: subversion/libsvn_fs/fs.c
> ===================================================================
> --- subversion/libsvn_fs/fs.c (revision 4721)
> +++ subversion/libsvn_fs/fs.c (working copy)
> @@ -163,7 +163,7 @@
>
> /* Checkpoint any changes. */
> {
> - int db_err = env->txn_checkpoint (env, 0, 0, 0);
> + int db_err = env->txn_checkpoint (env, 8000, 60, 0);
>
> #if SVN_BDB_HAS_DB_INCOMPLETE
> while (db_err == DB_INCOMPLETE)
>
>

I'm in favor of committing this change. I even volunteer to test it.

Without it, my ra_svn tests frequently hang.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 19 21:47:21 2003

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.