DDL replay skip write SS if not in restoring

This commit is contained in:
LoLolobster
2024-12-02 22:16:36 +00:00
committed by ob-robot
parent d331c276ba
commit b015823f67

View File

@ -500,6 +500,7 @@ int ObDDLRedoReplayExecutor::do_full_replay_(
redo_info.parallel_cnt_,
redo_info.cg_cnt_))) {
LOG_WARN("failed to write tablet gc flag file", K(ret));
} else if (MTL_TENANT_ROLE_CACHE_IS_PRIMARY()) {
} else if (OB_FAIL(write_ss_block(write_info, macro_handle))) {
LOG_WARN("failed to write shared storage block", K(ret));
}