Skip to main content

Module cluster

Module cluster 

Source
Expand description

Cluster state probe — wraps atomr-cluster’s MembershipState / Gossip data structures with an owning snapshot that the dashboard can poll and an event publisher that emits diff events on updates.

Structs§

ClusterProbe

Functions§

from_cluster_state
Convert a atomr-cluster MembershipState into our serializable ClusterStateInfo. Feature-gated because the cluster crate is optional.
from_gossip
Convert a full Gossip into a serializable ClusterStateInfo that also carries the vector-clock version vector.