We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff9be2b commit edc0bd9Copy full SHA for edc0bd9
server/src/main/java/org/elasticsearch/index/shard/IndexShard.java
@@ -1418,8 +1418,6 @@ public long recoverLocallyUpToGlobalCheckpoint() {
1418
maybeCheckIndex(); // check index here and won't do it again if ops-based recovery occurs
1419
recoveryState.setStage(RecoveryState.Stage.TRANSLOG);
1420
if (safeCommit.isPresent() == false) {
1421
- assert globalCheckpoint == UNASSIGNED_SEQ_NO || indexSettings.getIndexVersionCreated().before(Version.V_6_2_0) :
1422
- "global checkpoint [" + globalCheckpoint + "] [ created version [" + indexSettings.getIndexVersionCreated() + "]";
1423
logger.trace("skip local recovery as no safe commit found");
1424
return UNASSIGNED_SEQ_NO;
1425
}
0 commit comments