Re: Operating of synchronous master when no standby is available - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: Operating of synchronous master when no standby is available
Date
Msg-id 78ff6888-006e-cdba-8d77-9d6b5678fab2@a-kretschmer.de
Whole thread Raw
In response to Operating of synchronous master when no standby is available  (Sergey Cherukhin <sergey.cherukhin@gmail.com>)
List 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 by date:

Previous
From: Sergey Cherukhin
Date:
Subject: Operating of synchronous master when no standby is available
Next
From: Matthias Apitz
Date:
Subject: How to investigate deadlocks