-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] ShuffleForcedMergePolicyTests testDiagnostics failing #88032
Comments
Pinging @elastic/es-distributed (Team:Distributed) |
Since this does reproduce locally, I'd like to give it a try. @elastic/es-distributed In case this is blocking others, and you know a quick fix, please let me know. |
The failure seems to be a result of bumping Lucene to 9.3.0 (#87932). One of the changes in 9.3.0 (Merge-on-refesh) also makes changes to the base test class used in this test, which means essentially merge-on-refresh is not always disabled in the default config we get from I think, one way to address this is to explicitly disable merge-on-refresh in the test setup. This would essentially give the same test setup as before using 9.3.0. However, I do have one question about the test itself. The main point of the test seems to be ensuring that some metadata regarding how merging was performed persists across merges (i.e., ShuffleForcedMergePolicy was used). If we just need to make sure we have more than one segment so the force merge call in the code actually merges them to one segment, why do we expect more than 2 segments here (from what I understood, leaves are the segments!)? Wouldn't it be enough to expect more than 1 segment? (which would also fix the test). |
I think we still need more than 2 segments to test |
Thank Francisco, I'll do that. |
Build scan:
https://gradle-enterprise.elastic.co/s/uk4cuajaxninu/tests/:server:test/org.elasticsearch.index.engine.ShuffleForcedMergePolicyTests/testDiagnostics
Reproduction line:
null
Applicable branches:
master
Reproduces locally?:
Yes
Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.index.engine.ShuffleForcedMergePolicyTests&tests.test=testDiagnostics
Failure excerpt:
The text was updated successfully, but these errors were encountered: