mirror of https://github.com/status-im/consul.git
11a277f372
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. |
||
---|---|---|
.. | ||
health_snapshot.go | ||
health_snapshot_test.go | ||
mock_ACLResolver.go | ||
replication.go | ||
server.go | ||
server_test.go | ||
stream_resources.go | ||
stream_test.go | ||
stream_tracker.go | ||
stream_tracker_test.go | ||
subscription_blocking.go | ||
subscription_manager.go | ||
subscription_manager_test.go | ||
subscription_state.go | ||
subscription_state_test.go | ||
subscription_view.go | ||
subscription_view_test.go | ||
testing.go |