Re: Fwd: index corruption in PG 8.3.13

Поиск
Список
Период
Сортировка
От Nikhil Sontakke
Тема Re: Fwd: index corruption in PG 8.3.13
Дата
Msg-id AANLkTinEbdMUrNoc+_hw7GNdLNDTtx5sVPS2wAgdzqVj@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fwd: index corruption in PG 8.3.13  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hi,

> Of course, as you mentioned earlier, it's not impossible
> there's a bug in the recovery code.

Yeah, I was looking at the repair_frag function in 8.3.13 (yup it's
ugly!) and found out that the normal ExecInsertIndexTuples call is
used to insert the index entries. That is standard index code used
everywhere. So btree WAL bugs in this code path should be pretty rare
I would think..

> But if an OS crash is involved,
> another possibility is that something went wrong with the fsync -
> maybe there's a lying writeback cache between PG and the platter, for
> example.
>

Yup, plan to re-confirm this too.

Thanks Robert!

Regards,
Nikhils


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: How should the waiting backends behave in sync rep?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Fwd: index corruption in PG 8.3.13