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

Method WaitForReady

controller/controller.go:80–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80func (c *Controller) WaitForReady() {
81 <-c.readyCh
82}
83
84// suspend stops the controller from processing events if it's not the leader
85func (c *Controller) suspend() {

Callers 4

TestController_BasicsFunction · 0.80
StartMethod · 0.80
TestClusterFailoverFunction · 0.80
TestClusterMigrateDataFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestController_BasicsFunction · 0.64
TestClusterFailoverFunction · 0.64
TestClusterMigrateDataFunction · 0.64