From e9bec81a968930d98261b51efabf601b7dfa450e Mon Sep 17 00:00:00 2001 From: BinChenn Date: Wed, 15 Mar 2023 07:43:47 +0000 Subject: [PATCH] [Arb] fix ObNetKeepalive stops too late --- src/observer/ob_server.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/observer/ob_server.cpp b/src/observer/ob_server.cpp index aa97b6cb74..4c5c6764c4 100644 --- a/src/observer/ob_server.cpp +++ b/src/observer/ob_server.cpp @@ -971,6 +971,10 @@ int ObServer::stop() TG_STOP(lib::TGDefIDs::Blacklist); FLOG_INFO("server blacklist stopped"); + FLOG_INFO("begin to stop ObNetKeepAlive"); + ObNetKeepAlive::get_instance().stop(); + FLOG_INFO("ObNetKeepAlive stopped"); + FLOG_INFO("begin to stop GDS"); GDS.stop(); FLOG_INFO("GDS stopped");