lb_subset_config: new fallback policy for selectors: KEYS_SUBSET (#8890)
Introduce new fallback policy for subset load balancer's selectors: KEYS_SUBSET and related LbSubsetSelector config parameter: fallback_keys_subset. When context metadata matches given selector on keys, but there is no matching subset and KEYS_SUBSET fallback policy is set for that selector, there will be another attempt on subset selector matching. For that consecutive attempt, the context metadata will be reduced to keys included in fallback_keys_subset. Risk Level: low (no changes in existing features, adding a new feature that is disabled by default). But there is also a small bugfix that can affect existing behaviour. Testing: Unit tests and manual testing using envoy with static config Docs: added Release Notes: added Fixes: #8767 Fixes: #8874 Signed-off-by: Marcin Falkowski <marcin.falkowski@allegro.pl> Mirrored from https://github.com/envoyproxy/envoy @ b7bef67c256090919a4585a1a06c42f15d640a09master-ci-test
parent
246fc0b9be
commit
08f8b41b07
2 changed files with 37 additions and 0 deletions
Loading…
Reference in new issue