summaryrefslogtreecommitdiffstats
path: root/src/commands/sentinel-flushconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/sentinel-flushconfig.json')
-rw-r--r--src/commands/sentinel-flushconfig.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/commands/sentinel-flushconfig.json b/src/commands/sentinel-flushconfig.json
new file mode 100644
index 0000000..b2fa5de
--- /dev/null
+++ b/src/commands/sentinel-flushconfig.json
@@ -0,0 +1,20 @@
+{
+ "FLUSHCONFIG": {
+ "summary": "Rewrites the Redis Sentinel configuration file.",
+ "complexity": "O(1)",
+ "group": "sentinel",
+ "since": "2.8.4",
+ "arity": 2,
+ "container": "SENTINEL",
+ "function": "sentinelCommand",
+ "command_flags": [
+ "ADMIN",
+ "SENTINEL",
+ "ONLY_SENTINEL"
+ ],
+ "reply_schema": {
+ "const": "OK",
+ "description": "Force Sentinel to rewrite its configuration on disk, including the current Sentinel state."
+ }
+ }
+}