[CI] RemoveCorruptedShardDataCommandTests.testCorruptedBothIndexAndTranslog fails after lucene upgrade #52490
Labels
:Distributed Indexing/Engine
Anything around managing Lucene and the Translog in an open shard.
>test-failure
Triaged test failures from CI
The 7.x test fails with:
This error is caused by lucene not detecting the corruption after latest snapshot upgrade. The error reproduces locally (on 7.x branch) using:
If I do:
the problem disappears since Lucene detects the corruption.
Elasticsearch validates the last commit using
Store.checkIntegrity
which callsCodecUtil.checksumEntireFile(input)
. I am not sure if the problem is a bug in Lucene or Elasticsearch being overly ambitious here. Given that we do corrupt the file I tend to think Lucene is at fault, but the comment here could also indicate that this is simply a discrepancy in the checks?The text was updated successfully, but these errors were encountered: