Project

General

Profile

Actions

Bug #73716

open

rgw: `radosgw-admin object unlink ...` doesn't handle old style bucket index

Added by J. Eric Ivancich 6 months ago. Updated 6 months ago.

Status:
Pending Backport
Priority:
Normal
Target version:
% Done:

0%

Source:
Backport:
tentacle, squid, reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
backport_processed
Fixed In:
v20.3.0-4049-g093fdbeba2
Released In:
Upkeep Timestamp:
2025-11-06T16:02:27+00:00

Description

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.


Related issues 3 (2 open1 closed)

Copied to rgw - Backport #73746: reef: rgw: `radosgw-admin object unlink ...` doesn't handle old style bucket indexIn ProgressJ. Eric IvancichActions
Copied to rgw - Backport #73747: squid: rgw: `radosgw-admin object unlink ...` doesn't handle old style bucket indexResolvedJ. Eric IvancichActions
Copied to rgw - Backport #73748: tentacle: rgw: `radosgw-admin object unlink ...` doesn't handle old style bucket indexIn ProgressJ. Eric IvancichActions
Actions #1

Updated by J. Eric Ivancich 6 months ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by J. Eric Ivancich 6 months ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Upkeep Bot 6 months ago

  • Merge Commit set to 093fdbeba20252909bbd39822b408f18385ee7e7
  • Fixed In set to v20.3.0-4049-g093fdbeba2
  • Upkeep Timestamp set to 2025-11-06T16:02:27+00:00
Actions #4

Updated by Upkeep Bot 6 months ago

  • Copied to Backport #73746: reef: rgw: `radosgw-admin object unlink ...` doesn't handle old style bucket index added
Actions #5

Updated by Upkeep Bot 6 months ago

  • Copied to Backport #73747: squid: rgw: `radosgw-admin object unlink ...` doesn't handle old style bucket index added
Actions #6

Updated by Upkeep Bot 6 months ago

  • Copied to Backport #73748: tentacle: rgw: `radosgw-admin object unlink ...` doesn't handle old style bucket index added
Actions #7

Updated by Upkeep Bot 6 months ago

  • Tags (freeform) set to backport_processed
Actions

Also available in: Atom PDF