Bug #50620
closed
rgw: radosgw-admin bucket rm --bucket <bucket> --purge-objects
Added by J. Eric Ivancich about 3 years ago.
Updated almost 3 years ago.
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
- Pull request ID set to 41140
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.
- Status changed from In Progress to Fix Under Review
Lei Cao, I deleted your comment #1 so there wouldn't be two PRs attached to this tracker.
- Backport changed from yes, tbd to none
- Priority changed from Urgent to High
- Backport changed from none to pacific
- Status changed from Fix Under Review to Pending Backport
- Copied to Backport #50710: pacific: rgw: radosgw-admin bucket rm --bucket <bucket> --purge-objects added
- 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".
Also available in: Atom
PDF