Skip to content

Commit 2a8d069

Browse files
committed
Remove stale comment
1 parent f57eb99 commit 2a8d069

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

core/src/test/java/org/elasticsearch/index/engine/InternalEngineTests.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2998,8 +2998,6 @@ public long generateSeqNo() {
29982998

29992999
try (final Engine recoveringEngine =
30003000
new InternalEngine(copy(initialEngine.config(), EngineConfig.OpenMode.OPEN_INDEX_AND_TRANSLOG))) {
3001-
// there might be gaps in the translog; the best that we can say is that the local checkpoint is at least as far the max
3002-
// sequence number
30033001
assertThat(recoveringEngine.seqNoService().getLocalCheckpoint(), greaterThanOrEqualTo((long) (docs - 1)));
30043002
}
30053003
}
@@ -3038,8 +3036,6 @@ public void testSequenceNumberAdvancesToMaxSeqNoOnEngineOpenOnReplica() throws I
30383036

30393037
try (final Engine recoveringEngine =
30403038
new InternalEngine(copy(initialEngine.config(), EngineConfig.OpenMode.OPEN_INDEX_AND_TRANSLOG))) {
3041-
// there might be gaps in the translog; the best that we can say is that the local checkpoint is at least as far the max
3042-
// sequence number
30433039
assertThat(recoveringEngine.seqNoService().getLocalCheckpoint(), greaterThanOrEqualTo((long) (3 * docs + 2 - 1)));
30443040
}
30453041
}

0 commit comments

Comments
 (0)