bdb 4.2->4.3 upgrade

Max Bowsher maxb1 at ukf.net
Sat Nov 26 22:24:09 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Florian Weimer wrote:
> * 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.

Do you have a reference for this?

http://www.sleepycat.com/docs/ref/upgrade/process.html
did not mention a checkpoint at all in the 4.3 era.
Now, it is stating that you must checkpoint as the first thing you do
with the _new_ bdb version.


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

'svnlook youngest' does the job quite well.

Max.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)

iD8DBQFDiOCIfFNSmcDyxYARAl6bAKCNtqzQ2FCFWGoo59z36Busr16xpgCfb3uc
dDM6YnyCLZyGo/z87nfXrgs=
=++Ub
-----END PGP SIGNATURE-----



More information about the pkg-subversion-maintainers mailing list