From 30cbf6691bf2006fae21cb4626b440aec2068659 Mon Sep 17 00:00:00 2001 From: caisan Date: Fri, 26 May 2023 17:17:19 +0800 Subject: [PATCH] rgw:multisite hang when update and commit period Performing period update and commit will hang http_manager thread, because that http_manager not invoke stop(). Signed-off-by: caisan --- src/rgw/driver/rados/rgw_data_sync.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rgw/driver/rados/rgw_data_sync.cc b/src/rgw/driver/rados/rgw_data_sync.cc index 651aa811eb5e..ef3f7f7bf54e 100644 --- a/src/rgw/driver/rados/rgw_data_sync.cc +++ b/src/rgw/driver/rados/rgw_data_sync.cc @@ -714,6 +714,7 @@ int RGWRemoteDataLog::init(const rgw_zone_id& _source_zone, RGWRESTConn *_conn, void RGWRemoteDataLog::finish() { + http_manager.stop(); stop(); } -- 2.47.3