MCPcopy Create free account
hub / github.com/apache/kvrocks-controller / SyncClusterInfo

Method SyncClusterInfo

store/cluster_node.go:69–69  ·  view source on GitHub ↗
(ctx context.Context, cluster *Cluster)

Source from the content-addressed store, hash-verified

67 GetClusterNodeInfo(ctx context.Context) (*ClusterNodeInfo, error)
68 GetClusterInfo(ctx context.Context) (*ClusterInfo, error)
69 SyncClusterInfo(ctx context.Context, cluster *Cluster) error
70 CheckClusterMode(ctx context.Context) (int64, error)
71 MigrateSlot(ctx context.Context, slot SlotRange, NodeID string) error
72

Callers 4

syncClusterToNodesMethod · 0.65
parallelProbeNodesMethod · 0.65
SyncToNodesMethod · 0.65
TestClusterFailoverFunction · 0.65

Implementers 1

ClusterNodestore/cluster_node.go

Calls

no outgoing calls

Tested by 1

TestClusterFailoverFunction · 0.52