SaketaChalamchala opened a new pull request, #8399: URL: https://github.com/apache/ozone/pull/8399
## What changes were proposed in this pull request? Right now s3 client can create keys/files with only RATIS replication type using the header `x-amz-storage-class=STANDARD(RATIS THREE)` or `REDUCED_REDUNDANCY(RATIS ONE)`. Proposed solution allows creation of EC keys/files by supporting `x-amz-storage-class=STANDARD_IA(EC/RS-3-2-1024k by default)` along with a custom meta header to configure EC replication strings like `x-amz-meta-storage-config=rs-6-3-1024k`. Also, changed the replication config resolution order to be [consistent with ozone cli ](https://github.com/apache/ozone/pull/7750) which is 1. Replication config provided by S3 client. 2. Replication config provided at client side config. 3. Bucket replication. 4. Server side default replication config. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-10979 ## How was this patch tested? Unit Tests TODO: Acceptance test -- 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: issues-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org