Kidd53685368 opened a new pull request, #4901:
URL: https://github.com/apache/hadoop/pull/4901

   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: 
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 
'HADOOP-17799. Your PR title ...'.
   -->
   
   ### Description of PR
   [JIRA-HDFS-16776](https://issues.apache.org/jira/browse/HDFS-16776)
   The length of targets should be checked when DN gets a EC reconstruction 
task.For some reason 
([HDFS-14768](https://issues.apache.org/jira/browse/HDFS-14768), 
[HDFS-16739](https://issues.apache.org/jira/browse/HDFS-16739)) , the length of 
targets will be larger than additionalReplRequired which causes some elements 
in targets get the default value 0. It may trigger the bug which leads to the 
data corrupttion just like 
[HDFS-14768](https://issues.apache.org/jira/browse/HDFS-14768).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to