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

Re: Berkeley DB logfile cleanup

From: Michael Price <michael.price_at_acm.org>
Date: 2003-05-31 00:18:39 CEST

cmpilato@collab.net wrote:
> Today I was loading a dumpfile of the svn.collab.net Subversion
> repository into a new repos on my home computer. Periodically, I was,
> in another shell window, running db_archive -a and removing the
> unnecessary logfiles. But at one point in my 'svnadmin load', there
> was a period of several hundred revisions that flew by where
> db_archive -a reported nothing -- that is, it was not safe to remove
> any logfiles -- yet my logfile count grew to about 160 of them on
> disk.
>
> Any ideas what's keeping us from finalizing the log files for such a
> long period of time?

I don't know but I've seen something similar before. I usually just stick a
checkpoint in there (i.e. "db_checkpoint -1 ; db_archive | xargs rm")

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 31 00:16:37 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.