Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw: call rgw_log_usage_finalize() on reconfiguration #8585

Merged
merged 1 commit into from Apr 14, 2016

Conversation

cbodley
Copy link
Contributor

@cbodley cbodley commented Apr 13, 2016

RGWRealmReloader was calling rgw_log_usage_init() with the new RGWRados instance, but never cleaned up the previous one with rgw_log_usage_finalize()

Fixes a crash caused by the previous UsageLogger using the RGWRados instance after it was freed by RGWRealmReloader.

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>
@cbodley cbodley added this to the jewel milestone Apr 13, 2016
@mattbenjamin
Copy link
Contributor

@oritwas did you see a problem with this?

@oritwas
Copy link
Member

oritwas commented Apr 14, 2016

lgtm

@yehudasa yehudasa merged commit d43704f into ceph:master Apr 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants