summaryrefslogtreecommitdiff
path: root/src/commands/wait.json
blob: 4930932d930710ab8fee862ec0e1ede73bf57156 (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
{
    "WAIT": {
        "summary": "Wait for the synchronous replication of all the write commands sent in the context of the current connection",
        "complexity": "O(1)",
        "group": "generic",
        "since": "3.0.0",
        "arity": 3,
        "function": "waitCommand",
        "command_flags": [
            "NOSCRIPT"
        ],
        "acl_categories": [
            "CONNECTION"
        ],
        "command_tips": [
            "REQUEST_POLICY:ALL_SHARDS",
            "RESPONSE_POLICY:AGG_MIN"
        ],
        "arguments": [
            {
                "name": "numreplicas",
                "type": "integer"
            },
            {
                "name": "timeout",
                "type": "integer"
            }
        ]
    }
}