Re: Operating of synchronous master when no standby is available

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: Operating of synchronous master when no standby is available
Дата
Msg-id 78ff6888-006e-cdba-8d77-9d6b5678fab2@a-kretschmer.de
обсуждение исходный текст
Ответ на Operating of synchronous master when no standby is available  (Sergey Cherukhin <sergey.cherukhin@gmail.com>)
Список pgsql-general

Am 02.10.23 um 10:54 schrieb Sergey Cherukhin:
> Hello!
>
> I use Postgresql+Pacemaker+Corosync cluster with 2 Postgresql 
> instances in synchronous replication mode. When one of the nodes is 
> down, clients hang on INSERT operations because the primary server 
> waits until standby confirms that it got the data, but the standby 
> node is down.
>
> I need clients to feel no difference when they operate with a fully 
> operational cluster or with a degraded cluster containing primary 
> node alone.
>
> Is it possible to configure synchronous replication to operate 
> normally when primary and replica are online, but primary no waits 
> confirmation from replica if replica is not connected?

yes, with 3 or more sync. standbys.


Andreas

-- 
Andreas Kretschmer
Technical Account Manager (TAM)
www.enterprisedb.com




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

Предыдущее
От: Sergey Cherukhin
Дата:
Сообщение: Operating of synchronous master when no standby is available
Следующее
От: Matthias Apitz
Дата:
Сообщение: How to investigate deadlocks