open-consul/agent/grpc-external
R.B. Boyer a8411976a8
peering: better represent non-passing states during peer check flattening (#15615)
During peer stream replication we flatten checks from the source cluster and build one thin overall check to hide the irrelevant details from the consuming cluster. This flattening logic did correctly flip to non-passing if there were any non-passing checks, but WHICH status it got during that was random (warn/error).

Also it didn't represent "maintenance" operations. There is an api package call AggregatedStatus which more correctly flattened check statuses.

This PR replicated the more complete logic into the peer stream package.
2022-11-30 11:29:21 -06:00
..
limiter Regenerate files according to 1.19.2 formatter 2022-10-24 16:12:08 -04:00
services peering: better represent non-passing states during peer check flattening (#15615) 2022-11-30 11:29:21 -06:00
testutils grpc: rename public/private directories to external/internal (#13721) 2022-07-13 16:33:48 +01:00
forward.go grpc: rename public/private directories to external/internal (#13721) 2022-07-13 16:33:48 +01:00
options.go Support Stale Queries for Trust Bundle Lookups (#14724) 2022-09-28 09:56:59 -07:00
options_test.go Support Stale Queries for Trust Bundle Lookups (#14724) 2022-09-28 09:56:59 -07:00
server.go Allow peering endpoints to bypass verify_incoming. 2022-10-31 09:56:30 -05:00
stats_test.go Update hcp-scada-provider to fix diamond dependency problem with go-msgpack (#15185) 2022-11-07 11:34:30 -05:00
utils.go grpc: rename public/private directories to external/internal (#13721) 2022-07-13 16:33:48 +01:00