Project

General

Profile

Bug #39495

Updated by Abhishek Lekshmanan almost 5 years ago

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 

 <pre> 
 $ 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  
 </pre>

Back