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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to