Re: Start Walreceiver completely before shut down it on standby server.

2019-12-11 Thread jiankang liu
rt standby server. So, we can fix the problem online and the walreceiver will not be lost. Kyotaro Horiguchi 于2019年12月11日周三 下午1:38写道: > At Tue, 10 Dec 2019 10:40:53 -0800, Ashwin Agrawal > wrote in > > On Tue, Dec 10, 2019 at 3:06 AM jiankang liu > wrote: > > > &

Start Walreceiver completely before shut down it on standby server.

2019-12-10 Thread jiankang liu
Start Walreceiver completely before shut down it on standby server. The walreceiver will be shut down, when read an invalid record in the WAL streaming from master.And then, we retry from archive/pg_wal again. After that, we start walreceiver in RequestXLogStreaming(), and read record from the WA