!4987 【bugfix】修复上一轮按需回放后,主机startup线程卡在RequestCheckpoint的问题

Merge pull request !4987 from 周聪/bugfix_redo_kazhule
This commit is contained in:
opengauss_bot
2024-03-19 01:43:11 +00:00
committed by Gitee

View File

@ -9967,6 +9967,8 @@ void StartupXLOG(void)
if (ArchiveRecoveryByPending) {
RecoveryByPending = true;
}
} else if (!SSOndemandRecoveryExitNormal) {
t_thrd.xlog_cxt.InRecovery = true;
}
if (SS_STANDBY_MODE && t_thrd.xlog_cxt.InRecovery == true && SS_ONDEMAND_REALTIME_BUILD_DISABLED) {