tomscut created HDFS-16557:
------------------------------

             Summary: BootstrapStandby failed because of checking Gap for 
inprogress EditLogInputStream
                 Key: HDFS-16557
                 URL: https://issues.apache.org/jira/browse/HDFS-16557
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: tomscut
            Assignee: tomscut


The lastTxId of an inprogress EditLogInputStream lastTxId isn't necessarily 
HdfsServerConstants.INVALID_TXID. We can determine its status directly by 
EditLogInputStream#isInProgress.

For example, when bootstrapStandby, the EditLogInputStream of inProgress is 
misjudged, resulting in a gap check failure, which causes bootstrapStandby to 
fail.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to