On Tue, 2009-12-01 at 07:58 -0500, Bruce Momjian wrote:
> bruce wrote:
> > What might be interesting is to report CRC mismatches if the database
> > was shut down cleanly previously; I think in those cases we shouldn't
> > have torn pages.
> Sorry, stupid idea on my part. We don't WAL log hit bit changes so
> there is no guarantee the page is in WAL on recovery.
I thought it was a reasonable idea. We would need to re-check CRCs after
a crash and zero any that mismatched. Then we can start checking them
again as we run.
In any case, it seems strange to do nothing to protect the database in
normal running just because there is one type of problem that occurs
when we crash.
Simon Riggs www.2ndQuadrant.com
In response to
pgsql-hackers by date
|Next:||From: Andrew Dunstan||Date: 2009-12-01 13:27:33|
|Subject: Re: CommitFest status/management|
|Previous:||From: Simon Riggs||Date: 2009-12-01 13:08:17|
|Subject: Re: Block-level CRC checks|