replication: need handle -NOPERM error after send ping (#7538)
This commit is contained in:
parent
a06d7eda9a
commit
57fbe4cbaf
@ -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…
x
Reference in New Issue
Block a user