mirror of
https://github.com/ceph/ceph
synced 2025-01-12 06:00:46 +00:00
rgw: call rgw_log_usage_finalize() on reconfiguration
RGWRealmReloader was calling rgw_log_usage_init() with the new RGWRados instance, but never cleaned up the previous one with rgw_log_usage_finalize() Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
parent
4943a55528
commit
a201365aaa
@ -80,6 +80,10 @@ void RGWRealmReloader::reload()
|
||||
frontends->pause();
|
||||
|
||||
ldout(cct, 1) << "Frontends paused" << dendl;
|
||||
|
||||
// TODO: make RGWRados responsible for rgw_log_usage lifetime
|
||||
rgw_log_usage_finalize();
|
||||
|
||||
// destroy the existing store
|
||||
RGWStoreManager::close_storage(store);
|
||||
store = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user