bdb 4.2->4.3 upgrade

Florian Weimer fw at deneb.enyo.de
Sat Nov 26 20:58:25 UTC 2005


* 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?



More information about the pkg-subversion-maintainers mailing list