Project

General

Profile

Actions

Bug #39495

closed

rgw: swift object expiry fails when a bucket reshards

Added by Abhishek Lekshmanan about 5 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, mimic, luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

A bucket reshard causes swift object expiry to fail. While further swift client requests will still return a 404 as we check for obj expiry times in GET requests, the object is never deleted on disk, and the delete hint is already trimmed as we assume a non-findeable bucket means the bucket was deleted

$ swift upload foobar foo -H "X-Delete-After: 100" 
$ radosgw-admin bucket reshard foobar --num-shards 4 
$ sleep 100 && radosgw-admin objects expire --debug-rgw=20
$ radosgw-admin object stat --bucket foobar --object foo # returns 

Related issues 3 (0 open3 closed)

Copied to rgw - Backport #39740: nautilus: rgw: swift object expiry fails when a bucket reshardsResolvedNathan CutlerActions
Copied to rgw - Backport #39741: mimic: rgw: swift object expiry fails when a bucket reshardsResolvedNathan CutlerActions
Copied to rgw - Backport #39742: luminous: rgw: swift object expiry fails when a bucket reshardsRejectedActions
Actions

Also available in: Atom PDF