Commit Graph

4 Commits

Author SHA1 Message Date
Easwar Swaminathan 778e638122
balancergroup: improve observability around balancer cache behavior (#6597) 2023-08-31 11:27:03 -07:00
Doug Fawley fbff2abb0f
*: update `interface{}` to `any` and `go.mod` version to `go 1.19` (#6544) 2023-08-14 09:04:46 -07:00
Menghan Li a6ab4473c5
cache: callback without cache's mutex (#3603) 2020-05-07 14:15:30 -07:00
Menghan Li 041ead0785
xds: cache locality (sub-balancer) (#3067)
When a locality is removed from EDS response, it's corresponding
sub-balancer will be removed from balancer group.

With this change, the sub-balancer won't be removed immediately. It will
be kept in a cache (for 15 minutes by default). If the locality is
re-added within the timeout, the sub-balancer in cache will be picked
and re-used.
2019-10-21 15:20:28 -07:00