From: caisan Date: Fri, 26 May 2023 09:17:19 +0000 (+0800) Subject: rgw:multisite hang when update and commit period X-Git-Tag: v19.0.0~828^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=30cbf6691bf2006fae21cb4626b440aec2068659;p=ceph.git 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 --- 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(); }