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

Method Start

controller/cluster.go:84–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82}
83
84func (c *ClusterChecker) Start() {
85 c.wg.Add(1)
86 go c.probeLoop()
87 c.wg.Add(1)
88 go c.migrationLoop()
89}
90
91func (c *ClusterChecker) WithPingInterval(interval time.Duration) *ClusterChecker {
92 c.options.pingInterval = interval

Callers 2

TestCluster_LoadAndProbeFunction · 0.95
TestCluster_MigrateSlotFunction · 0.95

Calls 2

probeLoopMethod · 0.95
migrationLoopMethod · 0.95

Tested by 2

TestCluster_LoadAndProbeFunction · 0.76
TestCluster_MigrateSlotFunction · 0.76