Actions
Bug #16412
closedBucket index shards orphaned after bucket delete
% Done:
0%
Source:
Support
Tags:
Backport:
jewel, hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Observed behavior:
- In an environment with bucket index sharding enabled, deletion of a bucket leaves behind the bucket index shards.
- When a bucket is deleted, all bucket index shards should be deleted.
- Enable bucket index sharding:
rgw_override_bucket_index_max_shards = 32 - Create buckets
- Delete buckets
- List contents of bucket index pool
Attempted deleting the bucket data with the following three methods, all with the exact same results:
# s3cmd del --recursive s3://bucket-to-delete # radosgw-admin bucket rm --bucket bucket-to-delete --purge-objects # radosgw-admin user rm --uid user-to-delete --purge-data
Further, attempting to clean up with metadata rm does not help:
# radosgw-admin metadata rm bucket:default.538200.103
The deleted buckets do not show up with metadata list:
# radosgw-admin metadata list --metadata-key="bucket.instance" | grep default.538200.103 -c 0
But they do show up with rados ls:
# rados ls -p .rgw.buckets.index | grep default.538200.103 -c 32
Updated by Orit Wasserman almost 8 years ago
- Backport changed from jewel,hammer to jewel, infernalis, hammer
Updated by Orit Wasserman almost 8 years ago
- Status changed from New to Pending Backport
Updated by Nathan Cutler almost 8 years ago
- Copied to Backport #16732: jewel: Bucket index shards orphaned after bucket delete added
Updated by Nathan Cutler almost 8 years ago
- Copied to Backport #16733: infernalis: Bucket index shards orphaned after bucket delete added
Updated by Nathan Cutler almost 8 years ago
- Copied to Backport #16734: hammer: Bucket index shards orphaned after bucket delete added
Updated by Loïc Dachary over 7 years ago
- Backport changed from jewel, infernalis, hammer to jewel, hammer
infernalis is EOL
Updated by Loïc Dachary over 7 years ago
- Copied to deleted (Backport #16733: infernalis: Bucket index shards orphaned after bucket delete)
Updated by Loïc Dachary over 7 years ago
- Status changed from Pending Backport to Resolved
Actions