RE: CRCs

From: "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: CRCs
Date: 2001-01-13 00:55:08
Message-ID: 8F4C99C66D04D4118F580090272A7A234D327D@sectorbase1.sectorbase.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > If log record was not really flushed on disk in 3. but
> > on-disk image of index block was updated in 4. and system
> > crashed after this then after restart recovery you'll have
> > unlawful index tuple pointing to where? Who knows!
> > No guarantee that corresponding heap tuple was flushed on
> > disk.
>
> This example doesn't seem very convincing. Wouldn't the XLOG entry
> describing creation of the heap tuple appear in the log before the one
> for the index tuple? Or are you assuming that both these XLOG entries
> are lost due to disk drive malfeasance?

Yes, that was assumed.
When UNDO will be implemented and uncomitted tuples will be removed by
rollback part of after crash recovery we'll get corrupted database without
that assumption.

Vadim

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2001-01-13 00:56:19 Re: CVS updates on committers list...
Previous Message Tom Lane 2001-01-13 00:48:39 Re: CRCs