[ 
https://issues.apache.org/jira/browse/HDDS-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16688720#comment-16688720
 ] 

Bharat Viswanadham commented on HDDS-821:
-----------------------------------------

+1 LGTM.

Thank You for [~elek] for fixing the issue.

I will commit this shortly.

 

> Handle empty x-amz-storage-class header in Ozone S3 gateway
> -----------------------------------------------------------
>
>                 Key: HDDS-821
>                 URL: https://issues.apache.org/jira/browse/HDDS-821
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>          Components: S3
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>         Attachments: HDDS-821.001.patch, HDDS-821.002.patch
>
>
> Ozone replication type is set based on the x-amz-storage-class HTTP header in 
> s3g thanks to HDDS-712.
> If header is not set the default replication type will be used (RATIS/3).
> Unfortunately some tricky clients (such as the goofys FUSE driver) sends an 
> empty header.
> This patch fixes the behaviour to use the default replication type in case of 
> an existing but empty header. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to