From 70773eef7084d51619c0ccc497f701ba4d8f0665 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 15 Dec 2024 09:29:07 +0000 Subject: [CritFix] Allow to reupload scripts when Redis is restarted Issue: #5256 --- lualib/lua_redis.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lualib/lua_redis.lua b/lualib/lua_redis.lua index 7b85f44c4..003fee957 100644 --- a/lualib/lua_redis.lua +++ b/lualib/lua_redis.lua @@ -1140,6 +1140,8 @@ local function script_set_loaded(script) script.loaded = true end + script.servers_ready = nil -- Allow further reload + local wait_table = {} for _, s in ipairs(script.waitq) do table.insert(wait_table, s) -- cgit v1.2.3