Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-763 Ozone S3 gateway (phase two)
  3. HDDS-821

Handle empty x-amz-storage-class header in Ozone S3 gateway

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • S3
    • None

    Description

      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.

      Attachments

        1. HDDS-821.002.patch
          3 kB
          Marton Elek
        2. HDDS-821.001.patch
          13 kB
          Marton Elek

        Activity

          People

            elek Marton Elek
            elek Marton Elek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: