mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Force propagation of SCRIPT LOAD to AOF.
This commit is contained in:
parent
e27b136069
commit
fb67468813
@ -1048,7 +1048,7 @@ void scriptCommand(redisClient *c) {
|
|||||||
}
|
}
|
||||||
addReplyBulkCBuffer(c,funcname+2,40);
|
addReplyBulkCBuffer(c,funcname+2,40);
|
||||||
sdsfree(sha);
|
sdsfree(sha);
|
||||||
forceCommandPropagation(c,REDIS_PROPAGATE_REPL);
|
forceCommandPropagation(c,REDIS_PROPAGATE_REPL|REDIS_PROPAGATE_AOF);
|
||||||
} else if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"kill")) {
|
} else if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"kill")) {
|
||||||
if (server.lua_caller == NULL) {
|
if (server.lua_caller == NULL) {
|
||||||
addReplySds(c,sdsnew("-NOTBUSY No scripts in execution right now.\r\n"));
|
addReplySds(c,sdsnew("-NOTBUSY No scripts in execution right now.\r\n"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user