Re: corrupt pages detected by enabling checksums

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: corrupt pages detected by enabling checksums
Дата
Msg-id 29311.1365036351@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: corrupt pages detected by enabling checksums  (andres@anarazel.de (Andres Freund))
Ответы Re: corrupt pages detected by enabling checksums
Список pgsql-hackers
andres@anarazel.de (Andres Freund) writes:
> Looking at the page lsn's with dd I noticed something peculiar:

> page 0:
> 01 00 00 00 18 c2 00 31 => 1/3100C218
> page 1:
> 01 00 00 00 80 44 01 31 => 1/31014480
> page 10:
> 01 00 00 00 60 ce 05 31 => 1/3105ce60
> page 43:
> 01 00 00 00 58 7a 16 31 => 1/31167a58
> page 44:
> 01 00 00 00 f0 99 16 31 => 1/311699f0
> page 45:
> 00 00 00 00 00 00 00 00 => 0/0
> page 90:
> 01 00 00 00 90 17 1d 32 => 1/321d1790
> page 91:
> 01 00 00 00 38 ef 1b 32 => 1/321bef38

> So we have written out pages that are after pages without a LSN that
> have an LSN thats *beyond* the point XLOG has successfully been written
> to disk (1/31169A38)?

If you're looking into the FPIs, those would contain the page's older
LSN, not the one assigned by the current WAL record.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Page replacement algorithm in buffer cache
Следующее
От: Andres Freund
Дата:
Сообщение: Re: corrupt pages detected by enabling checksums