| От | Yeb Havinga |
|---|---|
| Тема | Re: quorum commit Re: Synchronous replication |
| Дата | |
| Msg-id | 4C4D5607.4020708@gmail.com обсуждение исходный текст |
| Ответ на | quorum commit Re: Synchronous replication (Fujii Masao <masao.fujii@gmail.com>) |
| Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера