File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
core/src/test/java/org/elasticsearch/index/engine Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments