Re: Synchronous Standalone Master Redoux

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Synchronous Standalone Master Redoux
Дата
Msg-id 4FFDC266.1040304@agliodbs.com
обсуждение исходный текст
Ответ на Re: Synchronous Standalone Master Redoux  (Shaun Thomas <sthomas@optionshouse.com>)
Список pgsql-hackers
On 7/11/12 6:41 AM, Shaun Thomas wrote:
> Which would be handy. With synchronous commits, it's given that the
> protocol is bi-directional. Then again, PG can detect when clients
> disconnect the instant they do so, and having such an event implicitly
> disable synchronous_standby_names until reconnect would be an easy fix.
> The database already keeps transaction logs, so replaying would still
> happen on re-attach. It could easily throw a warning for every
> sync-required commit so long as it's in "degraded" mode. Those alone are
> very small changes that don't really harm the intent of sync commit.

So your suggestion is to have a switch "allow degraded", where if the
sync standby doesn't respond within a certain threshold, will switch to
async with a warning for each transaction which asks for sync?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Support for array_remove and array_replace functions
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Synchronous Standalone Master Redoux