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).

regards,
Yeb Havinga


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to