MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / clusterNodeFailureReportsCount

Function clusterNodeFailureReportsCount

src/cluster.cpp:943–946  ·  view source on GitHub ↗

Return the number of external nodes that believe 'node' is failing, * not including this node, that may have a PFAIL or FAIL state for this * node as well. */

Source from the content-addressed store, hash-verified

941 * not including this node, that may have a PFAIL or FAIL state for this
942 * node as well. */
943int clusterNodeFailureReportsCount(clusterNode *node) {
944 clusterNodeCleanupFailureReports(node);
945 return listLength(node->fail_reports);
946}
947
948int clusterNodeRemoveSlave(clusterNode *master, clusterNode *slave) {
949 int j;

Callers 3

clusterCommandFunction · 0.85

Calls 1

Tested by

no test coverage detected