Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

CLUSTER COUNT-FAILURE-REPORTS

Syntax
CLUSTER COUNT-FAILURE-REPORTS node-id
Available since:
Redis Open Source 3.0.0
Time complexity:
O(N) where N is the number of failure reports
ACL categories:
@admin, @slow, @dangerous,

The command returns the number of failure reports for the specified node. Failure reports are the way Redis Cluster uses in order to promote a PFAIL state, that means a node is not reachable, to a FAIL state, that means that the majority of masters in the cluster agreed within a window of time that the node is not reachable.

A few more details:

This command returns the number of failure reports for the current node which are currently not expired (so received within two times the node timeout time). The count does not include what the node we are asking this count believes about the node ID we pass as argument, the count only includes the failure reports the node received from other nodes.

This command is mainly useful for debugging, when the failure detector of Redis Cluster is not operating as we believe it should.

RESP2/RESP3 Reply

Integer reply: the number of active failure reports for the node.
RATE THIS PAGE
Back to top ↑