New trigger option of pg_standby

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема New trigger option of pg_standby
Дата
Msg-id 3f0b79eb0903242329j12865d55s348f5c873a956e71@mail.gmail.com
обсуждение исходный текст
Ответы Re: New trigger option of pg_standby
Список pgsql-hackers
Hi,

Current pg_standby is dangerous because the presence of the trigger
file causes recovery to end whether or not the next WAL file is available.
So, some *available* transactions may be lost at failover. Such danger
will become high if the standby server has not caught up with the primary.

Attached patch fixes the above problem by adding a new trigger option
to pg_standby; the presence of this new trigger file causes recovery to
end after replaying all the available WAL files. Specifically, pg_standby
acts like 'cp' or 'ln' command while this new trigger file exists.

I've not changed any existing features, so backward-compatibility is
maintained.

Thought?

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Вложения

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: improving concurrent transactin commit rate
Следующее
От: Guillaume Smet
Дата:
Сообщение: Re: New trigger option of pg_standby