Skip to content

Conversation

@skumawat2025
Copy link
Contributor

@skumawat2025 skumawat2025 commented Apr 22, 2025

This PR adds following changes.

  • Changes in TargetPoolAllocationDecider - If shards exists in REMOTE_POOL node and shard pool changes for these shards. Decider should make sure these can no longer remain on the REMOTE_POOL nodes.
  • Changed INDEX_STORE_LOCALITY_SETTING setting occurrences to IS_WARM_INDEX setting

Description

[Describe what this change achieves]

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.

@github-actions
Copy link
Contributor

❌ Gradle check result for 085f06d: 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?

@rayshrey
Copy link
Contributor

We have some tests failing which seem related to the current changes only, can you check and fix these failures - https://build.ci.opensearch.org/job/gradle-check/56866/

@skumawat2025 skumawat2025 force-pushed the allocation-pool-decider branch from 085f06d to 64217ba Compare April 24, 2025 08:22
Signed-off-by: Sandeep Kumawat <skumwt@amazon.com>
@skumawat2025 skumawat2025 force-pushed the allocation-pool-decider branch from 64217ba to 4887d36 Compare April 24, 2025 08:28
@skumawat2025
Copy link
Contributor Author

We have some tests failing which seem related to the current changes only, can you check and fix these failures - https://build.ci.opensearch.org/job/gradle-check/56866/

Fixed.

@github-actions
Copy link
Contributor

❕ Gradle check result for 4887d36: 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
Copy link

codecov bot commented Apr 24, 2025

Codecov Report

Attention: Patch coverage is 88.88889% with 1 line in your changes missing coverage. Please review.

Project coverage is 72.55%. Comparing base (96481cc) to head (4887d36).
Report is 22 commits behind head on main.

Files with missing lines Patch % Lines
...g/opensearch/cluster/routing/OperationRouting.java 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #18027      +/-   ##
============================================
- Coverage     72.59%   72.55%   -0.04%     
+ Complexity    67172    67127      -45     
============================================
  Files          5478     5478              
  Lines        310125   310131       +6     
  Branches      45080    45082       +2     
============================================
- Hits         225135   225021     -114     
- Misses        66676    66712      +36     
- Partials      18314    18398      +84     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gbbafna gbbafna changed the title Add some fixes in TargetPoolAllocationDecider Add remote to local pool change handling in TargetPoolAllocationDecider Apr 24, 2025
Copy link
Contributor

@rayshrey rayshrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gbbafna gbbafna merged commit 4c76c1d into opensearch-project:main Apr 24, 2025
35 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants