open-consul/agent/router
R.B. Boyer 80422c0dfe
areas: make the gRPC server tracker network area aware (#11748)
Fixes a bug whereby servers present in multiple network areas would be
properly segmented in the Router, but not in the gRPC mirror. This would
lead servers in the current datacenter leaving from a network area
(possibly during the network area's removal) from deleting their own
records that still exist in the standard WAN area.

The gRPC client stack uses the gRPC server tracker to execute all RPCs,
even those targeting members of the current datacenter (which is unlike
the net/rpc stack which has a bypass mechanism).

This would manifest as a gRPC method call never opening a socket because
it would block forever waiting for the current datacenter's pool of
servers to be non-empty.
2021-12-06 09:55:54 -06:00
..
grpc.go areas: make the gRPC server tracker network area aware (#11748) 2021-12-06 09:55:54 -06:00
manager.go agent/router: refactor calculation of delay between rebalances. 2020-10-15 15:59:36 -04:00
manager_internal_test.go agent/router: refactor calculation of delay between rebalances. 2020-10-15 15:59:36 -04:00
manager_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
router.go areas: make the gRPC server tracker network area aware (#11748) 2021-12-06 09:55:54 -06:00
router_test.go grpc: client conn pool and resolver 2020-09-24 12:46:22 -04:00
serf_adapter.go Fixed comment on wrong line. 2020-04-24 01:15:15 +02:00
serf_flooder.go Correcting the changed function name in comment 2021-02-06 20:23:40 -05:00