Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kkewwei
Copy link
Contributor

@kkewwei kkewwei commented Jan 5, 2025

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

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

@kkewwei kkewwei force-pushed the delete_useless_loop_in_TransportBulkAction branch from 9f29f7c to 0e48cc9 Compare January 5, 2025 05:50
Copy link
Contributor

github-actions bot commented Jan 5, 2025

❕ 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.

Copy link

codecov bot commented Jan 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.26%. Comparing base (c0f7806) to head (0e48cc9).

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #16950      +/-   ##
============================================
+ Coverage     72.21%   72.26%   +0.04%     
- Complexity    65232    65304      +72     
============================================
  Files          5299     5299              
  Lines        303496   303491       -5     
  Branches      43931    43929       -2     
============================================
+ Hits         219181   219325     +144     
+ Misses        66302    66156     -146     
+ Partials      18013    18010       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kkewwei
Copy link
Contributor Author

kkewwei commented Jan 5, 2025

❕ 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.

org.opensearch.cluster.MinimumClusterManagerNodesIT.testThreeNodesNoClusterManagerBlock #14289

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant