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

Method resetFailureCount

controller/cluster.go:169–173  ·  view source on GitHub ↗
(nodeID string)

Source from the content-addressed store, hash-verified

167}
168
169func (c *ClusterChecker) resetFailureCount(nodeID string) {
170 c.failureMu.Lock()
171 delete(c.failureCounts, nodeID)
172 c.failureMu.Unlock()
173}
174
175func (c *ClusterChecker) sendSyncEvent() {
176 select {

Callers 3

TestCluster_FailureCountFunction · 0.95
increaseFailureCountMethod · 0.95
parallelProbeNodesMethod · 0.95

Calls

no outgoing calls

Tested by 1

TestCluster_FailureCountFunction · 0.76