adoroszlai opened a new pull request, #4947:
URL: https://github.com/apache/ozone/pull/4947

   ## What changes were proposed in this pull request?
   
   Change key info for FSO directory to reflect the bucket's default 
replication config, if set, otherwise the cluster-wide default setting OM uses 
for new keys.  Previously it always showed RATIS/ONE.
   
   https://issues.apache.org/jira/browse/HDDS-8543
   
   ## How was this patch tested?
   
   Added assertions in integration and acceptance tests.
   
   ```
   $ ozone sh key list vol23126/ratis   
   [ {
     "volumeName" : "vol23126",
     "bucketName" : "ratis",
     "name" : "dir/",
     "dataSize" : 0,
     "replicationConfig" : {
       "replicationFactor" : "THREE",
       "requiredNodes" : 3,
       "replicationType" : "RATIS"
     },
     ...
   },
     ...
   
   $ ozone sh key list vol23126/ecbucket
   [ {
     "volumeName" : "vol23126",
     "bucketName" : "ecbucket",
     "name" : "dir/",
     "dataSize" : 0,
     "replicationConfig" : {
       "data" : 3,
       "parity" : 2,
       "ecChunkSize" : 1048576,
       "codec" : "RS",
       "replicationType" : "EC",
       "requiredNodes" : 5
     },
     ...
   },
     ...
   ```
   
   https://github.com/adoroszlai/hadoop-ozone/actions/runs/5335943835


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to