Re: pgsql: Recursively fsync() the data directory after a crash.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pgsql: Recursively fsync() the data directory after a crash.
Дата
Msg-id 555943FB.8090703@gmx.net
обсуждение исходный текст
Ответ на pgsql: Recursively fsync() the data directory after a crash.  (Robert Haas <rhaas@postgresql.org>)
Ответы Re: pgsql: Recursively fsync() the data directory after a crash.  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-committers
On 5/4/15 2:23 PM, Robert Haas wrote:
> Recursively fsync() the data directory after a crash.
>
> Otherwise, if there's another crash, some writes from after the first
> crash might make it to disk while writes from before the crash fail
> to make it to disk.  This could lead to data corruption.

If there a reason why in pre_sync_fname(), the error message does not
contain a %m?



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix failure to copy IndexScan.indexorderbyops in copyfuncs.c.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Fix typos