Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
cdad0e64
Commit
cdad0e64
authored
Jun 09, 2020
by
antirez
Browse files
Temporary fix for #7353 issue about EVAL during -BUSY.
parent
48b2915c
Changes
1
Show whitespace changes
Inline
Side-by-side
src/multi.c
View file @
cdad0e64
...
...
@@ -135,6 +135,15 @@ void execCommand(client *c) {
return
;
}
/* If we are in -BUSY state, flag the transaction and return the
* -BUSY error, like Redis <= 5. This is a temporary fix, may be changed
* ASAP, see issue #7353 on Github. */
if
(
server
.
lua_timedout
)
{
flagTransaction
(
c
);
addReply
(
c
,
shared
.
slowscripterr
);
return
;
}
/* Check if we need to abort the EXEC because:
* 1) Some WATCHed key was touched.
* 2) There was a previous error while queueing commands.
...
...
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