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 Shard Routing] Disallow search requests with preference parameter with strict weighted shard routing #5873

Closed
anshu1106 opened this issue Jan 16, 2023 · 2 comments
Labels
distributed framework enhancement Enhancement or improvement to existing feature or request

Comments

@anshu1106
Copy link
Contributor

anshu1106 commented Jan 16, 2023

Is your feature request related to a problem? Please describe.
With weighted shard routing, requests are distributed across data nodes in the ratio the weights are assigned. Since search requests with preference parameter runs the request only on the specified nodes, this won't honour weighted shard routing.
ie for a 3 az domain with weights (1, 2, 4) preference searches on nodes with weight 1 can cause more request on nodes with weight 1.

Describe the solution you'd like
Allow support for strict weighted shard routing using cluster setting.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@anasalkouz
Copy link
Member

@anshu1106 Are you actively working on this? can I assign it to you?

@anshu1106
Copy link
Contributor Author

@anshu1106 Are you actively working on this? can I assign it to you?

Yes

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