envoyproxy/envoy

Are the lb_policy and lb_config forced to match?

Open

#25 583 ouverte le 15 févr. 2023

Voir sur GitHub
 (9 commentaires) (0 réactions) (0 assignés)C++ (5 373 forks)batch import
area/configurationarea/load balancinghelp wantedquestion

Métriques du dépôt

Stars
 (27 997 stars)
Métriques de merge PR
 (Merge moyen 8j) (378 PRs mergées en 30 j)

Description

Description: Currently in clusterInfoImpl when the lb_configs are loaded, it doesn't check if the lb_policy matches the config that's loaded. We have a separate member for the lb_policy and other members for each config type. Is there anything to stop the user from setting a round_robin config but also setting the lb_policy to least request? If there isn't, should anything be done about that?

Relevant Links: Current implementation of how the lb config members are initialized

Current location of where lb_policy is set

Guide contributeur