summaryrefslogtreecommitdiffstats
path: root/src/commands/cluster-replicate.json
blob: 060d4af19041e02e9cd8cccbc4f2163c94e7df93 (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
{
    "REPLICATE": {
        "summary": "Configure a node as replica of a master node.",
        "complexity": "O(1)",
        "group": "cluster",
        "since": "3.0.0",
        "arity": 3,
        "container": "CLUSTER",
        "function": "clusterCommand",
        "command_flags": [
            "NO_ASYNC_LOADING",
            "ADMIN",
            "STALE"
        ],
        "arguments": [
            {
                "name": "node-id",
                "type": "string"
            }
        ],
        "reply_schema": {
            "const": "OK"
        }
    }
}