-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Delete useless loop in TransportBulkAction$BulkOperation.doRun() #16950
Delete useless loop in TransportBulkAction$BulkOperation.doRun() #16950
Conversation
9f29f7c
to
0e48cc9
Compare
❕ Gradle check result for 0e48cc9: 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 #16950 +/- ##
============================================
+ Coverage 72.21% 72.42% +0.20%
- Complexity 65289 65402 +113
============================================
Files 5301 5301
Lines 303725 303750 +25
Branches 44008 44011 +3
============================================
+ Hits 219340 219991 +651
+ Misses 66394 65744 -650
- Partials 17991 18015 +24 ☔ View full report in Codecov by Sentry. |
org.opensearch.cluster.MinimumClusterManagerNodesIT.testThreeNodesNoClusterManagerBlock #14289 |
server/src/main/java/org/opensearch/action/bulk/TransportBulkAction.java
Show resolved
Hide resolved
Signed-off-by: kkewwei <[email protected]> Signed-off-by: kkewwei <[email protected]>
0e48cc9
to
7aa62d0
Compare
Signed-off-by: kkewwei <[email protected]> Signed-off-by: kkewwei <[email protected]> (cherry picked from commit fccd6c5) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
The second loop is useless, we can merge it into the first loop. The exist it/ut can cover the changed, I don't know whether I should add additional test about it.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
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.