upstream: add option to scale locality weights in subset lb (#5074)
Adds an option that allows smoothing out the locality weights when used with subset lb: weights are scaled by the number of hosts that were removed due to the subset filter. This allows for less of a step function when a small number of hosts in a locality are updated to be included in the subset. Fixes #4837 Signed-off-by: Snow Pettersen snowp@squareup.com Risk Level: Low, new optional feature Testing: UTs Docs Changes: Inline in protos Release Notes: added release note Signed-off-by: Snow Pettersen <snowp@squareup.com> Mirrored from https://github.com/envoyproxy/envoy @ b094017026ce57d52762513bd5c0f774da0fc39epull/620/head
parent
baef76801e
commit
8c609f8e6a
1 changed files with 6 additions and 0 deletions
Loading…
Reference in new issue