Skip to content

tentacle: rgw: fix radosgw-admin object unlink ...#66151

Merged
anrao19 merged 1 commit intoceph:tentaclefrom
ivancich:wip-73748-tentacle
Dec 1, 2025
Merged

tentacle: rgw: fix radosgw-admin object unlink ...#66151
anrao19 merged 1 commit intoceph:tentaclefrom
ivancich:wip-73748-tentacle

Conversation

@ivancich
Copy link
Copy Markdown
Member

@ivancich ivancich commented Nov 6, 2025

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


backport of #66123
parent tracker: https://tracker.ceph.com/issues/73716

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

The unlink subcommand did not handle unsharded bucket indices
appropriately. These are when the number of shards listed in the
bucket instance object is 0. In that case there will actually be 1
shard.

When number of shards as 0 is passed into the function that maps
object names to shards, it returns -1. And that was not handled
properly. That is now fixed.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 9eeb71e)
@anrao19
Copy link
Copy Markdown
Contributor

anrao19 commented Nov 21, 2025

pr testing completed and approved by @ivancich , details : https://tracker.ceph.com/issues/73809
pr can be merged once we get review

@anrao19 anrao19 merged commit f7ff74b into ceph:tentacle Dec 1, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants