open-consul/agent/grpc
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
..
internal/testservice deps: upgrade gogo-protobuf to v1.3.2 (#10813) 2021-08-12 14:05:46 -04:00
resolver areas: make the gRPC server tracker network area aware (#11748) 2021-12-06 09:55:54 -06:00
client.go grpc: ensure that streaming gRPC requests work over mesh gateway based wan federation (#10838) 2021-08-24 16:28:44 -05:00
client_test.go areas: make the gRPC server tracker network area aware (#11748) 2021-12-06 09:55:54 -06:00
handler.go Set gRPC keepalives to mirror Yamux keepalive behaviour 2021-04-07 14:09:22 +01:00
server_test.go testing: remove unnecessary calls to freeport 2021-11-29 12:19:43 -05:00
stats.go fix 64-bit aligment for 32-bit platforms 2021-06-29 16:10:21 -04:00
stats_test.go grpc: fix grpc metrics 2020-11-11 14:27:25 -05:00