summaryrefslogtreecommitdiffstats
path: root/src/commands/cluster-slaves.json
blob: a736088e4c95aae0cb757eea52780b04ed280464 (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
37
{
    "SLAVES": {
        "summary": "Lists the replica nodes of a master node.",
        "complexity": "O(N) where N is the number of replicas.",
        "group": "cluster",
        "since": "3.0.0",
        "arity": 3,
        "container": "CLUSTER",
        "function": "clusterCommand",
        "deprecated_since": "5.0.0",
        "replaced_by": "`CLUSTER REPLICAS`",
        "doc_flags": [
            "DEPRECATED"
        ],
        "command_flags": [
            "ADMIN",
            "STALE"
        ],
        "command_tips": [
            "NONDETERMINISTIC_OUTPUT"
        ],
        "arguments": [
            {
                "name": "node-id",
                "type": "string"
            }
        ],
        "reply_schema": {
            "description": "a list of replica nodes replicating from the specified master node provided in the same format used by CLUSTER NODES",
            "type": "array",
            "items": {
                "type": "string",
                "description": "the serialized cluster configuration"
            }
        }
    }
}