You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In search requests using weighted shard routing if weights are put as (1,1,0) then the distribution of requests to data nodes is not in proportion to assigned weights. Found that data nodes in zone A had twice the requests than data nodes in zone B though weight is 1 for both the zones.
To Reproduce
Steps to reproduce the behavior:
Set weighted shard routing weights using PUT api call
Distribution of search request across nodes is not correct. Data nodes in zone A has twice the number of requests than data nodes in zone B which doesn't honor weighted round robin
Expected behavior
Distribution of request should be in ratio of assigned weights
Additional context
The bug got introduced with #5072 in OS 2.5 release.
The text was updated successfully, but these errors were encountered:
anshu1106
changed the title
[BUG][Weighted Routing] eighted shard routing state across search requests
[BUG][Weighted Routing] weighted shard routing state is not maintained across search requests
Jan 28, 2023
Describe the bug
In search requests using weighted shard routing if weights are put as (1,1,0) then the distribution of requests to data nodes is not in proportion to assigned weights. Found that data nodes in zone A had twice the requests than data nodes in zone B though weight is 1 for both the zones.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Distribution of request should be in ratio of assigned weights
Additional context
The bug got introduced with #5072 in OS 2.5 release.
The text was updated successfully, but these errors were encountered: