summaryrefslogtreecommitdiff
path: root/src/commands/cluster-reset.json
blob: c68dd6cba65aabdbe4af1c13c637e54d74c98d5b (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
35
36
{
    "RESET": {
        "summary": "Reset a Redis Cluster node",
        "complexity": "O(N) where N is the number of known nodes. The command may execute a FLUSHALL as a side effect.",
        "group": "cluster",
        "since": "3.0.0",
        "arity": 3,
        "container": "CLUSTER",
        "function": "clusterCommand",
        "command_flags": [
            "ADMIN",
            "RANDOM",
            "STALE",
            "NOSCRIPT"
        ],
        "arguments": [
            {
                "name": "hard_soft",
                "type": "oneof",
                "optional": true,
                "arguments": [
                    {
                        "name": "hard",
                        "type": "pure-token",
                        "token": "HARD"
                    },
                    {
                        "name": "soft",
                        "type": "pure-token",
                        "token": "SOFT"
                    }
                ]
            }
        ]
    }
}