Commit 9e997cd0 authored by zhaozhao.zz's avatar zhaozhao.zz Committed by Oran Agra
Browse files

replication: need handle -NOPERM error after send ping (#7538)


(cherry picked from commit 13e50935)
parent 171aa22b
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment