[
https://issues.apache.org/jira/browse/HDFS-16964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704560#comment-17704560
]
ASF GitHub Bot commented on HDFS-16964:
---------------------------------------
zhangshuyan0 opened a new pull request, #5510:
URL: https://github.com/apache/hadoop/pull/5510
<!--
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
After failover, the block with excess redundancy cannot be processed until
all replicas are not stale, because the stale ones may have been deleted. That
is to say, we need to wait for the FBRs of all datanodes on which the block
resides before deleting the redundant replicas. This is unnecessary, we can
bypass stale replicas when dealing with excess replicas, and delete non-stale
excess replicas in a more timely manner.
> Improve processing of excess redundancy after failover
> ------------------------------------------------------
>
> Key: HDFS-16964
> URL: https://issues.apache.org/jira/browse/HDFS-16964
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Shuyan Zhang
> Assignee: Shuyan Zhang
> Priority: Major
>
> After failover, the block with excess redundancy cannot be processed until
> all replicas are not stale, because the stale ones may have been deleted.
> That is to say, we need to wait for the FBRs of all datanodes on which the
> block resides before deleting the redundant replicas. This is unnecessary, we
> can bypass stale replicas when dealing with excess replicas, and delete
> non-stale excess replicas in a more timely manner.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]