summaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/sentinel-failover.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/sentinel-failover.json
parentc7ab12bba64d9c20ccd79b132dac475f7bc3923e (diff)
downloadcrep-5d8dfe892a2ea89f706ee140c3bdcfd89fe03fda.tar.gz
Add Redis source code for testing
Diffstat (limited to 'examples/redis-unstable/src/commands/sentinel-failover.json')
-rw-r--r--examples/redis-unstable/src/commands/sentinel-failover.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/sentinel-failover.json b/examples/redis-unstable/src/commands/sentinel-failover.json
new file mode 100644
index 0000000..8f50375
--- /dev/null
+++ b/examples/redis-unstable/src/commands/sentinel-failover.json
@@ -0,0 +1,25 @@
1{
2 "FAILOVER": {
3 "summary": "Forces a Redis Sentinel failover.",
4 "group": "sentinel",
5 "since": "2.8.4",
6 "arity": 3,
7 "container": "SENTINEL",
8 "function": "sentinelCommand",
9 "command_flags": [
10 "ADMIN",
11 "SENTINEL",
12 "ONLY_SENTINEL"
13 ],
14 "reply_schema": {
15 "const": "OK",
16 "description": "Force a fail over as if the master was not reachable, and without asking for agreement to other Sentinels."
17 },
18 "arguments": [
19 {
20 "name": "master-name",
21 "type": "string"
22 }
23 ]
24 }
25}