summaryrefslogtreecommitdiffstats
path: root/src/commands/cluster-shards.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cluster-shards.json')
-rw-r--r--src/commands/cluster-shards.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/commands/cluster-shards.json b/src/commands/cluster-shards.json
new file mode 100644
index 0000000..925ce8b
--- /dev/null
+++ b/src/commands/cluster-shards.json
@@ -0,0 +1,18 @@
+{
+ "SHARDS": {
+ "summary": "Get array of cluster slots to node mappings",
+ "complexity": "O(N) where N is the total number of cluster nodes",
+ "group": "cluster",
+ "since": "7.0.0",
+ "arity": 2,
+ "container": "CLUSTER",
+ "function": "clusterCommand",
+ "history": [],
+ "command_flags": [
+ "STALE"
+ ],
+ "command_tips": [
+ "NONDETERMINISTIC_OUTPUT"
+ ]
+ }
+}