On 2020/11/13 2:58, Soumyadeep Chakraborty wrote:
Thanks! Marking this as ready for committer.
Pushed. Thanks!
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
Thanks! Marking this as ready for committer.
Regards,
Soumyadeep (VMware)
On 2020/11/04 9:35, Soumyadeep Chakraborty wrote:
Hello Fujii,
On Thu, Sep 17, 2020 at 6:49 AM Fujii Masao wrote:
As far as I understand after debugging, the problem is as follows:
Yes.
1. After the primary is stopped, and the standby startup process is
waiting inside:
(void)
Hello Fujii,
On Thu, Sep 17, 2020 at 6:49 AM Fujii Masao wrote:
As far as I understand after debugging, the problem is as follows:
1. After the primary is stopped, and the standby startup process is
waiting inside:
(void) WaitLatch(>recoveryWakeupLatch,
WL_LATCH_SET | WL_TIMEOUT |
, HandleStartupProcInterrupts() is called and the shutdown request
is processed.
So waiting at #3 for recoveryWakeupLatch caused the delay of
the standby shutdown.
To avoid this issue, I think that ReadRecord() should call
HandleStartupProcInterrupts() whenever looping back to retry.
Patch