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
2eb8a460
Commit
2eb8a460
authored
Nov 28, 2013
by
antirez
Browse files
Reply to PING with error when there is a MISCONF state.
parent
a46f841d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
2eb8a460
...
...
@@ -1922,7 +1922,8 @@ int processCommand(redisClient *c) {
if
(
server
.
stop_writes_on_bgsave_err
&&
server
.
saveparamslen
>
0
&&
server
.
lastbgsave_status
==
REDIS_ERR
&&
c
->
cmd
->
flags
&
REDIS_CMD_WRITE
)
(
c
->
cmd
->
flags
&
REDIS_CMD_WRITE
||
c
->
cmd
->
proc
==
pingCommand
))
{
flagTransaction
(
c
);
addReply
(
c
,
shared
.
bgsaveerr
);
...
...
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