Project

General

Profile

Bug #40526

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

Added by Eric Ivancich about 2 months ago. Updated 24 days ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Target version:
Start date:
06/24/2019
Due date:
% Done:

0%

Source:
Tags:
Backport:
nautilus,mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

Copied to rgw - Backport #40589: luminous: rgw: deleting bucket can fail when it contains unfinished multipart uploads New
Copied to rgw - Backport #40590: mimic: rgw: deleting bucket can fail when it contains unfinished multipart uploads Resolved
Copied to rgw - Backport #40591: nautilus: rgw: deleting bucket can fail when it contains unfinished multipart uploads Resolved

History

#1 Updated by Eric Ivancich about 2 months ago

  • Pull request ID set to 28742

#2 Updated by Eric Ivancich about 2 months ago

  • Pull request ID changed from 28742 to 28724

#3 Updated by Eric Ivancich about 2 months ago

  • Description updated (diff)

#4 Updated by Casey Bodley about 2 months ago

  • Status changed from In Progress to Pending Backport

#5 Updated by Nathan Cutler about 2 months ago

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

#6 Updated by Nathan Cutler about 2 months ago

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

#7 Updated by Nathan Cutler about 2 months ago

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

Also available in: Atom PDF