open-consul/agent/grpc-external/services/peerstream
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
..
health_snapshot.go Remove duplicate comment 2022-07-26 10:19:49 -07:00
health_snapshot_test.go Use Node Name for peering healthSnapshot instead of ID (#13773) 2022-07-15 10:51:38 -04:00
mock_ACLResolver.go
replication.go fix(peering): nil pointer in calling handleUpdateService (#15160) 2022-10-26 11:50:34 -04:00
server.go Share mgw addrs in peering stream if needed 2022-10-03 11:42:20 -06:00
server_test.go Use proto message for each secrets write op 2022-08-08 01:41:00 -06:00
stream_resources.go Prevent peering acceptor from subscribing to addr updates. (#15214) 2022-11-02 07:55:41 -05:00
stream_test.go Bring back parameter ServerExternalAddresses in GenerateToken endpoint (#15267) 2022-11-08 14:55:18 -06:00
stream_tracker.go convert stream status time fields to pointers (#15252) 2022-11-03 11:51:22 -07:00
stream_tracker_test.go convert stream status time fields to pointers (#15252) 2022-11-03 11:51:22 -07:00
subscription_blocking.go Fix incorrect backoff-wait logic. 2022-10-12 08:01:10 -05:00
subscription_manager.go peering: better represent non-passing states during peer check flattening (#15615) 2022-11-30 11:29:21 -06:00
subscription_manager_test.go peering: better represent non-passing states during peer check flattening (#15615) 2022-11-30 11:29:21 -06:00
subscription_state.go Add exported services event to cluster peering replication. (#14797) 2022-09-29 15:37:19 -04:00
subscription_state_test.go
subscription_view.go
subscription_view_test.go
testing.go Add exported services event to cluster peering replication. (#14797) 2022-09-29 15:37:19 -04:00