From 5fc01cbd8f550ecfac72cde41e61fabe00f7e07c Mon Sep 17 00:00:00 2001 From: Hongqin-Li Date: Wed, 30 Oct 2024 14:44:27 +0000 Subject: [PATCH] Remove get split src tables log when tablet is not splitting --- src/storage/tablet/ob_tablet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/tablet/ob_tablet.cpp b/src/storage/tablet/ob_tablet.cpp index 73bd9e21a..2b7790e09 100644 --- a/src/storage/tablet/ob_tablet.cpp +++ b/src/storage/tablet/ob_tablet.cpp @@ -4108,7 +4108,7 @@ int ObTablet::auto_get_read_tables( } else if (need_split_src_table) { // auto split query if (OB_FAIL(get_split_src_read_table_if_need(snapshot_version, iter, succ_get_split_src_tables))) { LOG_WARN("fail to get src read table.", K(ret), K(*this)); - } else { + } else if (succ_get_split_src_tables) { #ifdef ENABLE_DEBUG_LOG FLOG_INFO("get read tables during tablet splitting",K(ret), K(ls_id), K(tablet_id), K(snapshot_version), K(iter.table_store_iter_.table_ptr_array_), K(succ_get_split_src_tables));