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

[Weighted Round Robin] Improve Weighted Round Robin shard rounting #6857

Open
linuxpi opened this issue Mar 28, 2023 · 0 comments
Open

[Weighted Round Robin] Improve Weighted Round Robin shard rounting #6857

linuxpi opened this issue Mar 28, 2023 · 0 comments
Labels
distributed framework enhancement Enhancement or improvement to existing feature or request

Comments

@linuxpi
Copy link
Collaborator

linuxpi commented Mar 28, 2023

Is your feature request related to a problem? Please describe.
Today if cluster.routing.weighted.strict is enabled and weights are set for round robin based routing, we restrict all preference based search requests. Ideally we should only restrict _prefer_nodes and _only_nodes search preference to avoid users targeting a specific node/host.

Describe the solution you'd like

  • Only restrict _prefer_nodes and _only_nodes search preference for weighted round robin, allow other preferences such as _only_local or _local.

Describe alternatives you've considered
NA

@linuxpi linuxpi added enhancement Enhancement or improvement to existing feature or request untriaged labels Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distributed framework enhancement Enhancement or improvement to existing feature or request
Projects
None yet
Development

No branches or pull requests

3 participants