summaryrefslogtreecommitdiffstats
path: root/src/commands/sentinel-failover.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/sentinel-failover.json')
-rw-r--r--src/commands/sentinel-failover.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/commands/sentinel-failover.json b/src/commands/sentinel-failover.json
new file mode 100644
index 0000000..f664016
--- /dev/null
+++ b/src/commands/sentinel-failover.json
@@ -0,0 +1,21 @@
+{
+ "FAILOVER": {
+ "summary": "Force a failover",
+ "group": "sentinel",
+ "since": "2.8.4",
+ "arity": 3,
+ "container": "SENTINEL",
+ "function": "sentinelCommand",
+ "command_flags": [
+ "ADMIN",
+ "SENTINEL",
+ "ONLY_SENTINEL"
+ ],
+ "arguments": [
+ {
+ "name": "master-name",
+ "type": "string"
+ }
+ ]
+ }
+}