What's the reason to time locality lb weight and endpoint lb weight in
CreateChildPolicyAddressesLocked?
iiuc, it performs 2 layer LB. It first does a weighted target using
locality lb weight. Then a child policy which can use endpoint lb weight.
So why do we need to time the 2 weight?
On Sun, Aug 21, 2022 at 10:32 AM Staniel Yao wrote:
> I think it's because the MAX_CONNECTION_AGE is only affecting the
> connection between Nginx and backend and doesn't affect the client
> connection to Nginx itself. Am I right on this?
>
Correct. The necessary configuration would be in