mirror of https://github.com/status-im/consul.git
e20e6348dd
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. |
||
---|---|---|
.. | ||
grpc.go | ||
manager.go | ||
manager_internal_test.go | ||
manager_test.go | ||
router.go | ||
router_test.go | ||
serf_adapter.go | ||
serf_flooder.go |