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

Re: Huh... BDB...?

From: Toby Thain <toby_at_telegraphics.com.au>
Date: Tue, 24 Feb 2009 10:37:21 -0500

On 22-Feb-09, at 2:42 PM, Steinar Bang wrote:

>>>>>> Mark Phippard <markphip_at_gmail.com>:
>
>> It seems unlikely that a Debian upgrade could do this, because the
>> only way to convert a repository is to dump the current repository,
>> create a new one and then load the dump file.
>
> Well, in theory a debian upgrade could have done a dump and load (and
> might have done so to avoid BDB problems. Ie. dump with the old
> version
> and load with the new version). One indication that it could have
> been
> something like that, is that the files and directories in the top
> level
> repo dir have the date of the sarge->etch upgrade.

Clearly it didn't dump and load, and I'd have been shocked if that
were part of an automatic process. It would be overstepping safety
and appropriateness.

The problem seems to be that the BDB library was updated and the
change required manual intervention to upgrade the BDB data in the
repo. Svnadmin recover happens to do that automatically, and IIRC
there is also a way of doing it using BDB utilities.

--Toby

>
> However, as I said, I can not find any mention of anything like
> that in
> the changelogs.
>
> And besides... the svn debian package have no information of the repos
> created in the file systems of the machines on which they are
> installed.
>
> So I'm guessing the culprit here is me, being proactive, and
> dumping the
> repo before the upgrade, and then creating a fresh repo, and loading
> after the upgrade, and not paying attention to the type of repo
> that was
> created... and not remembering it nearly two years afterwards.
>
> Being proactive is so ninties!
>
>> Try running svnadmin recover /path/to/repos
>
>> That should fix the BDB version issue. You can then dump/load if you
>> want to convert the repository.
>
> Yep, I found out with a little more googling.
>
> Thanx!
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?
> dsForumId=1065&dsMessageId=1210629
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1221159

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-24 16:38:36 CET

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