summaryrefslogtreecommitdiff
path: root/src/commands/cluster-addslotsrange.json
blob: 3527f40cb24f2a6487629fb13ca617f5ebb31b0e (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
{
    "ADDSLOTSRANGE": {
        "summary": "Assign new hash slots to receiving node",
        "complexity": "O(N) where N is the total number of the slots between the start slot and end slot arguments.",
        "group": "cluster",
        "since": "7.0.0",
        "arity": -4,
        "container": "CLUSTER",
        "function": "clusterCommand",
        "command_flags": [
            "NO_ASYNC_LOADING",
            "ADMIN",
            "STALE"
        ],
        "command_tips": [
            "NONDETERMINISTIC_OUTPUT"
        ],
        "arguments": [
            {
                "name": "range",
                "type": "block",
                "multiple": true,
                "arguments": [
                    {
                        "name": "start-slot",
                        "type": "integer"
                    },
                    {
                        "name": "end-slot",
                        "type": "integer"
                    }
                ]
            }
        ]
    }
}