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

Method ID

store/cluster_node.go:58–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56
57type Node interface {
58 ID() string
59 Password() string
60 Addr() string
61 IsMaster() bool

Callers 15

becomeLeaderMethod · 0.65
syncLoopMethod · 0.65
TestCluster_FailureCountFunction · 0.65
increaseFailureCountMethod · 0.65
syncClusterToNodesMethod · 0.65
parallelProbeNodesMethod · 0.65
IsLeaderMethod · 0.65
IDMethod · 0.65
removeNodeMethod · 0.65
getNewMasterNodeIndexMethod · 0.65
promoteNewMasterMethod · 0.65

Implementers 1

ClusterNodestore/cluster_node.go

Calls

no outgoing calls

Tested by 5

TestCluster_FailureCountFunction · 0.52
TestClusterNodeFunction · 0.52
TestNodeBasicsFunction · 0.52
TestClusterFailoverFunction · 0.52