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 multisite: fix ref counting of completions #12841

Merged
merged 2 commits into from Jan 16, 2017
Merged

Conversation

cbodley
Copy link
Contributor

@cbodley cbodley commented Jan 9, 2017

fixes two cases where a RGWAioCompletionNotifier reference is leaked:

  • RGWCompletionManager::go_down() cancels registered notifiers, so they don't call back into unregister_completion_notifier() to drop their ref
  • RGWAsyncRadosRequest::finish() is called before send_request() can call notifier->cb() (which drops a ref)

Copy link
Member

@yehudasa yehudasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@cbodley
Copy link
Contributor Author

cbodley commented Jan 16, 2017

teuthology results were green, except for a single valgrind failure in the osd and an s3test failure due to timeouts on slow requests

@yehudasa yehudasa merged commit 947d99a into ceph:master Jan 16, 2017
@cbodley cbodley deleted the wip-18407 branch January 16, 2017 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants