Re: Synchronization levels in SR

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Synchronization levels in SR
Дата
Msg-id AANLkTinL5dKBuVosD35QktA_0ylmxsZUGQxDjXe62mR5@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Synchronization levels in SR  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Synchronization levels in SR  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Thu, May 27, 2010 at 9:48 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> There could still be additional transactions that the original master
> has committed locally but were not acked to the client.  I guess you'd
> just work around that by taking a new base backup from the new master.

Right.

Unfortunately the transaction aborted for a client might have already
been committed in the standby. In this case, we might need to eliminate
the mismatch of transaction status between a client and new master
after failover.

BTW, the similar situation might happen even when only one server is
running. If the server goes down before returning a "success" to a
client after flushing the commit record, the mismatch would happen
after restart of the server.

Regards,

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


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pg_trgm
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: primary/secondary/master/slave/standby