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:
Yehuda Sadeh 2016-06-29 14:50:12 -07:00
parent c56e782aca
commit 492bb60873

View 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;
}