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

pacific: radosgw-admin: allow 'bi purge' to delete index if entrypoint doesn't exist #54010

Merged
merged 2 commits into from Nov 15, 2023

Conversation

k0ste
Copy link
Contributor

@k0ste k0ste commented Oct 14, 2023

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


backport of #43591
parent tracker: https://tracker.ceph.com/issues/52976

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

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit f61215d)

Conflicts:
  - path: src/rgw/rgw_admin.cc
    comment: manually resolve conflicts
@github-actions github-actions bot added the rgw label Oct 14, 2023
@github-actions github-actions bot added this to the pacific milestone Oct 14, 2023
we may get -ENOENT looking up cur_bucket here. we look up cur_bucket so
we can avoid purging the 'current' bucket instance. but if that
entrypoint doesn't exist, there is no current instance and that
shouldn't prevent us from purging

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 94db340)

Conflicts:
  - path src/rgw/rgw_admin.cc
    comment: manually resolve conflicts
@cbodley
Copy link
Contributor

cbodley commented Nov 15, 2023

jenkins test api

1 similar comment
@yuriw
Copy link
Contributor

yuriw commented Nov 15, 2023

jenkins test api

@yuriw yuriw merged commit 5968b11 into ceph:pacific Nov 15, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants