Re: xlog checkpoint depends on sync() ... seems unsafe

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: xlog checkpoint depends on sync() ... seems unsafe
Date: 2001-03-13 04:48:53
Message-ID: 18005.984458933@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM> writes:
> Maybe now, with two checkpoints in log, we should start redo from
> oldest one? This will increase recovery time of course -:(

Yeah, and it doesn't even solve the problem: consider a crash just
after we've written a shutdown checkpoint record. On restart,
we won't think we need to redo anything at all.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dominic J. Eidson 2001-03-13 04:57:21 Re: RE: xlog checkpoint depends on sync() ... seems unsafe
Previous Message Mikheev, Vadim 2001-03-13 04:45:27 RE: xlog checkpoint depends on sync() ... seems unsafe