RE: CRCs

Поиск
Список
Период
Сортировка
От Mikheev, Vadim
Тема RE: CRCs
Дата
Msg-id 8F4C99C66D04D4118F580090272A7A234D327D@sectorbase1.sectorbase.com
обсуждение исходный текст
Ответ на CRCs  (ncm@zembu.com (Nathan Myers))
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: CVS updates on committers list...
Следующее
От: Daniele Orlandi
Дата:
Сообщение: Re: CRCs