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 "Danny Becker (Jira)" <ji...@apache.org> on 2024/02/24 00:25:00 UTC

[jira] [Created] (HDFS-17396) BootstrapStandby should download rollback image during RollingUpgrade

Danny Becker created HDFS-17396:
-----------------------------------

             Summary: BootstrapStandby should download rollback image during RollingUpgrade 
                 Key: HDFS-17396
                 URL: https://issues.apache.org/jira/browse/HDFS-17396
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
    Affects Versions: 3.4.0
            Reporter: Danny Becker
            Assignee: Danny Becker
             Fix For: 3.4.0


Due to [HDFS-17178|https://issues.apache.org/jira/browse/HDFS-17178], BootstrapStandby can now succeed during a RollingUpgrade. This can lead to an edge case where the bootstrapped NameNode does not have the fsimage_rollback_N file locally so it does not recognize that it is in a RollingUpgrade. This means the bootstrapped NameNode will overwrite the VERSION file during a checkpoint because it does not know that the NameService is in a RollingUpgrade.

 

BootstrapStandby needs to download the fsimage_rollback_N file in addition to the normal fsimage_N file so that the bootstrapped node correctly recognizes the RollingUpgrade state of the NameService.



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