You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/08/17 07:10:34 UTC

[GitHub] [ozone] symious opened a new pull request #2543: HDDS-5622. Some improvements in SCMCommonPlacementPolicy

symious opened a new pull request #2543:
URL: https://github.com/apache/ozone/pull/2543


   ## What changes were proposed in this pull request?
   
   This ticket consists of the following changes in SCMCommonPlacementPolicy.
   
   refactor getRequiredRackCount() to getRequiredRackCount(int numReplicas)
   Add a method to check if a datanode is available.
   Currently getRequiredRackCount() ingests no input arguments and the default value is ususally 1 or 2, but for EC placement policy, the required racks will be based on the numReplicas.
   
   The availability check method is added to SCMCommonPlacementPolicy so that it can be reused by other PlacementPolicy subclasses.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-5622
   
   ## How was this patch tested?
   
   unit 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-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


[GitHub] [ozone] sodonnel merged pull request #2543: HDDS-5622. Some improvements in SCMCommonPlacementPolicy

Posted by GitBox <gi...@apache.org>.
sodonnel merged pull request #2543:
URL: https://github.com/apache/ozone/pull/2543


   


-- 
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-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


[GitHub] [ozone] sodonnel merged pull request #2543: HDDS-5622. Some improvements in SCMCommonPlacementPolicy

Posted by GitBox <gi...@apache.org>.
sodonnel merged pull request #2543:
URL: https://github.com/apache/ozone/pull/2543


   


-- 
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-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org