1. 04 Dec, 2017 3 commits
    • antirez's avatar
      Fix issue #4505, Lua RDB AUX field loading of existing scripts. · 68681f2b
      antirez authored
      Unfortunately, as outlined by @soloestoy in #4505, "lua" AUX RDB field
      loading in case of duplicated script was still broken. This commit fixes
      this problem and also a memory leak introduced by the past commit.
      
      Note that now we have a regression test able to duplicate the issue, so
      this commit was actually tested against the regression. The original PR
      also had a valid fix, but I prefer to hide the details of scripting.c
      outside scripting.c, and later "SCRIPT LOAD" should also be able to use
      the function luaCreateFunction() instead of redoing the work.
      68681f2b
    • antirez's avatar
      6f0b19bc
    • antirez's avatar
      DEBUG change-repl-id implemented. · 6a1bf07a
      antirez authored
      With PSYNC2 to force a full SYNC in tests is hard. With this new DEBUG
      subcommand we just need to call it and then CLIENT KILL TYPE master in
      the slave.
      6a1bf07a
  2. 01 Dec, 2017 37 commits