]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librados/RadosClient: stop client's finisher in a more graceful way 7519/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 4 Feb 2016 08:22:56 +0000 (16:22 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 4 Feb 2016 08:24:16 +0000 (16:24 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/librados/RadosClient.cc

index 09dd64a36acc25e218c94f3d6fffe319d682020c..a77f7719895df0f26b8be5c7d9a94bb6b67ad1f7 100644 (file)
@@ -333,6 +333,7 @@ void librados::RadosClient::shutdown()
     return;
   }
   if (state == CONNECTED) {
+    finisher.wait_for_empty();
     finisher.stop();
   }
   bool need_objecter = false;