Выключены параметры репликации
This commit is contained in:
@@ -416,7 +416,7 @@ dir /data
|
||||
# SUBSCRIBE, UNSUBSCRIBE, PSUBSCRIBE, PUNSUBSCRIBE, PUBLISH, PUBSUB,
|
||||
# COMMAND, POST, HOST: and LATENCY.
|
||||
#
|
||||
replica-serve-stale-data yes
|
||||
replica-serve-stale-data no
|
||||
|
||||
# You can configure a replica instance to accept writes or not. Writing against
|
||||
# a replica instance may be useful to store some ephemeral data (because data
|
||||
@@ -432,7 +432,7 @@ replica-serve-stale-data yes
|
||||
# such as CONFIG, DEBUG, and so forth. To a limited extent you can improve
|
||||
# security of read only replicas using 'rename-command' to shadow all the
|
||||
# administrative / dangerous commands.
|
||||
replica-read-only yes
|
||||
replica-read-only no
|
||||
|
||||
# Replication SYNC strategy: disk or socket.
|
||||
#
|
||||
@@ -505,7 +505,7 @@ repl-diskless-load disabled
|
||||
# change this interval with the repl_ping_replica_period option. The default
|
||||
# value is 10 seconds.
|
||||
#
|
||||
# repl-ping-replica-period 10
|
||||
# repl-ping-replica-period 0
|
||||
|
||||
# The following option sets the replication timeout for:
|
||||
#
|
||||
@@ -517,7 +517,7 @@ repl-diskless-load disabled
|
||||
# specified for repl-ping-replica-period otherwise a timeout will be detected
|
||||
# every time there is low traffic between the master and the replica.
|
||||
#
|
||||
# repl-timeout 60
|
||||
# repl-timeout 0
|
||||
|
||||
# Disable TCP_NODELAY on the replica socket after SYNC?
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user