-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[RW Separation] Introduce allocation filter to control placement of search only replicas #15455
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
mch2
force-pushed
the
alloc-split
branch
2 times, most recently
from
August 30, 2024 20:30
f8b2a81
to
45e354f
Compare
This comment was marked as outdated.
This comment was marked as outdated.
mch2
requested review from
anasalkouz,
andrross,
ashking94,
Bukhtawar,
CEHENKLE,
dblock,
dbwiddis,
gbbafna,
jainankitk,
kotwanikunal,
linuxpi,
msfroh,
nknize,
owaiskazi19,
reta,
Rishikesh1159,
sachinpkale,
saratvemulapalli,
shwetathareja and
sohami
as code owners
August 30, 2024 20:31
|
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Sep 4, 2024
…earch only replicas (#15455) * Introduce allocation filter to control placement of search only replicas Signed-off-by: Marc Handalian <[email protected]> * Add a new decider rather than updating the existing FilterAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Fix license header and description on SearchReplicaAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Pr feedback. Signed-off-by: Marc Handalian <[email protected]> * Fix class name to pass precommit checks Signed-off-by: Marc Handalian <[email protected]> * Refactor all search replica create/update tests to a single OpenSearchSingleNodeTestCase. Signed-off-by: Marc Handalian <[email protected]> * remove changelog entry Signed-off-by: Marc Handalian <[email protected]> --------- Signed-off-by: Marc Handalian <[email protected]> (cherry picked from commit b345439) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Sep 4, 2024
…earch only replicas (#15455) * Introduce allocation filter to control placement of search only replicas Signed-off-by: Marc Handalian <[email protected]> * Add a new decider rather than updating the existing FilterAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Fix license header and description on SearchReplicaAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Pr feedback. Signed-off-by: Marc Handalian <[email protected]> * Fix class name to pass precommit checks Signed-off-by: Marc Handalian <[email protected]> * Refactor all search replica create/update tests to a single OpenSearchSingleNodeTestCase. Signed-off-by: Marc Handalian <[email protected]> * remove changelog entry Signed-off-by: Marc Handalian <[email protected]> --------- Signed-off-by: Marc Handalian <[email protected]> (cherry picked from commit b345439) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
mch2
added a commit
to mch2/OpenSearch
that referenced
this pull request
Sep 4, 2024
…earch only replicas (opensearch-project#15455) * Introduce allocation filter to control placement of search only replicas Signed-off-by: Marc Handalian <[email protected]> * Add a new decider rather than updating the existing FilterAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Fix license header and description on SearchReplicaAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Pr feedback. Signed-off-by: Marc Handalian <[email protected]> * Fix class name to pass precommit checks Signed-off-by: Marc Handalian <[email protected]> * Refactor all search replica create/update tests to a single OpenSearchSingleNodeTestCase. Signed-off-by: Marc Handalian <[email protected]> * remove changelog entry Signed-off-by: Marc Handalian <[email protected]> --------- Signed-off-by: Marc Handalian <[email protected]>
mch2
added a commit
to mch2/OpenSearch
that referenced
this pull request
Sep 4, 2024
…earch only replicas (opensearch-project#15455) * Introduce allocation filter to control placement of search only replicas Signed-off-by: Marc Handalian <[email protected]> * Add a new decider rather than updating the existing FilterAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Fix license header and description on SearchReplicaAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Pr feedback. Signed-off-by: Marc Handalian <[email protected]> * Fix class name to pass precommit checks Signed-off-by: Marc Handalian <[email protected]> * Refactor all search replica create/update tests to a single OpenSearchSingleNodeTestCase. Signed-off-by: Marc Handalian <[email protected]> * remove changelog entry Signed-off-by: Marc Handalian <[email protected]> --------- Signed-off-by: Marc Handalian <[email protected]>
This was referenced Sep 6, 2024
akolarkunnu
pushed a commit
to akolarkunnu/OpenSearch
that referenced
this pull request
Sep 10, 2024
…earch only replicas (opensearch-project#15455) * Introduce allocation filter to control placement of search only replicas Signed-off-by: Marc Handalian <[email protected]> * Add a new decider rather than updating the existing FilterAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Fix license header and description on SearchReplicaAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Pr feedback. Signed-off-by: Marc Handalian <[email protected]> * Fix class name to pass precommit checks Signed-off-by: Marc Handalian <[email protected]> * Refactor all search replica create/update tests to a single OpenSearchSingleNodeTestCase. Signed-off-by: Marc Handalian <[email protected]> * remove changelog entry Signed-off-by: Marc Handalian <[email protected]> --------- Signed-off-by: Marc Handalian <[email protected]>
This was referenced Sep 11, 2024
dk2k
pushed a commit
to dk2k/OpenSearch
that referenced
this pull request
Oct 16, 2024
…earch only replicas (opensearch-project#15455) * Introduce allocation filter to control placement of search only replicas Signed-off-by: Marc Handalian <[email protected]> * Add a new decider rather than updating the existing FilterAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Fix license header and description on SearchReplicaAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Pr feedback. Signed-off-by: Marc Handalian <[email protected]> * Fix class name to pass precommit checks Signed-off-by: Marc Handalian <[email protected]> * Refactor all search replica create/update tests to a single OpenSearchSingleNodeTestCase. Signed-off-by: Marc Handalian <[email protected]> * remove changelog entry Signed-off-by: Marc Handalian <[email protected]> --------- Signed-off-by: Marc Handalian <[email protected]>
dk2k
pushed a commit
to dk2k/OpenSearch
that referenced
this pull request
Oct 17, 2024
…earch only replicas (opensearch-project#15455) * Introduce allocation filter to control placement of search only replicas Signed-off-by: Marc Handalian <[email protected]> * Add a new decider rather than updating the existing FilterAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Fix license header and description on SearchReplicaAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Pr feedback. Signed-off-by: Marc Handalian <[email protected]> * Fix class name to pass precommit checks Signed-off-by: Marc Handalian <[email protected]> * Refactor all search replica create/update tests to a single OpenSearchSingleNodeTestCase. Signed-off-by: Marc Handalian <[email protected]> * remove changelog entry Signed-off-by: Marc Handalian <[email protected]> --------- Signed-off-by: Marc Handalian <[email protected]>
dk2k
pushed a commit
to dk2k/OpenSearch
that referenced
this pull request
Oct 21, 2024
…earch only replicas (opensearch-project#15455) * Introduce allocation filter to control placement of search only replicas Signed-off-by: Marc Handalian <[email protected]> * Add a new decider rather than updating the existing FilterAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Fix license header and description on SearchReplicaAllocationDecider Signed-off-by: Marc Handalian <[email protected]> * Pr feedback. Signed-off-by: Marc Handalian <[email protected]> * Fix class name to pass precommit checks Signed-off-by: Marc Handalian <[email protected]> * Refactor all search replica create/update tests to a single OpenSearchSingleNodeTestCase. Signed-off-by: Marc Handalian <[email protected]> * remove changelog entry Signed-off-by: Marc Handalian <[email protected]> --------- Signed-off-by: Marc Handalian <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Introduce allocation filter to control placement of search only replicas.
The new filter
cluster.routing.allocation.search.replica.dedicated.include
acts as a normal include filter in that you can specify multiple values and search shards will allocate there if one of the attributes is present on a particular node. However, it is different from existing include filters in that it is exclusive to search replicas and will exclude any non search shard for all of the attributes set.Related Issues
Resolves #15445
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.