Project

General

Profile

Bug #50620

rgw: radosgw-admin bucket rm --bucket <bucket> --purge-objects

Added by J. Eric Ivancich 10 days ago. Updated 5 days ago.

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

0%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When removing a bucket via radosgw-admin with the --purge-objects option only purges the first 1000 objects (based on bi order) and the rest are left as orphans.

Steps to Reproduce:
1. create a bucket and add 1001 small objects to it
2. run `radosgw-admin bucket rm --bucket <bucket> --purge-objects`
3. run rgw-orphan-list


Related issues

Copied to rgw - Backport #50710: pacific: rgw: radosgw-admin bucket rm --bucket <bucket> --purge-objects New

History

#1 Updated by J. Eric Ivancich 9 days ago

  • Pull request ID set to 41140

#2 Updated by J. Eric Ivancich 9 days ago

lei cao wrote:

https://github.com/ceph/ceph/pull/41135

I had done the testing to determine the 1000 limit making it clear that it was a paging issue and tested the solution. But I had a non-work meeting coming up that I had to prep for, so I created the tracker and left the rest for today.

The tracker was assigned to me and the status was "in progress". So I'm not quite sure why you jumped in.

#3 Updated by J. Eric Ivancich 9 days ago

  • Status changed from In Progress to Fix Under Review

#4 Updated by J. Eric Ivancich 9 days ago

Lei Cao, I deleted your comment #1 so there wouldn't be two PRs attached to this tracker.

#5 Updated by J. Eric Ivancich 9 days ago

  • Backport changed from yes, tbd to none

#6 Updated by J. Eric Ivancich 9 days ago

  • Priority changed from Urgent to High

#7 Updated by J. Eric Ivancich 8 days ago

  • Backport changed from none to pacific

#8 Updated by J. Eric Ivancich 5 days ago

  • Status changed from Fix Under Review to Pending Backport

#9 Updated by Backport Bot 5 days ago

  • Copied to Backport #50710: pacific: rgw: radosgw-admin bucket rm --bucket <bucket> --purge-objects added

Also available in: Atom PDF