From d50967559251496a9efaaafbf4a29038a6726f9e Mon Sep 17 00:00:00 2001 From: Eduardo Semprebon Date: Thu, 30 Sep 2021 15:28:25 +0200 Subject: 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) --- redis.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'redis.conf') 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. -- cgit v1.2.1