Temporary fix for #7353 issue about EVAL during -BUSY.
This commit is contained in:
parent
48b2915c18
commit
cdad0e6485
@ -135,6 +135,15 @@ void execCommand(client *c) {
|
|||||||
return;
|
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:
|
/* Check if we need to abort the EXEC because:
|
||||||
* 1) Some WATCHed key was touched.
|
* 1) Some WATCHed key was touched.
|
||||||
* 2) There was a previous error while queueing commands.
|
* 2) There was a previous error while queueing commands.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user