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

Re: BDB corruption on every unclean shutdown



On Tue, 13 Jan 2004 14:42:39 -0800
"Howard Chu" <hyc@highlandsun.com> wrote:

> In short, yes. By default, BDB locks are recorded in filesystem files.
> If they are not unlocked cleanly, they remain in the BDB environment
> unless forcibly removed (using db_recover.) slapd has deadlock
> detection but that only works when all the locks in the environment
> actually have threads/processes still associated. If a lock is
> leftover from a crash, the lock detector doesn't know how to resolve
> the situation.
And that, along with the "always recover" rule of thumb, is the answer
I've been looking for. Thanks!

-- 
MS