Re: Sync Rep: First Thoughts on Code
От | Peter Eisentraut |
---|---|
Тема | Re: Sync Rep: First Thoughts on Code |
Дата | |
Msg-id | 494626F9.7040500@gmx.net обсуждение исходный текст |
Ответ на | Re: Sync Rep: First Thoughts on Code (Simon Riggs <simon@2ndQuadrant.com>) |
Ответы |
Re: Sync Rep: First Thoughts on Code
|
Список | pgsql-hackers |
Simon Riggs wrote: > I am truly lost to understand why the *name* "synchronous replication" > causes so much discussion, yet nobody has discussed what they would > actually like the software to *do* It's the color of the bikeshed ... > We can make the reply to a commit message when any of the following > events have occurred > > 1. We sent the message to standby > 2. We received the message on standby > 3. We wrote the WAL to the WAL file > 4. We fsync'd the WAL file > 5. We CRC checked the WAL commit record > 6. We applied the WAL commit record In DRBD tradition, I suggest you implement all of them, or at least factor the code so that each of them can be a one line change. (We can probably later drop one or two options.)
В списке pgsql-hackers по дате отправления: