You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Shuyan Zhang (Jira)" <ji...@apache.org> on 2023/05/22 02:18:00 UTC

[jira] [Resolved] (HDFS-17021) GENSTAMP_MISMATCH replica can not be removed by invalidateCorruptReplicas()

     [ https://issues.apache.org/jira/browse/HDFS-17021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shuyan Zhang resolved HDFS-17021.
---------------------------------
    Resolution: Not A Bug

> GENSTAMP_MISMATCH replica can not be removed by invalidateCorruptReplicas()
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-17021
>                 URL: https://issues.apache.org/jira/browse/HDFS-17021
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Shuyan Zhang
>            Assignee: Shuyan Zhang
>            Priority: Major
>
> If a replica is corrupted due to generation stamp mismatch, the corresponding datanode stores a wrong generation stamp while `invalidateCorruptReplicas()` will send right generation stamp to the datanode.  Therefore, the check on datanode can not pass successfully as discussion in [https://github.com/apache/hadoop/pull/5643.] resulting in the corrupted replica unable to be successfully deleted. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org