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

Re: bdb 4.2->4.3 upgrade

From: Florian Weimer <fw_at_deneb.enyo.de>
Date: 2005-11-26 21:58:25 CET

* Max Bowsher:

> Branko Čibej wrote:
>> Peter Samuelson wrote:
>>
>>> I'm having trouble finding anyone who knows enough about Berkeley DB to
>>> give me solid answers here,
>
> The instructions in the official BDB docs for going 4.2 -> 4.3 may be
> summarized as:
>
> db4.2_recover
> Make complete backup
> Open database normally with 4.3 code.

You should perform a checkpoint before the recover, but otherwise,
it's fine.

>>> so I've got a couple of questions: (1) The
>>> README attached below - does it seem accurate and safe? (2a) Is the
>>> part about deleting log files (taken from faq.html) necessary,
>>
>> Yes.
>
> Question for Branko: Why should deleting unused logfiles be necessary?

4.3 has a bug which causes it to choke on old-format log files when
DB_RECOVER is also specified. This means that my favorite
instructions won't work. Invoking any 4.3 application that opens the
environment with DB_CREATE (but without DB_RECOVER) and writes
something to the log should fix things. Maybe some svnadmin command
can achieve that?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 26 21:59:30 2005

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.