[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: Branko Čibej <brane_at_xbc.nu>
Date: 2005-11-26 18:54:52 CET

Max Bowsher wrote:
>>> 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?
> Desirable to save disc space, yes, but they shouldn't impede the
> upgrade... should they?
>
IIRC that's what the BDB docs say. "Ours not to reason why," especially
where BDB is concerned. :)

>> This looks like a dangerous thing to do, because one of the still-active
>> processes might want to create a new log file and would fail miserably
>> in the middle of a transaction.
>>
>
> I would hope that in this circumstance, BDB would simply set the panic
> flag in the environment, causing all processes to stop using it ASAP.
>
> Then, the panic and unfinished transactions would be cleaned up by
> recovery run below.
>
> I can't point to any specific documentation that states the above is
> true, but for a enterprise-class database product to corrupt data due to
> a temporary failure to create a file would be a bit ridiculous.
>
Certainly. However, since the BDB docs don't explicitly recommend this,
I'd be reluctant to write upgrade instructions like that.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 26 18:55:37 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.