[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: Max Bowsher <maxb1_at_ukf.net>
Date: 2005-11-26 23:24:09 CET

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 26 23:25:19 2005

This is an archived mail posted to the Subversion Dev mailing list.