1. 25 Jan, 2016 1 commit
  2. 08 Jan, 2016 1 commit
    • antirez's avatar
      Scripting: handle trailing comments. · e50b9a07
      antirez authored
      This fix, provided by Paul Kulchenko (@pkulchenko), allows the Lua
      scripting engine to evaluate statements with a trailing comment like the
      following one:
      
          EVAL "print() --comment" 0
      
      Lua can't parse the above if the string does not end with a newline, so
      now a final newline is always added automatically. This does not change
      the SHA1 of scripts since the SHA1 is computed on the body we pass to
      EVAL, without the other code we add to register the function.
      
      Close #2951.
      e50b9a07
  3. 02 Jan, 2016 1 commit
  4. 18 Dec, 2015 1 commit
  5. 17 Dec, 2015 1 commit
    • antirez's avatar
      Cluster: resharding test now checks AOF consistency. · cb61d003
      antirez authored
      It's a key invariant that when AOF is enabled, after the cluster
      reshards, a crash-recovery event causes all the keys to be still fine
      with the expected logical content. Now this is part of unit 04.
      cb61d003
  6. 13 Dec, 2015 2 commits
  7. 10 Dec, 2015 2 commits
    • antirez's avatar
      Cluster: more reliable migration tests. · 5ad4f7e0
      antirez authored
      The old version was modeled with two failovers, however after the first
      it is possible that another slave will migrate to the new master, since
      for some time the new master is not backed by any slave. Probably there
      should be some pause after a failover, before the migration. Anyway the
      test is simpler in this way, and depends less on timing.
      5ad4f7e0
    • antirez's avatar
      Cluster: more reliable replicas migration test. · 6007ea3b
      antirez authored
      6007ea3b
  8. 15 Oct, 2015 1 commit
  9. 15 Sep, 2015 1 commit
    • antirez's avatar
      Test: fix false positive in HSTRLEN test. · 652e662d
      antirez authored
      HINCRBY* tests later used the value "tmp" that was sometimes generated
      by the random key generation function. The result was ovewriting what
      Tcl expected to be inside Redis with another value, causing the next
      HSTRLEN test to fail.
      652e662d
  10. 14 Sep, 2015 2 commits
    • antirez's avatar
      Test: MOVE expire test improved. · a0ff29bc
      antirez authored
      Related to #2765.
      a0ff29bc
    • antirez's avatar
      MOVE now can move TTL metadata as well. · 5b6c7647
      antirez authored
      MOVE was not able to move the TTL: when a key was moved into a different
      database number, it became persistent like if PERSIST was used.
      
      In some incredible way (I guess almost nobody uses Redis MOVE) this bug
      remained unnoticed inside Redis internals for many years.
      Finally Andy Grunwald discovered it and opened an issue.
      
      This commit fixes the bug and adds a regression test.
      
      Close #2765.
      5b6c7647
  11. 05 Aug, 2015 4 commits
  12. 29 May, 2015 3 commits
  13. 19 May, 2015 1 commit
  14. 15 May, 2015 1 commit
  15. 01 Apr, 2015 1 commit
  16. 30 Mar, 2015 1 commit
  17. 27 Mar, 2015 1 commit
  18. 22 Mar, 2015 4 commits
  19. 18 Mar, 2015 1 commit
  20. 10 Feb, 2015 2 commits
    • antirez's avatar
      Faster memory efficiency test. · 9c40565b
      antirez authored
      This test on Linux was extremely slow, since in Tcl we can't enable
      easily tcp-nodelay, so the busy loop used to take *a lot* with bigger
      writes. Fixed using pipelining.
      9c40565b
    • antirez's avatar
      Faster memory efficiency test. · bee03dac
      antirez authored
      This test on Linux was extremely slow, since in Tcl we can't enable
      easily tcp-nodelay, so the busy loop used to take *a lot* with bigger
      writes. Fixed using pipelining.
      bee03dac
  21. 22 Jan, 2015 8 commits