Elek, Marton created HDDS-821:
---------------------------------

             Summary: 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


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: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to