From 0132b269f7e0d894de15a7ffb4eab654afa29a70 Mon Sep 17 00:00:00 2001 From: maosy <630014370@qq.com> Date: Thu, 19 Oct 2023 07:43:10 +0000 Subject: [PATCH] [CP] fix ls in waitoffline can not modify unit group id --- src/rootserver/ob_ls_service_helper.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/rootserver/ob_ls_service_helper.cpp b/src/rootserver/ob_ls_service_helper.cpp index 2774c0632..63895837a 100755 --- a/src/rootserver/ob_ls_service_helper.cpp +++ b/src/rootserver/ob_ls_service_helper.cpp @@ -1143,9 +1143,7 @@ int ObTenantLSInfo::gather_all_ls_info_() } else { for (int64_t i = 0; OB_SUCC(ret) && i < status_info_array.count(); ++i) { const share::ObLSStatusInfo &info = status_info_array.at(i); - if (info.ls_is_wait_offline()) { - //ls is already offline, no need to process - } else if (OB_FAIL(add_ls_status_info_(info))) { + if (OB_FAIL(add_ls_status_info_(info))) { LOG_WARN("failed to add ls status info", KR(ret), K(i), K(info)); } }// end for