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

   ## What changes were proposed in this pull request?
   
   - Support allocate Container by `StoragePolicy` in the SCM side
   - SCM side allocateBlock interface add parameter `StoragePolicy` and 
`allowFallbackStoragePolicy`
       - After this PR, allocateBlock must past the parameter `StoragePolicy` 
and `allowFallbackStoragePolicy`.
   
   For the old client the `StoragePolicy` will be null, the SCM will use 
`OzoneStoragePolicy.getDefaultPolicy()` as the default `StoragePolicy` for the 
old client,
   The default policy can be configured by Configuration 
`ozone.default.storagepolicy` the default value is WARM
   
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-16036
   
   
   ## How was this patch tested?
   New added tests
   
   
   


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