summaryrefslogtreecommitdiffstats
path: root/src/commands/sentinel-is-master-down-by-addr.json
blob: 456ad183ae8d736b9f5740eca7e0ddee90d0ad98 (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
30
31
32
33
34
{
    "IS-MASTER-DOWN-BY-ADDR": {
        "summary": "Check if a master is down",
        "complexity": "O(1)",
        "group": "sentinel",
        "since": "2.8.4",
        "arity": 6,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "arguments": [
            {
                "name": "ip",
                "type": "string"
            },
            {
                "name": "port",
                "type": "integer"
            },
            {
                "name": "current-epoch",
                "type": "integer"
            },
            {
                "name": "runid",
                "type": "string"
            }
        ]
    }
}