mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
replication: need handle -NOPERM error after send ping (#7538)
This commit is contained in:
parent
e4d7de608c
commit
13e50935a8
@ -2158,6 +2158,7 @@ void syncWithMaster(connection *conn) {
|
||||
* both. */
|
||||
if (err[0] != '+' &&
|
||||
strncmp(err,"-NOAUTH",7) != 0 &&
|
||||
strncmp(err,"-NOPERM",7) != 0 &&
|
||||
strncmp(err,"-ERR operation not permitted",28) != 0)
|
||||
{
|
||||
serverLog(LL_WARNING,"Error reply to PING from master: '%s'",err);
|
||||
|
Loading…
Reference in New Issue
Block a user