修复issue--配置非异步备库且使用全量检查点,主库gs_ctl stop失败

This commit is contained in:
zhaobingyu
2022-07-06 20:17:14 +08:00
parent 5c0ac944d9
commit b2fcd290b3

View File

@ -467,6 +467,7 @@ static void bgwriter_request_shutdown_handler(SIGNAL_ARGS)
int save_errno = errno;
t_thrd.bgwriter_cxt.shutdown_requested = true;
t_thrd.int_cxt.ProcDiePending = true;
if (t_thrd.proc)
SetLatch(&t_thrd.proc->procLatch);