]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: move services shutdown around
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 16 Oct 2018 14:15:49 +0000 (07:15 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 8 Nov 2018 17:19:29 +0000 (09:19 -0800)
fixes ordering

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

index d82398ea280f9c569ef3e9f8fdf1d8cdf67c23b2..3f743eac40e0b78f41ed695fa31719870f89297c 100644 (file)
@@ -1352,6 +1352,9 @@ void RGWRados::finalize()
   if (cr_registry) {
     cr_registry->put();
   }
+
+  svc.shutdown();
+
   delete meta_mgr;
   delete binfo_cache;
   delete obj_tombstone_cache;
@@ -1366,8 +1369,6 @@ void RGWRados::finalize()
   }
   delete reshard;
   delete index_completion_manager;
-
-  svc.shutdown();
 }
 
 /**