Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
4a1d6c7d
Commit
4a1d6c7d
authored
Sep 11, 2018
by
Jakub Vrana
Committed by
antirez
Sep 14, 2018
Browse files
Slave removal: capitalize Replica
parent
72e0368a
Changes
2
Hide whitespace changes
Inline
Side-by-side
redis.conf
View file @
4a1d6c7d
...
@@ -366,7 +366,7 @@ repl-diskless-sync no
...
@@ -366,7 +366,7 @@ repl-diskless-sync no
# it entirely just set it to 0 seconds and the transfer will start ASAP.
# it entirely just set it to 0 seconds and the transfer will start ASAP.
repl
-
diskless
-
sync
-
delay
5
repl
-
diskless
-
sync
-
delay
5
#
r
eplicas send PINGs to server in a predefined interval. It's possible to change
#
R
eplicas send PINGs to server in a predefined interval. It's possible to change
# this interval with the repl_ping_replica_period option. The default value is 10
# this interval with the repl_ping_replica_period option. The default value is 10
# seconds.
# seconds.
#
#
...
@@ -376,7 +376,7 @@ repl-diskless-sync-delay 5
...
@@ -376,7 +376,7 @@ repl-diskless-sync-delay 5
#
#
# 1) Bulk transfer I/O during SYNC, from the point of view of replica.
# 1) Bulk transfer I/O during SYNC, from the point of view of replica.
# 2) Master timeout from the point of view of replicas (data, pings).
# 2) Master timeout from the point of view of replicas (data, pings).
# 3)
r
eplica timeout from the point of view of masters (REPLCONF ACK pings).
# 3)
R
eplica timeout from the point of view of masters (REPLCONF ACK pings).
#
#
# It is important to make sure that this value is greater than the value
# It is important to make sure that this value is greater than the value
# specified for repl-ping-replica-period otherwise a timeout will be detected
# specified for repl-ping-replica-period otherwise a timeout will be detected
...
@@ -860,7 +860,7 @@ lua-time-limit 5000
...
@@ -860,7 +860,7 @@ lua-time-limit 5000
# 1) If there are multiple replicas able to failover, they exchange messages
# 1) If there are multiple replicas able to failover, they exchange messages
# in order to try to give an advantage to the replica with the best
# in order to try to give an advantage to the replica with the best
# replication offset (more data from the master processed).
# replication offset (more data from the master processed).
#
r
eplicas will try to get their rank by offset, and apply to the start
#
R
eplicas will try to get their rank by offset, and apply to the start
# of the failover a delay proportional to their rank.
# of the failover a delay proportional to their rank.
#
#
# 2) Every single replica computes the time of the last interaction with
# 2) Every single replica computes the time of the last interaction with
...
@@ -901,7 +901,7 @@ lua-time-limit 5000
...
@@ -901,7 +901,7 @@ lua-time-limit 5000
# to resist to failures as otherwise an orphaned master can't be failed over
# to resist to failures as otherwise an orphaned master can't be failed over
# in case of failure if it has no working replicas.
# in case of failure if it has no working replicas.
#
#
#
r
eplicas migrate to orphaned masters only if there are still at least a
#
R
eplicas migrate to orphaned masters only if there are still at least a
# given number of other working replicas for their old master. This number
# given number of other working replicas for their old master. This number
# is the "migration barrier". A migration barrier of 1 means that a replica
# is the "migration barrier". A migration barrier of 1 means that a replica
# will migrate only if there is at least 1 other working replica for its master
# will migrate only if there is at least 1 other working replica for its master
...
...
sentinel.conf
View file @
4a1d6c7d
...
@@ -73,7 +73,7 @@ dir /tmp
...
@@ -73,7 +73,7 @@ dir /tmp
# be elected by the majority of the known Sentinels in order to
# be elected by the majority of the known Sentinels in order to
# start a failover, so no failover can be performed in minority.
# start a failover, so no failover can be performed in minority.
#
#
#
r
eplicas are auto-discovered, so you don't need to specify replicas in
#
R
eplicas are auto-discovered, so you don't need to specify replicas in
# any way. Sentinel itself will rewrite this configuration file adding
# any way. Sentinel itself will rewrite this configuration file adding
# the replicas using additional configuration options.
# the replicas using additional configuration options.
# Also note that the configuration file is rewritten when a
# Also note that the configuration file is rewritten when a
...
...
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