[Pkg-db-devel] hangs on corrupted db file
Florian Weimer
fw at deneb.enyo.de
Mon Nov 14 21:51:34 UTC 2005
* Adrian von Bidder:
> It's a case of db4.3 apparently hanging on corrupted database files, despite
> DB_RECOVER being used on open. Is this a known bug? Unfortunately, the
> bug report doesn't (yet) state what db version and if the bug is
> reproducable.
postgrey seems to use proper locking and DB_RECOVERY, so it *should*
work. But postgrey disables durable transactions:
my $setflags = DB_TXN_NOSYNC;
On some file systems, this adversely impacts the consistency after
system crashes. It would be interesting to know what happens if the
line is changed to:
my $setflags = 0;
(BTW, the submitter isn't Cc:ed, is this correct?)
More information about the Pkg-db-devel
mailing list