12 мая 2014 г., в 22:26, Adrian Klaver <adrian.klaver@xxxxxxxxxxx> написал(а): On 05/12/2014 09:42 AM, Borodin Vladimir wrote:Hi all. Actually no. I have such settings: wal_sender_timeout = 3s wal_receiver_status_interval = 1s synchronous_standby_names = ‘*’ When the sync replica dies or the network between master and sync replica flaps, 3 seconds must pass before the potential replica becomes sync and transaction commits continue. Instead postgresql could wait for confirm from first or second replica hosts (doesn’t matter which of them answers first), couldn’t it? In this case transaction commits will not stuck for wal_sender_timeout.
|