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 rgw cache invalidation after unregister_watch() error #54015

Open
wants to merge 1 commit into
base: quincy
Choose a base branch
from

Conversation

k0ste
Copy link
Contributor

@k0ste k0ste commented Oct 14, 2023

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


backport of #50707
parent tracker: https://tracker.ceph.com/issues/59217

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

When a metadata osd fails, an unregister_watch() error may occur,
resulting in an rgw cache invalidation.
By adding an unregister_done flag and when a register_watch() error ,
performing a reinit() operation again,
After the first reinit() failure, the register_watch() will be performed again

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

Signed-off-by: lichaochao <lichaochao2_yewu@cmss.chinamobile.com>
(cherry picked from commit f9aae71)
@github-actions github-actions bot added the rgw label Oct 14, 2023
@github-actions github-actions bot added this to the quincy milestone Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants