1. 04 Jul, 2016 1 commit
  2. 30 Jun, 2016 3 commits
  3. 15 Jun, 2016 2 commits
  4. 13 Jun, 2016 2 commits
  5. 18 May, 2016 1 commit
  6. 05 May, 2016 2 commits
  7. 04 May, 2016 1 commit
  8. 02 May, 2016 6 commits
  9. 18 Feb, 2016 1 commit
  10. 25 Jan, 2016 2 commits
  11. 08 Jan, 2016 1 commit
    • antirez's avatar
      Scripting: handle trailing comments. · 5fd61c95
      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.
      5fd61c95
  12. 02 Jan, 2016 1 commit
  13. 29 Dec, 2015 1 commit
  14. 23 Dec, 2015 1 commit
  15. 18 Dec, 2015 1 commit
  16. 17 Dec, 2015 1 commit
    • antirez's avatar
      Cluster: resharding test now checks AOF consistency. · cd29e7be
      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.
      cd29e7be
  17. 13 Dec, 2015 2 commits
  18. 10 Dec, 2015 2 commits
    • antirez's avatar
      Cluster: more reliable migration tests. · 7399195c
      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.
      7399195c
    • antirez's avatar
      Cluster: more reliable replicas migration test. · 34882878
      antirez authored
      34882878
  19. 30 Oct, 2015 3 commits
  20. 15 Oct, 2015 1 commit
  21. 09 Oct, 2015 1 commit
  22. 06 Oct, 2015 1 commit
  23. 15 Sep, 2015 1 commit
    • antirez's avatar
      Test: fix false positive in HSTRLEN test. · 846da5b2
      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.
      846da5b2
  24. 14 Sep, 2015 2 commits
    • antirez's avatar
      GEORADIUS: Don't report duplicates when radius is huge. · 3c23b5ff
      antirez authored
      Georadius works by computing the center + neighbors squares covering all
      the area of the specified position and radius. Then a distance filter is
      used to remove elements which are actually outside the range.
      
      When a huge radius is used, like 5000 km or more, adjacent neighbors may
      collide and be the same, leading to the reporting of the same element
      multiple times. This only happens in the edge case of huge radius but is
      not ideal.
      
      A robust but slow solution would involve qsorting the range to remove
      all the duplicates. However since the collisions are only in adjacent
      boxes, for the way they are ordered in the code, it is much faster to
      just check if the current box is the same as the previous one processed.
      
      This commit adds a regression test for the bug.
      
      Fixes #2767.
      3c23b5ff
    • antirez's avatar
      Test: MOVE expire test improved. · 0a91fc45
      antirez authored
      Related to #2765.
      0a91fc45