Project

General

Profile

Actions

Bug #40526

closed

rgw: deleting bucket can fail when it contains unfinished multipart uploads

Added by J. Eric Ivancich almost 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

As part of the process of deleting a bucket, all underway multipart uploads are aborted and their artifacts are cleaned up. This is done in blocks, and as long as the current block indicates that it is not the final block (i.e., is_truncated) it will fetch another block.

If the final block indicates it could not find the artifacts it wanted to clean up, the process fails and causes bucket deletion to fail. This does not happen if the final block succeeds and previous blocks have this error.

Since this should be a best-effort process, the inability to find artifacts should not prevent bucket deletion from completing.


Related issues 3 (0 open3 closed)

Copied to rgw - Backport #40589: luminous: rgw: deleting bucket can fail when it contains unfinished multipart uploadsRejectedActions
Copied to rgw - Backport #40590: mimic: rgw: deleting bucket can fail when it contains unfinished multipart uploadsResolvedJ. Eric IvancichActions
Copied to rgw - Backport #40591: nautilus: rgw: deleting bucket can fail when it contains unfinished multipart uploadsResolvedNathan CutlerActions
Actions #1

Updated by J. Eric Ivancich almost 5 years ago

  • Pull request ID set to 28742
Actions #2

Updated by J. Eric Ivancich almost 5 years ago

  • Pull request ID changed from 28742 to 28724
Actions #3

Updated by J. Eric Ivancich almost 5 years ago

  • Description updated (diff)
Actions #4

Updated by Casey Bodley almost 5 years ago

  • Status changed from In Progress to Pending Backport
Actions #5

Updated by Nathan Cutler almost 5 years ago

  • Copied to Backport #40589: luminous: rgw: deleting bucket can fail when it contains unfinished multipart uploads added
Actions #6

Updated by Nathan Cutler almost 5 years ago

  • Copied to Backport #40590: mimic: rgw: deleting bucket can fail when it contains unfinished multipart uploads added
Actions #7

Updated by Nathan Cutler almost 5 years ago

  • Copied to Backport #40591: nautilus: rgw: deleting bucket can fail when it contains unfinished multipart uploads added
Actions #9

Updated by J. Eric Ivancich over 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF