aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/cluster-myshardid.json
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:40:55 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:40:55 +0100
commit5d8dfe892a2ea89f706ee140c3bdcfd89fe03fda (patch)
tree1acdfa5220cd13b7be43a2a01368e80d306473ca /examples/redis-unstable/src/commands/cluster-myshardid.json
parentc7ab12bba64d9c20ccd79b132dac475f7bc3923e (diff)
downloadcrep-5d8dfe892a2ea89f706ee140c3bdcfd89fe03fda.tar.gz
Add Redis source code for testing
Diffstat (limited to 'examples/redis-unstable/src/commands/cluster-myshardid.json')
-rw-r--r--examples/redis-unstable/src/commands/cluster-myshardid.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/cluster-myshardid.json b/examples/redis-unstable/src/commands/cluster-myshardid.json
new file mode 100644
index 0000000..7db63fd
--- /dev/null
+++ b/examples/redis-unstable/src/commands/cluster-myshardid.json
@@ -0,0 +1,22 @@
1{
2 "MYSHARDID": {
3 "summary": "Returns the shard ID of a node.",
4 "complexity": "O(1)",
5 "group": "cluster",
6 "since": "7.2.0",
7 "arity": 2,
8 "container": "CLUSTER",
9 "function": "clusterCommand",
10 "history": [],
11 "command_flags": [
12 "STALE"
13 ],
14 "command_tips": [
15 "NONDETERMINISTIC_OUTPUT"
16 ],
17 "reply_schema": {
18 "description": "the node's shard id",
19 "type": "string"
20 }
21 }
22}