> 25 дек. 2019 г., в 15:28, Maksim Milyutin <milyuti...@gmail.com> написал(а): > >> Synchronous replication >> does not guarantee that a committed write is actually on any replica, >> but it does in general guarantee that a commit has been replicated >> before sending a response to the client. That's arguably more >> important because the rest of what the application might depend on the >> transaction completing and replicating successfully. I don't know of >> cases other than cancellation in which a response is sent to the >> client without replication when synchronous replication is enabled. > > > Yes, at query canceling (e.g. by timeout from client driver) client receives > response about completed transaction (though with warning which not all > client drivers can handle properly) and the guarantee about successfully > replicated transaction *violates*. We obviously need a design discussion here to address the issue. But the immediate question is should we add this topic to January CF items? Best regards, Andrey Borodin.
- Disallow cancellation of waiting for synchronous replicati... Andrey Borodin
- Re: Disallow cancellation of waiting for synchronous ... Marco Slot
- Re: Disallow cancellation of waiting for synchron... Andrey Borodin
- Re: Disallow cancellation of waiting for sync... Michael Paquier
- Re: Disallow cancellation of waiting for sync... Marco Slot
- Re: Disallow cancellation of waiting for ... Andrey Borodin
- Re: Disallow cancellation of waiting for ... Maksim Milyutin
- Re: Disallow cancellation of waiting... Andrey Borodin
- Re: Disallow cancellation of wai... Maksim Milyutin
- Re: Disallow cancellation of waiting... Marco Slot
- Re: Disallow cancellation of wai... Maksim Milyutin
- Re: Disallow cancellation of waiting for synchronous ... Tom Lane
- Re: Disallow cancellation of waiting for synchron... Maksim Milyutin
- Re: Disallow cancellation of waiting for synchronous ... Robert Haas
- Re: Disallow cancellation of waiting for synchron... Maksim Milyutin
- Re: Disallow cancellation of waiting for sync... Robert Haas
- Re: Disallow cancellation of waiting for ... Andrey Borodin
- Re: Disallow cancellation of waiting... Robert Haas