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

adding _replicas_only preference for Shadow Replica indices #12222

Closed
kozaczynski opened this issue Jul 14, 2015 · 0 comments
Closed

adding _replicas_only preference for Shadow Replica indices #12222

kozaczynski opened this issue Jul 14, 2015 · 0 comments
Labels
discuss :Search/Search Search-related issues that do not fall into other categories

Comments

@kozaczynski
Copy link

For Shadow Replica indices stored in shared storage we want to delegate queries to the shadow replica nodes only. This is to maximize the ingestion rates by preventing primary shard nodes from both indexing and running queries. The preference settings (see: https://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-request-preference.html ) do not include an option to delegate queries to replicas only.

This is a request to add _replicas_only preference to the current set of preferences (or _shadow_replicas_only, if we limit the feature to Shadow Replica indices).

@clintongormley clintongormley added discuss :Search/Search Search-related issues that do not fall into other categories labels Jul 14, 2015
dakrone added a commit to dakrone/elasticsearch that referenced this issue Jul 16, 2015
Just like specifying `?preference=_primary`, this adds the ability to
specify `?preference=_replica` or `?preference=_replica_first` on
requests that support it.

Resolves elastic#12222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss :Search/Search Search-related issues that do not fall into other categories
Projects
None yet
Development

No branches or pull requests

2 participants