pgsql: Better fix for "unarchived WAL files get deleted on crash recove

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Better fix for "unarchived WAL files get deleted on crash recove
Дата
Msg-id E1U6PGl-0004h2-Qt@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Better fix for "unarchived WAL files get deleted on crash recovery" bug.

Revert my earlier fix for the bug that unarchived WAL files get deleted on
crash recovery, commit c9cc7e05c6d82a9781883a016c70d95aa4923122. We create
a .done file for files streamed or restored from archive, so the WAL file
recycling logic used during normal operation works just as well during
archive recovery.

Per Fujii Masao's suggestion.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1bd42cd70abdbc946ad64c3c8eaefed4bb8b1145

Modified Files
--------------
src/backend/access/transam/xlog.c |   30 +-----------------------------
1 files changed, 1 insertions(+), 29 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Force archive_status of .done for xlogs created by dearchival/re
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Better fix for "unarchived WAL files get deleted on crash recove