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

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

Great work Walter! It's probably simpler to treat data and parity blocks 
uniformly here. We can calculate "safe length" as the smallest length that 
covers at least 6 internal blocks. In your example, that would be the length of 
blk_5. We can then leave all data/parity blocks smaller than this length as 
stale replicas. {{ErasureCodingWorker}} will take care of replacing them.


> 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
>
>




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

Reply via email to