-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[BUG] Fix flaky org.opensearch.search.PitMultiNodeTests.testCreatePitWhileNodeDropWithAllowPartialCreationFalse test #4259
Comments
https://github.com/opensearch-project/OpenSearch/pull/4632/files -- this has the fix and it was merged already. I was not able to reproduce the issue with 500 iterationss in local. Post 2.x I don't see this issue being tagged as well. We can close the issue if this issue is not seen in the latest builds. |
Copying a summary of comment over from #4089 where several repro logs and other comments were made. See that issue for background. Have spent several hours digging into this issue. For the create failure; it's obviously a race condition and close to a Heisenbug. While regularly reproducible at least once in a run of size 500, adding logging extended successful runs with a failure on run 2463. Commonalities when it fails:
Tracing through the debug logs I added, I'm at the "how did this ever work" phase of debugging. The boolean OpenSearch/server/src/main/java/org/opensearch/action/search/CreatePitController.java Lines 123 to 153 in ea1cc9d
The getter Looks like this code was implemented in #3921. @bharath-techie do you have any observations/comments that can further help debug this? |
The issue is back: |
Describe the bug
Another flaky test, introduced by https://github.com/opensearch-project/OpenSearch/pull/3921/files
@Bukhtawar could you please take a look?
To Reproduce
Expected behavior
Test must always pass
Plugins
Standard
Screenshots
Host/Environment (please complete the following information):
Additional context
See please https://build.ci.opensearch.org/job/gradle-check/1902/testReport/junit/org.opensearch.search/PitMultiNodeTests/testCreatePitWhileNodeDropWithAllowPartialCreationFalse/
The text was updated successfully, but these errors were encountered: