Project

General

Profile

Actions

Bug #50620

closed

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

Added by J. Eric Ivancich almost 3 years ago. Updated almost 3 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 1 (0 open1 closed)

Copied to rgw - Backport #50710: pacific: rgw: radosgw-admin bucket rm --bucket <bucket> --purge-objectsResolvedCory SnyderActions
Actions #1

Updated by J. Eric Ivancich almost 3 years ago

  • Pull request ID set to 41140
Actions #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.

Actions #3

Updated by J. Eric Ivancich almost 3 years ago

  • Status changed from In Progress to Fix Under Review
Actions #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.

Actions #5

Updated by J. Eric Ivancich almost 3 years ago

  • Backport changed from yes, tbd to none
Actions #6

Updated by J. Eric Ivancich almost 3 years ago

  • Priority changed from Urgent to High
Actions #7

Updated by J. Eric Ivancich almost 3 years ago

  • Backport changed from none to pacific
Actions #8

Updated by J. Eric Ivancich almost 3 years ago

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

Updated by Backport Bot almost 3 years ago

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

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".

Actions

Also available in: Atom PDF