summaryrefslogtreecommitdiffstats
path: root/src/commands/sentinel-reset.json
blob: 17b53a481f2d0ddfee8a8bb4ba65fac04c69ff85 (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
{
    "RESET": {
        "summary": "Resets Redis masters by name matching a pattern.",
        "complexity": "O(N) where N is the number of monitored masters",
        "group": "sentinel",
        "since": "2.8.4",
        "arity": 3,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "reply_schema": {
            "type": "integer",
            "description": "The number of masters that were reset."
        },
        "arguments": [
            {
                "name": "pattern",
                "type": "pattern"
            }
        ]
    }
}