Project

General

Profile

Actions

Bug #39495

closed

rgw: swift object expiry fails when a bucket reshards

Added by Abhishek Lekshmanan almost 5 years ago. Updated about 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 #1

Updated by Abhishek Lekshmanan almost 5 years ago

  • Description updated (diff)
Actions #2

Updated by Abhishek Lekshmanan almost 5 years ago

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

Updated by Casey Bodley almost 5 years ago

  • Status changed from 17 to Pending Backport
Actions #5

Updated by Nathan Cutler almost 5 years ago

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

Updated by Nathan Cutler almost 5 years ago

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

Updated by Nathan Cutler almost 5 years ago

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

Updated by Nathan Cutler almost 5 years ago

  • Pull request ID changed from 27817 to 27870
Actions #9

Updated by Nathan Cutler about 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF