Skip to content

Adjust the getAutoExpandReplicaChanges logic to honor search_only mode.#17865

Merged
mch2 merged 5 commits intoopensearch-project:mainfrom
prudhvigodithi:searchonly-2
Apr 9, 2025
Merged

Adjust the getAutoExpandReplicaChanges logic to honor search_only mode.#17865
mch2 merged 5 commits intoopensearch-project:mainfrom
prudhvigodithi:searchonly-2

Conversation

@prudhvigodithi
Copy link
Copy Markdown
Member

Description

Adjust the getAutoExpandReplicaChanges logic to honor search_only mode.

Related Issues

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.

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
@prudhvigodithi prudhvigodithi self-assigned this Apr 9, 2025
@prudhvigodithi prudhvigodithi changed the title Adjust the getAutoExpandReplicaChanges logic to honor search_only mode. Adjust the getAutoExpandReplicaChanges logic to honor search_only mode. Apr 9, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2025

✅ Gradle check result for e098834: SUCCESS

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.37%. Comparing base (c91cdcb) to head (62f251c).
Report is 33 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #17865      +/-   ##
============================================
- Coverage     72.46%   72.37%   -0.09%     
+ Complexity    66502    66443      -59     
============================================
  Files          5408     5408              
  Lines        308080   308187     +107     
  Branches      44720    44747      +27     
============================================
- Hits         223239   223064     -175     
- Misses        66536    66860     +324     
+ Partials      18305    18263      -42     

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

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2025

❕ Gradle check result for 2cfaf3f: 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.

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2025

❌ Gradle check result for 0d998f9: 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?

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2025

✅ Gradle check result for 62f251c: SUCCESS

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Performance Roadmap Apr 9, 2025
@mch2 mch2 merged commit 51a217a into opensearch-project:main Apr 9, 2025
31 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Performance Roadmap Apr 9, 2025
@prudhvigodithi prudhvigodithi added the v3.0.0 Issues and PRs related to version 3.0.0 label Apr 10, 2025
rgsriram pushed a commit to rgsriram/OpenSearch that referenced this pull request Apr 15, 2025
… mode. (opensearch-project#17865)

* Adjust auto expand replica logic

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Add code comments

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Add IT test

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Fix spotless

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Fix spotless

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

---------

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Signed-off-by: Sriram Ganesh <srignsh22@gmail.com>
Harsh-87 pushed a commit to Harsh-87/OpenSearch that referenced this pull request May 7, 2025
… mode. (opensearch-project#17865)

* Adjust auto expand replica logic

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Add code comments

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Add IT test

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Fix spotless

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Fix spotless

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

---------

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Signed-off-by: Harsh Kothari <techarsh@amazon.com>
Harsh-87 pushed a commit to Harsh-87/OpenSearch that referenced this pull request May 7, 2025
… mode. (opensearch-project#17865)

* Adjust auto expand replica logic

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Add code comments

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Add IT test

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Fix spotless

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Fix spotless

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

---------

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Signed-off-by: Harsh Kothari <techarsh@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog v3.0.0 Issues and PRs related to version 3.0.0

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[RW Separation] Honor search_only mode when auto_expand_replicas is set

3 participants