From b015823f6789769f938d1fe90a981beaf6c3377c Mon Sep 17 00:00:00 2001 From: LoLolobster <949673574@qq.com> Date: Mon, 2 Dec 2024 22:16:36 +0000 Subject: [PATCH] DDL replay skip write SS if not in restoring --- src/storage/ddl/ob_ddl_replay_executor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/storage/ddl/ob_ddl_replay_executor.cpp b/src/storage/ddl/ob_ddl_replay_executor.cpp index 2e67205d8a..69076b142b 100644 --- a/src/storage/ddl/ob_ddl_replay_executor.cpp +++ b/src/storage/ddl/ob_ddl_replay_executor.cpp @@ -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)); }