Fujii Masao wrote:
> In the following case, how should quorum commit behave?
> 1. quorum_standbys = 2; there are three connected synchronous standbys
> 2. One standby sends the ACK back and fails
> 3. The ACK arrives from another standby
> 4. How should quorum commit behave?
> (a) Transaction commit returns a "success" since the master has already
> received two ACKs
> (b) Transaction commit waits for the "last" ACK since only one of
> currently connected standbys has sent the ACK
I'd opt for option (b) if that doesn't make the code very complex, or
expensive (to check connected state when reaching quorum).
In response to
pgsql-hackers by date
|Next:||From: Yeb Havinga||Date: 2010-07-26 09:36:19|
|Subject: Re: Synchronous replication|
|Previous:||From: Fujii Masao||Date: 2010-07-26 08:58:34|
|Subject: quorum commit Re: Synchronous replication|