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
c9bab6f3
Commit
c9bab6f3
authored
Sep 10, 2018
by
antirez
Browse files
Slave removal: Make obvious in redis.conf what a replica is.
parent
8296e5c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.conf
View file @
c9bab6f3
...
@@ -267,6 +267,11 @@ dir ./
...
@@ -267,6 +267,11 @@ dir ./
# Master-Replica replication. Use replicaof to make a Redis instance a copy of
# Master-Replica replication. Use replicaof to make a Redis instance a copy of
# another Redis server. A few things to understand ASAP about Redis replication.
# another Redis server. A few things to understand ASAP about Redis replication.
#
#
# +------------------+ +---------------+
# | Master | ---> | Replica |
# | (receive writes) | | (exact copy) |
# +------------------+ +---------------+
#
# 1) Redis replication is asynchronous, but you can configure a master to
# 1) Redis replication is asynchronous, but you can configure a master to
# stop accepting writes if it appears to be not connected with at least
# stop accepting writes if it appears to be not connected with at least
# a given number of replicas.
# a given number of replicas.
...
...
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