summaryrefslogtreecommitdiffstats
path: root/src/commands/cluster-count-failure-reports.json
blob: b80632d0fa646c635e2cecfc74a2501821f4337b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
    "COUNT-FAILURE-REPORTS": {
        "summary": "Returns the number of active failure reports active for a node.",
        "complexity": "O(N) where N is the number of failure reports",
        "group": "cluster",
        "since": "3.0.0",
        "arity": 3,
        "container": "CLUSTER",
        "function": "clusterCommand",
        "command_flags": [
            "ADMIN",
            "STALE"
        ],
        "command_tips": [
            "NONDETERMINISTIC_OUTPUT"
        ],
        "arguments": [
            {
                "name": "node-id",
                "type": "string"
            }
        ],
        "reply_schema": {
            "description": "the number of active failure reports for the node",
            "type": "integer",
            "minimum": 0
        }
    }
}