-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix Flaky Test testPendingTasksWithClusterNotRecoveredBlock #17397
Conversation
Signed-off-by: kkewwei <[email protected]> Signed-off-by: kkewwei <[email protected]>
...internalClusterTest/java/org/opensearch/action/admin/cluster/tasks/PendingTasksBlocksIT.java
Outdated
Show resolved
Hide resolved
@kkewwei Thank you for taking a look at this flaky test :) |
❌ Gradle check result for bf95318: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❕ Gradle check result for bf95318: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17397 +/- ##
============================================
- Coverage 72.37% 72.35% -0.02%
+ Complexity 65519 65496 -23
============================================
Files 5291 5291
Lines 304302 304325 +23
Branches 44174 44181 +7
============================================
- Hits 220240 220200 -40
- Misses 65997 66018 +21
- Partials 18065 18107 +42 ☔ View full report in Codecov by Sentry. |
Thanks @kkewwei! |
Description
There is a situation where the cluster contains 4 nodes, nodeCount=4, dataNodeCount=3
node0(role=cluster_manager)
node1(role=cluster_manager,data)
node2(role=cluster_manager,data)
node3(role=data)
if
gateway.recover_after_data_nodes
= 5(nodeCount + 1), when westartDataOnlyNode
, dataNodeCount=4, we will never performing state recovery.Related Issues
Resolves #17369
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.