解决双集群备集群切换checkpoint问题

This commit is contained in:
chenzhikai
2023-10-11 10:54:56 +08:00
parent 23a626dad0
commit b5b310b82b

View File

@ -543,7 +543,7 @@ void CheckpointerMain(void)
} else {
CheckPointBuffers(flags, true);
}
} else if (!do_restartpoint && !SS_REPLICATION_MAIN_STANBY_NODE) {
} else if (!do_restartpoint && !SS_REPLICATION_STANDBY_CLUSTER) {
CreateCheckPoint(flags);
ckpt_performed = true;
if (!bgwriter_first_startup && CheckFpwBeforeFirstCkpt()) {