Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
62c8fa38
Commit
62c8fa38
authored
Aug 28, 2012
by
antirez
Browse files
Sentinel: added documentation about slave-priority in redis.conf
parent
dfdbb227
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.conf
View file @
62c8fa38
...
...
@@ -150,6 +150,21 @@ slave-serve-stale-data yes
#
# repl-timeout 60
# The slave priority is an integer number published by Redis in the INFO output.
# It is used by Redis Sentinel in order to select a slave to promote into a
# master if the master is no longer working correctly.
#
# A slave with a low priority number is considered better for promotion, so
# for instance if there are three slaves with priority 10, 100, 25 Sentinel will
# pick the one wtih priority 10, that is the lowest.
#
# However a special priority of 0 marks the slave as not able to perform the
# role of master, so a slave with priority of 0 will never be selected by
# Redis Sentinel for promotion.
#
# By default the priority is 100.
slave
-
priority
100
################################## SECURITY ###################################
# Require clients to issue AUTH <PASSWORD> before processing any other
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment