From d34c1ac20816a18e424a529fb612b434797efb67 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 25 Jun 2013 12:49:56 +0200 Subject: [PATCH] Force propagation of SCRIPT LOAD to AOF. --- src/scripting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting.c b/src/scripting.c index 11ed4c61..a794f34f 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -1048,7 +1048,7 @@ void scriptCommand(redisClient *c) { } addReplyBulkCBuffer(c,funcname+2,40); 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")) { if (server.lua_caller == NULL) { addReplySds(c,sdsnew("-NOTBUSY No scripts in execution right now.\r\n")); -- GitLab