[ https://issues.apache.org/jira/browse/HDFS-16557?focusedWorklogId=760706&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-760706 ]
ASF GitHub Bot logged work on HDFS-16557: ----------------------------------------- Author: ASF GitHub Bot Created on: 22/Apr/22 09:21 Start Date: 22/Apr/22 09:21 Worklog Time Spent: 10m Work Description: tomscut opened a new pull request, #4219: URL: https://github.com/apache/hadoop/pull/4219 JIRA: HDFS-16557. 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. ![image](https://user-images.githubusercontent.com/55134131/164676951-686f46ae-9b89-4be8-8d3c-41a08bb432ae.png) ![image](https://user-images.githubusercontent.com/55134131/164676977-bd3ece9d-3ffc-406f-8c06-aacdeac0dee8.png) Issue Time Tracking ------------------- Worklog Id: (was: 760706) Remaining Estimate: 0h Time Spent: 10m > 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 > Priority: Major > Attachments: image-2022-04-22-17-17-14-577.png, > image-2022-04-22-17-17-14-618.png, image-2022-04-22-17-17-23-113.png, > image-2022-04-22-17-17-32-487.png > > Time Spent: 10m > Remaining Estimate: 0h > > 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. > !image-2022-04-22-17-17-32-487.png|width=766,height=161! > !image-2022-04-22-17-17-14-577.png|width=598,height=187! -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org