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

[Backport 2.x] Add _primary preference only for segment replication enabled indices #2045

Merged
merged 1 commit into from
Sep 1, 2023

Commits on Sep 1, 2023

  1. Add _primary preference only for segment replication enabled indices (#…

    …2040)
    
    * Add _primary preference only for segment replication enabled indices
    
    Signed-off-by: Suraj Singh <[email protected]>
    
    * Add test for segment replication tests
    
    Signed-off-by: Suraj Singh <[email protected]>
    
    * Remove isSegRepEnabled check and use _primary_first preference
    
    Signed-off-by: Suraj Singh <[email protected]>
    
    * Remove unused ClusterState reference
    
    Signed-off-by: Suraj Singh <[email protected]>
    
    * Self review
    
    Signed-off-by: Suraj Singh <[email protected]>
    
    ---------
    
    Signed-off-by: Suraj Singh <[email protected]>
    (cherry picked from commit 9c12628)
    Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    5845e26 View commit details
    Browse the repository at this point in the history