summaryrefslogtreecommitdiffstats
path: root/src/commands/cluster-set-config-epoch.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cluster-set-config-epoch.json')
-rw-r--r--src/commands/cluster-set-config-epoch.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/commands/cluster-set-config-epoch.json b/src/commands/cluster-set-config-epoch.json
new file mode 100644
index 0000000..70c7de4
--- /dev/null
+++ b/src/commands/cluster-set-config-epoch.json
@@ -0,0 +1,25 @@
+{
+ "SET-CONFIG-EPOCH": {
+ "summary": "Sets the configuration epoch for a new 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": "config-epoch",
+ "type": "integer"
+ }
+ ],
+ "reply_schema": {
+ "const": "OK"
+ }
+ }
+}