summaryrefslogtreecommitdiffstats
path: root/src/commands/sentinel-failover.json
blob: 8f503758975db9554218b1ea54ae066ecec29266 (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
{
    "FAILOVER": {
        "summary": "Forces a Redis Sentinel failover.",
        "group": "sentinel",
        "since": "2.8.4",
        "arity": 3,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "reply_schema": {
            "const": "OK",
            "description": "Force a fail over as if the master was not reachable, and without asking for agreement to other Sentinels."
        },
        "arguments": [
            {
                "name": "master-name",
                "type": "string"
            }
        ]
    }
}