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

Change local index replica count to 0 #257

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

dzane17
Copy link
Collaborator

@dzane17 dzane17 commented Mar 7, 2025

Description

Change local index replica count to 0 so that top-queries-* indices are not yellow on single-node domains.

Testing

% curl -X GET "localhost:9200/_cat/indices?v&s=index"                                                   
health status index                        uuid                   pri rep docs.count docs.deleted store.size pri.store.size
yellow open   my_index                     uqyrGgMtR7mWxe7sjXTSwg   1   1          2            0      6.3kb          6.3kb
green  open   top_queries-2025.03.07-21637 MnAUaYYIRZSySeXbpZHWmw   1   0          3            6     88.7kb         88.7kb

Issues Resolved

Resolves #256

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: David Zane <davizane@amazon.com>
@dzane17 dzane17 marked this pull request as ready for review March 7, 2025 21:49
@ansjcy ansjcy merged commit 5ef5437 into opensearch-project:main Mar 7, 2025
16 checks passed
@dzane17 dzane17 deleted the replicas branch March 7, 2025 22:01
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 7, 2025
Signed-off-by: David Zane <davizane@amazon.com>
(cherry picked from commit 5ef5437)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dzane17 pushed a commit that referenced this pull request Mar 9, 2025
(cherry picked from commit 5ef5437)

Signed-off-by: David Zane <davizane@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

[BUG] Indices top_queries-* are permanently in YELLOW state
3 participants