PATCH: track last known XLOG segment in control file

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема PATCH: track last known XLOG segment in control file
Дата
Msg-id 566C8E25.2060706@2ndquadrant.com
обсуждение исходный текст
Ответы Re: PATCH: track last known XLOG segment in control file  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi,

this is the second improvement proposed in the thread [1] about ext4
data loss issue. It adds another field to control file, tracking the
last known WAL segment. This does not eliminate the data loss, just the
silent part of it when the last segment gets lost (due to forgetting the
rename, deleting it by mistake or whatever). The patch makes sure the
cluster refuses to start if that happens.

[1] http://www.postgresql.org/message-id/56583BDD.9060302@2ndquadrant.com

It's a fairly simple patch, but obviously it touches very complex part
of the code. I'll add it to 2016-01 CF.


regards

--
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Andreas Seltenreich
Дата:
Сообщение: Re: [sqlsmith] Failed to generate plan on lateral subqueries
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Handle policies during DROP OWNED BY