envoyproxy/envoy

Enforce prevention of multiple instances of a locality in the same priority

开放

#20,768 创建于 2022年4月11日

 (0 条评论) (0 个反应) (0 位负责人)C++ (5,373 个派生)batch import
apihelp wanted

仓库指标

星标
 (27,997 个星标)
PR 合并指标
 (平均合并 8天) (30 天内合并 378 个 PR)

描述

Title: Enforce prevention of multiple instances of a locality in the same priority

Description: PR #20574 refined the LocalityLbEndpoints structure to be defined as:

// A group of endpoints belonging to a Locality.
// One can have multiple LocalityLbEndpoints for a locality, but only if
// they have different priorities.

but Envoy allows to have multiple LocalityLbEndpoints for a locality if the different groups have different weights or different priorities.

Envoy should be more restrictive, and confirm to the revised comment.

cc @markdroth

贡献者指南