summaryrefslogtreecommitdiff
path: root/src/commands/cluster-slots.json
blob: ce0e68b8c762f29311109d3e208659fb05907a93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
    "SLOTS": {
        "summary": "Get array of Cluster slot to node mappings",
        "complexity": "O(N) where N is the total number of Cluster nodes",
        "group": "cluster",
        "since": "3.0.0",
        "arity": 2,
        "container": "CLUSTER",
        "function": "clusterCommand",
        "history": [
            [
                "4.0.0",
                "Added node IDs."
            ]
        ],
        "command_flags": [
            "RANDOM",
            "STALE"
        ]
    }
}