Actions
Bug #39495
closedrgw: swift object expiry fails when a bucket reshards
% Done:
0%
Source:
Tags:
Backport:
nautilus, mimic, luminous
Regression:
No
Severity:
3 - minor
Reviewed:
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
Actions