MCPcopy Create free account
hub / github.com/F-Stack/f-stack / clusterNodeFailureReportsCount

Function clusterNodeFailureReportsCount

app/redis-6.2.6/src/cluster.c:904–907  ·  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

902 * not including this node, that may have a PFAIL or FAIL state for this
903 * node as well. */
904int clusterNodeFailureReportsCount(clusterNode *node) {
905 clusterNodeCleanupFailureReports(node);
906 return listLength(node->fail_reports);
907}
908
909int clusterNodeRemoveSlave(clusterNode *master, clusterNode *slave) {
910 int j;

Callers 3

clusterCommandFunction · 0.85

Calls 1

Tested by

no test coverage detected