[
https://issues.apache.org/jira/browse/HDDS-12842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated HDDS-12842:
-------------------------------
Description:
AWS S3 SDK might send "Expect: 100-continue" header for PUT request
(UploadObject / UploadPart) to check whether there are available space before
sending the actual content data. For example AWS Go SDK will add the "Expect:
100-Continue" header when the request is larger than 2MB (or in some case if
there is an unknown-size body).
Currently Ozone does not handle this, we need to check whether we should
support this. There might be some functionality or performance impact.
Links:
*
[https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html]
* AWS Go SDK
** V1:
[https://github.com/aws/aws-sdk-go/blob/main/service/s3/platform_handlers_go1.6.go]
** V2: [https://github.com/aws/aws-sdk-go-v2/pull/2051]
was:
AWS S3 SDK might send "Expect: 100-continue" header for PUT request
(UploadObject / UploadPart) to check whether there are available space before
sending the actual content data. For example AWS Go SDK will add the "Expect:
100-Continue" header when the request is larger than 2MB.
Currently Ozone does not handle this, we need to check whether we should
support this. There might be some functionality or performance impact.
Links:
*
[https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html]
* AWS Go SDK
** V1:
[https://github.com/aws/aws-sdk-go/blob/main/service/s3/platform_handlers_go1.6.go]
** V2: [https://github.com/aws/aws-sdk-go-v2/pull/2051]
> Handle "Expect: 100-continue" header
> ------------------------------------
>
> Key: HDDS-12842
> URL: https://issues.apache.org/jira/browse/HDDS-12842
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Major
>
> AWS S3 SDK might send "Expect: 100-continue" header for PUT request
> (UploadObject / UploadPart) to check whether there are available space before
> sending the actual content data. For example AWS Go SDK will add the "Expect:
> 100-Continue" header when the request is larger than 2MB (or in some case if
> there is an unknown-size body).
> Currently Ozone does not handle this, we need to check whether we should
> support this. There might be some functionality or performance impact.
> Links:
> *
> [https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html]
> * AWS Go SDK
> ** V1:
> [https://github.com/aws/aws-sdk-go/blob/main/service/s3/platform_handlers_go1.6.go]
>
> ** V2: [https://github.com/aws/aws-sdk-go-v2/pull/2051]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]