mirror of
https://github.com/ceph/ceph
synced 2025-01-31 23:44:10 +00:00
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 <yehuda@redhat.com>
This commit is contained in:
parent
c56e782aca
commit
492bb60873
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user