Project

General

Profile

Bug #39495

rgw: swift object expiry fails when a bucket reshards

Added by Abhishek Lekshmanan about 1 year ago. Updated 12 months ago.

Status:
Pending Backport
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:

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

Copied to rgw - Backport #39740: nautilus: rgw: swift object expiry fails when a bucket reshards Resolved
Copied to rgw - Backport #39741: mimic: rgw: swift object expiry fails when a bucket reshards Resolved
Copied to rgw - Backport #39742: luminous: rgw: swift object expiry fails when a bucket reshards Need More Info

History

#1 Updated by Abhishek Lekshmanan about 1 year ago

  • Description updated (diff)

#2 Updated by Abhishek Lekshmanan about 1 year ago

  • Status changed from New to 17
  • Pull request ID set to 27817

#4 Updated by Casey Bodley about 1 year ago

  • Status changed from 17 to Pending Backport

#5 Updated by Nathan Cutler about 1 year ago

  • Copied to Backport #39740: nautilus: rgw: swift object expiry fails when a bucket reshards added

#6 Updated by Nathan Cutler about 1 year ago

  • Copied to Backport #39741: mimic: rgw: swift object expiry fails when a bucket reshards added

#7 Updated by Nathan Cutler about 1 year ago

  • Copied to Backport #39742: luminous: rgw: swift object expiry fails when a bucket reshards added

#8 Updated by Nathan Cutler 12 months ago

  • Pull request ID changed from 27817 to 27870

Also available in: Atom PDF