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] Handle specific awareness attribute #4747

Closed
anshu1106 opened this issue Oct 12, 2022 · 1 comment
Closed

[Weighted Shard Routing] Handle specific awareness attribute #4747

anshu1106 opened this issue Oct 12, 2022 · 1 comment
Labels
enhancement Enhancement or improvement to existing feature or request Indexing & Search

Comments

@anshu1106
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently as part of delete weighted routing api call, weighted routing metadata is cleared off completely from the cluster state without matching the awareness attribute. If weights are set for multiple awareness attributes, then this is not desirable.

In addition to this, the coordinator search request routing logic need to be modified with the awareness attribute to use to make routing decision.

Describe the solution you'd like
Awareness attribute name need to be passed in Path parameter in DELETE api. Service should clear weighted routing metadata for specified awareness attribute.

@anshu1106
Copy link
Contributor Author

addressed in #5255

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Indexing & Search
Projects
None yet
Development

No branches or pull requests

2 participants