serverLog(LL_WARNING,"Lua slow script detected: still in execution after %lld milliseconds. You can try killing the script using the SCRIPT KILL command.",elapsed);
server.lua_timedout=1;
/* Once the script timeouts we reenter the event loop to permit others
...
...
@@ -1351,9 +1346,7 @@ void evalGenericCommand(client *c, int evalsha) {
addReplySds(c,sdsnew("-NOTBUSY No scripts in execution right now.\r\n"));
}elseif(server.lua_caller->flags&CLIENT_MASTER){
addReplySds(c,sdsnew("-UNKILLABLE The busy script was sent by a master instance in the context of replication and cannot be killed.\r\n"));
}elseif(server.lua_write_dirty){
addReplySds(c,sdsnew("-UNKILLABLE Sorry the script already executed write commands against the dataset. You can either wait the script termination or kill the server in a hard way using the SHUTDOWN NOSAVE command.\r\n"));