[Pkg-torrus-maintainers] Bug#476356: Bug#476356: After upgrade torrus fails with DB_VERSION_MISMATCH
Marc Haber
mh+debian-packages at zugschlus.de
Sat May 24 08:25:16 UTC 2008
On Sat, May 24, 2008 at 07:31:45AM +0200, Joerg Dorchain wrote:
> On Fri, May 23, 2008 at 04:41:31PM +0200, Marc Haber wrote:
> >
> > On Fri, May 23, 2008 at 04:00:33PM +0200, Joerg Dorchain wrote:
> > > I wrote a mini-version of db_recover in perl. Find it as an attachment.
> >
> > Great. I would feel more comfortable though, if we'd only do the
> > recover if really necessary, such as in:
>
> [...]
> > Is this approach flawed?
>
> Takes roughly twice the time.
But only if recover is really needed which is the rare exception.
What are we talking about, tens of seconds?
> Just set the recover flag, as the underlying BerkleyDB function does
> the check whether any action is necessary itself and in the normal case
> returns very fast.
So it never does an unnecessary recover?
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
More information about the Pkg-torrus-maintainers
mailing list