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

quincy: rgw: fix unwatch crash at radosgw startup #53761

Merged
merged 1 commit into from Oct 10, 2023

Conversation

cbodley
Copy link
Contributor

@cbodley cbodley commented Oct 2, 2023

backport tracker: https://tracker.ceph.com/issues/63059


backport of #53691
parent tracker: https://tracker.ceph.com/issues/60094

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

During radosgw initialization, if there is an exception in init_watch that causes the watcher registration to fail,
When finalize_watch is executed, a crash occurs due to unregister an unregistered watch.

Fixes: https://tracker.ceph.com/issues/60094

Signed-off-by: lichaochao <lichaochao2_yewu@cmss.chinamobile.com>
(cherry picked from commit acd4348)
@cbodley cbodley added this to the quincy milestone Oct 2, 2023
Copy link
Contributor

@yuriw yuriw left a comment

Choose a reason for hiding this comment

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

Reviewed-by: Casey Bodley cbodley@redhat.com

@yuriw yuriw merged commit 4ffd2ff into ceph:quincy Oct 10, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants