[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: back-bdb DB_RECOVER and soft restart



On Tue, 2003-09-16 at 02:01, Matthew Hardin wrote:

Why make it so complicated?

http://www.sleepycat.com/docs/ref/transapp/app.html

The easy way:

It greatly simplifies matters that recovery may be performed regardless
of whether recovery strictly needs to be performed; that is, it is not
an error to run recovery on a database for which no recovery is
necessary. Because of this fact, it is almost invariably simpler to
ignore the previous rules about shutting an application down cleanly,
and simply run recovery each time a thread of control accessing a
database environment fails for any reason, as well as before accessing
any database environment after system reboot.

Why choose the "hard way"? 

Lars