]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: finish error_repo cr in stop_spawned_services()
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 29 Jun 2016 21:50:12 +0000 (14:50 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 29 Jun 2016 21:50:12 +0000 (14:50 -0700)
Fixes: http://tracker.ceph.com/issues/16530
Need to call finish, otherwise drain_all() wouldn't be able to
drain it.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_data_sync.cc

index 5ebdd4c918640c323ee99fe210d7fede62548528..4f700696c9dae15d85cd607890f8c609de715206 100644 (file)
@@ -1267,6 +1267,7 @@ public:
   void stop_spawned_services() {
     lease_cr->go_down();
     if (error_repo) {
+      error_repo->finish();
       error_repo->put();
       error_repo = NULL;
     }