Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3816 Erasure Coding
  3. HDDS-6184

EC: put command should create EC key if bucket is EC

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • EC-Branch
    • EC-Branch
    • None

    Description

      When bucket is EC and put command not passing ec configs should create the EC keys. But that is not working now. Because put command code is always passing the legacy default configs, that is RATIS/THREE if put command does not pass any.

       

      in PutKeyHandler#execute:

      ReplicationConfig replicationConfig =
      ReplicationConfig.parse(replicationType, replication, getConf());

       

      parse method is bringing the default replication if they are null.

      When put command passing the ec replication confg, it is working as expected.

      Attachments

        Issue Links

          Activity

            People

              umamaheswararao Uma Maheswara Rao G
              umamaheswararao Uma Maheswara Rao G
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: