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

   ## What changes were proposed in this pull request?
   This PR introduces `CreateFileOptions` and `CreateKeyOptions` so new 
optional parameters, such as storage policy, can be added without another long 
`createFile`/`createKey` overload each time.
   It adds `createFile(…, CreateFileOptions)` and `createKey(…, 
CreateKeyOptions)` to `ClientProtocol`, its implementations and `OzoneBucket`. 
The existing `createFile` and `createKey` overloads delegate to the new 
methods. The `createKey` overload that took a storage policy is replaced by the 
new method.
   
   Note: `createFile` support for storage policy is handled separately in 
[HDDS-16991](https://issues.apache.org/jira/browse/HDDS-16991).
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-17839
   
   ## How was this patch tested?
   - CI
   


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