On Mon, May 24, 2010 at 10:20 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> At the first design phase, I'd like to clarify which synch levels
> should be supported 9.1 and how it should be specified by users.
There is another question about synch level:
When should the master wait for replication?
In my current design, the backend waits for replication only at
the end of the transaction commit. Is this enough? Is there other
waiting point?
For example, smart or fast shutdown on the master should wait
for a shutdown checkpoint record to be replicated to the standby
(btw, in 9.0, shutdown waits for checkpoint record to be *sent*)?
pg_switch_xlog() needs to wait for all of original WAL file to
be replicated?
I'm not sure if the above two "waits-for-replication" have use
cases, so I'm thinking they are not worth implementing, but..
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center