summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorEduardo Semprebon <eduardobr@gmail.com>2021-09-30 15:28:25 +0200
committerGitHub <noreply@github.com>2021-09-30 16:28:25 +0300
commitd50967559251496a9efaaafbf4a29038a6726f9e (patch)
tree7b02026e29218dba23cf851277212e4ebd4b6c93 /redis.conf
parent12e4f31d94ff2f6231a147b1578a4efcb0a29a7c (diff)
downloadredis-d50967559251496a9efaaafbf4a29038a6726f9e.tar.gz
Fix error message for replica-serve-stale-data in redis.conf doc (#9519)
seems that his piece of doc was always wrong (no such error in the code)
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/redis.conf b/redis.conf
index bd7fa5271..2839ec631 100644
--- a/redis.conf
+++ b/redis.conf
@@ -518,8 +518,9 @@ dir ./
# still reply to client requests, possibly with out of date data, or the
# data set may just be empty if this is the first synchronization.
#
-# 2) If replica-serve-stale-data is set to 'no' the replica will reply with
-# an error "SYNC with master in progress" to all commands except:
+# 2) If replica-serve-stale-data is set to 'no' the replica will reply with error
+# "MASTERDOWN Link with MASTER is down and replica-serve-stale-data is set to 'no'"
+# to all data access commands, excusing commands such as :
# INFO, REPLICAOF, AUTH, PING, SHUTDOWN, REPLCONF, ROLE, CONFIG, SUBSCRIBE,
# UNSUBSCRIBE, PSUBSCRIBE, PUNSUBSCRIBE, PUBLISH, PUBSUB, COMMAND, POST,
# HOST and LATENCY.