You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Janus Chow (Jira)" <ji...@apache.org> on 2024/05/02 09:07:00 UTC

[jira] [Created] (HDDS-10789) Incorrect comparing basis of placement policy for OverReplicationHandler

Janus Chow created HDDS-10789:
---------------------------------

             Summary: Incorrect comparing basis of placement policy for OverReplicationHandler
                 Key: HDDS-10789
                 URL: https://issues.apache.org/jira/browse/HDDS-10789
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Janus Chow


In [RatisOverReplicationHandler|https://github.com/apache/ozone/blob/a658802d628271efa82824dc3c316f8eebfc75d3/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/replication/RatisOverReplicationHandler.java#L123], the eligibleReplicas might be trimmed due to uniqueness check, and the [check of placement policy|https://github.com/apache/ozone/blob/a658802d628271efa82824dc3c316f8eebfc75d3/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/replication/RatisOverReplicationHandler.java#L296] should be done on the original replicas set, instead of the trimmed eligibleReplicas.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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