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

Zhe Zhang commented on HDFS-9173:
---------------------------------

bq. syncList contains both data and parity blocks
{{getSafeLength}} already handles this case. It sorts all lengths and gets the 
"smallest length that covers at least 6 internal blocks". Then we discard the 3 
internal blocks that are longer than the safeLength (if necessary), and let NN 
reconstruct them later.

bq. the same data block may repeat.
I agree. Special handling is needed for over-replicated striped blocks. Maybe 
add a TODO here and fix it separately?

> Erasure Coding: Lease recovery for striped file
> -----------------------------------------------
>
>                 Key: HDFS-9173
>                 URL: https://issues.apache.org/jira/browse/HDFS-9173
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Walter Su
>            Assignee: Walter Su
>         Attachments: HDFS-9173.00.wip.patch, HDFS-9173.01.patch, 
> HDFS-9173.02.step125.patch, HDFS-9173.03.patch, HDFS-9173.04.patch, 
> HDFS-9173.05.patch, HDFS-9173.06.patch, HDFS-9173.07.patch, HDFS-9173.08.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to