From 492bb608733c83a5d85319cf47c4d86402344376 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Wed, 29 Jun 2016 14:50:12 -0700 Subject: [PATCH] rgw: finish error_repo cr in stop_spawned_services() 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 --- src/rgw/rgw_data_sync.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rgw/rgw_data_sync.cc b/src/rgw/rgw_data_sync.cc index 5ebdd4c918640..4f700696c9dae 100644 --- a/src/rgw/rgw_data_sync.cc +++ b/src/rgw/rgw_data_sync.cc @@ -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; } -- 2.39.5