-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Distributed Indexing/EngineAnything around managing Lucene and the Translog in an open shard.Anything around managing Lucene and the Translog in an open shard.>test-failureTriaged test failures from CITriaged test failures from CI
Description
RemoveCorruptedShardDataCommandTests.testCorruptedTranslog fails reproducibly on the 7.x branch (confirmed using commit bb91291) with this repro command:
./gradlew ':server:test' --tests "org.elasticsearch.index.shard.RemoveCorruptedShardDataCommandTests.testCorruptedTranslog" \
-Dtests.seed=73D8350A7F9C1987 \
-Dtests.security.manager=true \
-Dtests.locale=sl \
-Dtests.timezone=Europe/Brussels \
-Dcompiler.java=12 \
-Druntime.java=12
and this error:
2> java.lang.AssertionError: minTranslogGen [11] is higher than generation [10]
at __randomizedtesting.SeedInfo.seed([73D8350A7F9C1987:41A0283FE58FDB57]:0)
at org.elasticsearch.index.translog.Checkpoint.<init>(Checkpoint.java:100)
at org.elasticsearch.index.translog.TestTranslog.corruptRandomTranslogFile(TestTranslog.java:99)
at org.elasticsearch.index.translog.TestTranslog.corruptRandomTranslogFile(TestTranslog.java:72)
at org.elasticsearch.index.shard.RemoveCorruptedShardDataCommandTests.testCorruptedTranslog(RemoveCorruptedShardDataCommandTests.java:220)
If you change the seed then it doesn't fail.
The CI build where this happened was https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.x+matrix-java-periodic/ES_BUILD_JAVA=openjdk12,ES_RUNTIME_JAVA=java12,nodes=general-purpose/371/console
Metadata
Metadata
Assignees
Labels
:Distributed Indexing/EngineAnything around managing Lucene and the Translog in an open shard.Anything around managing Lucene and the Translog in an open shard.>test-failureTriaged test failures from CITriaged test failures from CI