[
https://issues.apache.org/jira/browse/HDFS-9173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-9173:
----------------------------
Attachment: HDFS-9173.06.patch
Upload a rebased patch for Walter. Also did some minor code cleanup in class
{{RecoveryTaskStriped}} by removing some redundant class member fields.
bq. better to use if-else to avoid constructing RecoveringBlock unnecessarily
The original patch only defines a copy constructor for
{{RecoveryStripedBlock}}, thus in that piece of code it may be hard to use a
if-else unless we change the constructor definition. Maybe it's ok now just
leaving it there?
> 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
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)