Skip to content

umbrella: rgw/admin: guard bilog autotrim on non-exporting (archive) zones - #70455

Merged
batrick merged 1 commit into
ceph:umbrellafrom
BBoozmen:wip-78579-umbrella
Jul 30, 2026
Merged

batrick merged 1 commit into
ceph:umbrellafrom
BBoozmen:wip-78579-umbrella

Conversation

@BBoozmen

Copy link
Copy Markdown
Contributor

The background sync-log-trim thread already skips bucket trim on zones whose
sync module does not export data , but the admin command had no equivalent
guard, so running it on an archive zone could delete instance metadata the
zone is meant to retain.

So, refuse the command on non-exporting zones unless --yes-i-really-mean-it is
given.

Fixes: https://tracker.ceph.com/issues/78364
Signed-off-by: Oguzhan Ozmen <[email protected]>
(cherry picked from commit 1543a24)
@BBoozmen BBoozmen added this to the umbrella milestone Jul 22, 2026
@BBoozmen
BBoozmen requested a review from a team as a code owner July 22, 2026 16:44
@BBoozmen BBoozmen added the rgw label Jul 22, 2026
@github-actions github-actions Bot added tests releng-audit-pass Release engineering: passed backport verification audit. labels Jul 22, 2026
@yuriw

yuriw commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri5-testing-20260728.193509-umbrella.

@batrick batrick modified the milestones: umbrella, v21.1.1 Jul 28, 2026
@batrick
batrick merged commit 864b75f into ceph:umbrella Jul 30, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-qa releng-audit-pass Release engineering: passed backport verification audit. rgw tests wip-yuri5-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants