]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw:multisite hang when update and commit period 51772/head
authorcaisan <caisan.cs@gmail.com>
Fri, 26 May 2023 09:17:19 +0000 (17:17 +0800)
committercaisan <caisan.cs@gmail.com>
Fri, 26 May 2023 09:27:58 +0000 (17:27 +0800)
Performing period update and commit will hang http_manager thread,
because that http_manager not invoke stop().

Signed-off-by: caisan <caisan.cs@gmail.com>
src/rgw/driver/rados/rgw_data_sync.cc

index 651aa811eb5e8ef3b6119942da1629cbf528aba5..ef3f7f7bf54eca91323fe20803c51db68a7b9c11 100644 (file)
@@ -714,6 +714,7 @@ int RGWRemoteDataLog::init(const rgw_zone_id& _source_zone, RGWRESTConn *_conn,
 
 void RGWRemoteDataLog::finish()
 {
+  http_manager.stop();
   stop();
 }