Skip to content

Add back primary shard preference for queries#7375

Merged
kotwanikunal merged 1 commit intoopensearch-project:mainfrom
kotwanikunal:primary-preference
May 4, 2023
Merged

Add back primary shard preference for queries#7375
kotwanikunal merged 1 commit intoopensearch-project:mainfrom
kotwanikunal:primary-preference

Conversation

@kotwanikunal
Copy link
Copy Markdown
Member

Description

  • Adds back primary shard preference for queries

Related Issues

Resolves #6046

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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
Copy Markdown
Contributor

github-actions bot commented May 2, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented May 2, 2023

Gradle Check (Jenkins) Run Completed with:

@kotwanikunal
Copy link
Copy Markdown
Member Author

kotwanikunal commented May 2, 2023

Cloning into 'search'...
fatal: reference is not a tree: 559102916ccb3abeb3618151ca8240e0487e72bd

@kotwanikunal
Copy link
Copy Markdown
Member Author

Gradle Check (Jenkins) Run Completed with:

Cloning into 'search'...
fatal: reference is not a tree: 44ba994f3f73b7b1c9015c179635c241952a9984
[Pipeline] }

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented May 2, 2023

Gradle Check (Jenkins) Run Completed with:

@kotwanikunal
Copy link
Copy Markdown
Member Author

Gradle Check (Jenkins) Run Completed with:

I think we are missing a version bump to main here -

* What went wrong:
Execution failed for task ':distribution:bwc:staged:buildBwcLinuxTar'.
> Building 2.7.0 didn't generate expected file /var/jenkins/workspace/gradle-check/search/distribution/bwc/staged/build/bwc/checkout-2.7/distribution/archives/linux-tar/build/distributions/opensearch-min-2.7.0-SNAPSHOT-linux-x64.tar.gz

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.

This was referenced Jun 29, 2023
shiv0408 pushed a commit to Gaurav614/OpenSearch that referenced this pull request Apr 25, 2024
Signed-off-by: Kunal Kotwani <kkotwani@amazon.com>
Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.x Backport to 2.x branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DISCUSS] Add back preference for searching _primaries or _replicas

5 participants