Bug #50620
closedrgw: radosgw-admin bucket rm --bucket <bucket> --purge-objects
0%
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
Updated by J. Eric Ivancich about 3 years ago
lei cao wrote:
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.
Updated by J. Eric Ivancich about 3 years ago
- Status changed from In Progress to Fix Under Review
Updated by J. Eric Ivancich about 3 years ago
Lei Cao, I deleted your comment #1 so there wouldn't be two PRs attached to this tracker.
Updated by J. Eric Ivancich about 3 years ago
- Backport changed from yes, tbd to none
Updated by J. Eric Ivancich about 3 years ago
- Priority changed from Urgent to High
Updated by J. Eric Ivancich about 3 years ago
- Backport changed from none to pacific
Updated by J. Eric Ivancich about 3 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Backport Bot about 3 years ago
- Copied to Backport #50710: pacific: rgw: radosgw-admin bucket rm --bucket <bucket> --purge-objects added
Updated by Loïc Dachary almost 3 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".