[spambayes-dev] A new and altogether different bsddb breakage
Barry Warsaw
barry at python.org
Thu Dec 18 10:29:32 EST 2003
On Thu, 2003-12-18 at 10:21, Tim Peters wrote:
> [Barry]
> > ...
> > In all the BDB apps I've written, I always pass the DB_RECOVER flag to
> > the open call. Except for coordinating the above, it's harmless if
> > recovery doesn't need to happen.
>
> OTOH, don't you also do some *seemingly* senseless dance (revealed to you by
> a SleepyCat guy) involving back-to-back checkpoints so that the next
> harmless recovery doesn't take forever not to do any harm <wink>?
That's why the Sleepycat guy told me to checkpoint occasionally (the BDB
storages do that in a thread), /and/ to force a checkpoint twice before
closing the database. I'm sure the latter is mostly voodoo, but our
faith gives us the strength of conviction.
-Barry
More information about the spambayes-dev
mailing list