[ 
https://issues.apache.org/jira/browse/HDFS-16958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705256#comment-17705256
 ] 

ASF GitHub Bot commented on HDFS-16958:
---------------------------------------

tasanuma commented on PR #5489:
URL: https://github.com/apache/hadoop/pull/5489#issuecomment-1484795648

   @zhangshuyan0 Thanks for your explanation. So the current implementation is 
correct?




> EC: Fix bug in processing EC excess redundancy 
> -----------------------------------------------
>
>                 Key: HDFS-16958
>                 URL: https://issues.apache.org/jira/browse/HDFS-16958
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Shuyan Zhang
>            Assignee: Shuyan Zhang
>            Priority: Major
>              Labels: pull-request-available
>
> When processing excess redundancy, the number of internal blocks is computed 
> by traversing `nonExcess`. This way is not accurate, because `nonExcess` 
> excludes replicas in abnormal states, such as corrupt ones, or maintenance 
> ones. `numOfTarget` may be smaller than the actual value, which will result 
> in inaccurate generated `excessTypes`.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to