Re: write ahead logging in standby (streaming replication)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: write ahead logging in standby (streaming replication)
Дата
Msg-id 14163.1257995016@sss.pgh.pa.us
обсуждение исходный текст
Ответ на write ahead logging in standby (streaming replication)  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: write ahead logging in standby (streaming replication)
Список pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> Should the standby also have to follow the WAL rule during recovery?
> The current patch doesn't care about the write order of the data page
> and WAL in the standby. So, after both servers fail, restarting the
> ex-standby by itself might corrupt the data.

Surely the receiver should fsync the WAL itself to disk before
acknowledging it.  Assuming you've done that, I don't see any
corruption risk.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: next CommitFest
Следующее
От: A.M.
Дата:
Сообщение: Re: Listen / Notify rewrite