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
cbdb2153
Commit
cbdb2153
authored
May 28, 2013
by
antirez
Browse files
min-slaves-to-write: initial description of the feature in redis.conf
parent
888400eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.conf
View file @
cbdb2153
...
@@ -267,6 +267,22 @@ repl-disable-tcp-nodelay no
...
@@ -267,6 +267,22 @@ repl-disable-tcp-nodelay no
# By default the priority is 100.
# By default the priority is 100.
slave
-
priority
100
slave
-
priority
100
# It is possible for a master to stop accepting writes if there are less than
# N slaves connected, having a lag less or equal than M seconds.
#
# The N slaves need to be in "online" state.
#
# The lag in seconds, that must be <= the specified value, is calculated from
# the last ping received from the slave, that is usually sent every second.
#
# This option does not GUARANTEES that N replicas will accept the write, but
# will limit the window of exposure for lost writes in case not enough slaves
# are available, to the specified number of seconds.
#
# For example to require at least 3 slaves with a lag <= 10 seconds use:
#
# repl-min-slaves-to-write 3 10
################################## SECURITY ###################################
################################## SECURITY ###################################
# Require clients to issue AUTH <PASSWORD> before processing any other
# 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