summaryrefslogtreecommitdiff
path: root/src/commands/sentinel-ckquorum.json
blob: cdd6cd19742c1e078a8f0dfb376ddb5a68dac64b (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
{
    "CKQUORUM": {
        "summary": "Checks for a Redis Sentinel quorum.",
        "group": "sentinel",
        "since": "2.8.4",
        "arity": 3,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "reply_schema": {
            "type": "string",
            "description": "Returns OK if the current Sentinel configuration is able to reach the quorum needed to failover a master, and the majority needed to authorize the failover.",
            "pattern": "OK"
        },
        "arguments": [
            {
                "name": "master-name",
                "type": "string"
            }
        ]
    }
}