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

Method GetClusterInfo

store/cluster_node.go:68–68  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

66 Reset(ctx context.Context) error
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

Callers 5

TestCluster_LoadAndProbeFunction · 0.65
probeNodeMethod · 0.65
getNewMasterNodeIndexMethod · 0.65
TestClusterFailoverFunction · 0.65

Implementers 1

ClusterNodestore/cluster_node.go

Calls

no outgoing calls

Tested by 2

TestCluster_LoadAndProbeFunction · 0.52
TestClusterFailoverFunction · 0.52