You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2021/08/18 13:40:00 UTC

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

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

Stephen O'Donnell resolved HDDS-5622.
-------------------------------------
    Fix Version/s: 1.2.0
       Resolution: Fixed

> 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
>             Fix For: 1.2.0
>
>
> 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