Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
13e50935
Unverified
Commit
13e50935
authored
Jul 20, 2020
by
zhaozhao.zz
Committed by
GitHub
Jul 20, 2020
Browse files
replication: need handle -NOPERM error after send ping (#7538)
parent
e4d7de60
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/replication.c
View file @
13e50935
...
...
@@ -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);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment