You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/08/17 07:11:00 UTC

[jira] [Updated] (HDDS-5622) Some improvements in SCMCommonPlacementPolicy

     [ https://issues.apache.org/jira/browse/HDDS-5622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HDDS-5622:
---------------------------------
    Labels: pull-request-available  (was: )

> Some improvements in SCMCommonPlacementPolicy
> ---------------------------------------------
>
>                 Key: HDDS-5622
>                 URL: https://issues.apache.org/jira/browse/HDDS-5622
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Janus Chow
>            Assignee: Janus Chow
>            Priority: Major
>              Labels: pull-request-available
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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