summaryrefslogtreecommitdiff
path: root/sentinel.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-05-26 10:17:12 +0200
committerantirez <antirez@gmail.com>2014-05-26 10:17:12 +0200
commit69fa133ec22dca419fedc932952b8bc29d40937f (patch)
tree68bf6cc1067b7eeb5997e203f53c74d03d4b242d /sentinel.conf
parentd0566daeaf656353e1ec759c7b9c876c9ce9f801 (diff)
downloadredis-69fa133ec22dca419fedc932952b8bc29d40937f.tar.gz
Sentinel example config: explain you don't need to specify slaves.
Diffstat (limited to 'sentinel.conf')
-rw-r--r--sentinel.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/sentinel.conf b/sentinel.conf
index 114b8474f..2384e9bc7 100644
--- a/sentinel.conf
+++ b/sentinel.conf
@@ -20,6 +20,12 @@ dir /tmp
# be elected by the majority of the known Sentinels in order to
# start a failover, so no failover can be performed in minority.
#
+# Slaves are auto-discovered, so you don't need to specify slaves in
+# any way. Sentinel itself will rewrite this configuration file adding
+# the slaves using additional configuration options.
+# Also note that the configuration file is rewritten when a
+# slave is promoted to master.
+#
# Note: master name should not include special characters or spaces.
# The valid charset is A-z 0-9 and the three characters ".-_".
sentinel monitor mymaster 127.0.0.1 6379 2