[
https://issues.apache.org/jira/browse/HDFS-8688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14630680#comment-14630680
]
Walter Su commented on HDFS-8688:
---------------------------------
bq. So in the case all replicas are in decommission_inprogress state,
blockHasEnoughRacks might still be called. If so, blockHasEnoughRacks currently
returns false as it couldn't find any live replica; but with the patch, it
returns true.
Oh, I see. You are right. Thanks for the explanation.
> replace shouldCheckForEnoughRacks with hasClusterEverBeenMultiRack
> ------------------------------------------------------------------
>
> Key: HDFS-8688
> URL: https://issues.apache.org/jira/browse/HDFS-8688
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Walter Su
> Assignee: Walter Su
> Attachments: HDFS-8688.01.patch, HDFS-8688.02.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)