summaryrefslogtreecommitdiff
path: root/src/commands/cluster-myshardid.json
blob: 7db63fd1903e1a275d185a1206f974360506edec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
    "MYSHARDID": {
        "summary": "Returns the shard ID of a node.",
        "complexity": "O(1)",
        "group": "cluster",
        "since": "7.2.0",
        "arity": 2,
        "container": "CLUSTER",
        "function": "clusterCommand",
        "history": [],
        "command_flags": [
            "STALE"
        ],
        "command_tips": [
            "NONDETERMINISTIC_OUTPUT"
        ],
        "reply_schema": {
            "description": "the node's shard id",
            "type": "string"
        }
    }
}