Slave removal: Make obvious in redis.conf what a replica is.

This commit is contained in:
antirez 2018-09-10 16:39:51 +02:00
parent 8296e5c846
commit c9bab6f302

View File

@ -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.