Project

General

Profile

Actions

Bug #76260

open
NH NH

CompleteMultipartUpload doesn't implement S3's heartbeat

Bug #76260: CompleteMultipartUpload doesn't implement S3's heartbeat

Added by Nathan Hoad 7 months ago. Updated 5 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid tentacle umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

From the S3 documentation - https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html (emphasis mine):

The processing of a CompleteMultipartUpload request could take several minutes to finalize. After Amazon S3 begins processing the request, it sends an HTTP response header that specifies a 200 OK response. While processing is in progress, Amazon S3 periodically sends white space characters to keep the connection from timing out . A request could fail after the initial 200 OK response has been sent. This means that a 200 OK response can contain either a success or an error. The error response might be embedded in the 200 OK response.

The RGW does not implement this behavior, so when client libraries/load balancers timeout the connection after some period, they will issue retries. If this behavior was implemented in the RGW, the libraries would be able to handle this more gracefully.

CB Updated by Casey Bodley 7 months ago Actions #1

thanks @Nathan Hoad, i wasn't aware that aws did this. we've been considering a similar change for ListObjects in https://tracker.ceph.com/issues/64185

NH Updated by Nathan Hoad 7 months ago Actions #2

  • Assignee set to Nathan Hoad

NH Updated by Nathan Hoad 7 months ago Actions #3

  • Status changed from New to In Progress

NH Updated by Nathan Hoad 7 months ago Actions #4

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 68980

NH Updated by Nathan Hoad 6 months ago Actions #5

  • Backport set to squid tentacle

NH Updated by Nathan Hoad 5 months ago Actions #6

  • Backport changed from squid tentacle to squid tentacle umbrella
Actions

Also available in: PDF Atom