Re:Re: [BUG] standby node can not provide service even it replays all log files

2019-10-24 Thread Thunder
Thanks for replay.I feel confused about snapshot. At 2019-10-23 11:51:19, "Kyotaro Horiguchi" wrote: >Hello. > >At Tue, 22 Oct 2019 20:42:21 +0800 (CST), Thunder wrote in >> Update the patch. >> >> 1. The STANDBY_SNAPSHOT_PENDING state is set when we replay the first >> XLOG_RUNNING_XACTS an

Re:Re: [BUG] standby node can not provide service even it replays all log files

2019-10-22 Thread Thunder
Update the patch. 1. The STANDBY_SNAPSHOT_PENDING state is set when we replay the first XLOG_RUNNING_XACTS and the sub transaction ids are overflow. 2. When we log XLOG_RUNNING_XACTS in master node, can we assume that all xact IDS < oldestRunningXid are considered finished? 3. If we can assume t