Project

General

Profile

Actions

Bug #23434

open

RGWs report canceled PUT requests as 500s instead of 408s

Added by Bryan Stillwell about 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

While troubleshooting some issues that were being recorded in the civetweb access logs on 10.2.10, I noticed that S3 PUT requests that are canceled (for example when you hit ctrl-c during the upload) are showing up in the logs as 500s (internal server error). I compared this to how nginx handles partial uploads and it uses either a 408 (request timeout) or as a 400 (bad request). I think these are more descriptive of the actual problem and would like to see radosgw use them as well.

Actions

Also available in: Atom PDF