Project

General

Profile

Bug #50620

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

Added by J. Eric Ivancich almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
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 Resolved

History

#1 Updated by J. Eric Ivancich almost 3 years ago

  • Pull request ID set to 41140

#2 Updated by J. Eric Ivancich almost 3 years 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 almost 3 years ago

  • Status changed from In Progress to Fix Under Review

#4 Updated by J. Eric Ivancich almost 3 years 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 almost 3 years ago

  • Backport changed from yes, tbd to none

#6 Updated by J. Eric Ivancich almost 3 years ago

  • Priority changed from Urgent to High

#7 Updated by J. Eric Ivancich almost 3 years ago

  • Backport changed from none to pacific

#8 Updated by J. Eric Ivancich almost 3 years ago

  • Status changed from Fix Under Review to Pending Backport

#9 Updated by Backport Bot almost 3 years ago

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

#10 Updated by Loïc Dachary over 2 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".

Also available in: Atom PDF