1. 29 Sep, 2014 3 commits
  2. 16 Sep, 2014 1 commit
    • antirez's avatar
      Better truncated AOF loading tests. · a2c740ea
      antirez authored
      Now there are tests to write more data after loading a truncated AOF,
      testing that the loaded data is correct, appending more, and testing
      again.
      a2c740ea
  3. 15 Sep, 2014 2 commits
  4. 08 Sep, 2014 4 commits
  5. 01 Sep, 2014 1 commit
  6. 25 Aug, 2014 1 commit
  7. 08 Aug, 2014 2 commits
    • Matt Stancliff's avatar
      Reject MOVE to non-integer DBs · 498ad748
      Matt Stancliff authored
      Previously, "MOVE key somestring" would move the key to
      DB 0 which is just unexpected and wrong.
      String as DB == error.
      
      Test added too.
      
      Modified by @antirez in order to use the getLongLongFromObject() API
      instead of strtol().
      
      Fixes #1428
      498ad748
    • Matt Stancliff's avatar
      pubsub: Return integers for NUMSUB, not strings · 25791550
      Matt Stancliff authored
      Also adds test for numsub — due to tcl being tcl,
      it doesn't capture the "numberness" of the fix,
      but now we at least have one test case for numsub.
      
      Closes #1561
      25791550
  8. 07 Aug, 2014 3 commits
    • Matt Stancliff's avatar
      Fix key extraction for SORT · 87815ab5
      Matt Stancliff authored
      We only want to use the last STORE key, but we have to record
      we actually found a STORE key so we can increment the final return
      key count.
      
      Test added to prevent further regression.
      
      Closes #1883, #1645, #1647
      87815ab5
    • Jan-Erik Rediger's avatar
      Handle large getrange requests · 53fdfda9
      Jan-Erik Rediger authored
      Previously the end was casted to a smaller type
      which resulted in a wrong check and failed
      with values larger than handled by unsigned.
      
      Closes #1847, #1844
      53fdfda9
    • Matt Stancliff's avatar
      scripting: no eval with negative key count · f17f8521
      Matt Stancliff authored
      Negative key count causes segfault in Lua functions.
      
      Fixes #1842
      Closes #1843
      f17f8521
  9. 28 Jul, 2014 2 commits
  10. 25 Jul, 2014 5 commits
  11. 22 Jul, 2014 1 commit
  12. 21 Jul, 2014 2 commits
  13. 18 Jul, 2014 3 commits
  14. 10 Jul, 2014 4 commits
  15. 30 Jun, 2014 2 commits
  16. 26 Jun, 2014 3 commits
  17. 23 Jun, 2014 1 commit
    • antirez's avatar
      Sentinel test: more correct sentinels config reset. · e21e0ba3
      antirez authored
      In the initialization test for each instance we used to unregister the
      old master and register it again to clear the config.
      However there is a race condition doing this: as soon as we unregister
      and re-register "mymaster", another Sentinel can update the new
      configuration with the old state because of gossip "hello" messages.
      
      So the correct procedure is instead, unregister "mymaster" from all the
      sentinel instances, and re-register it everywhere again.
      e21e0ba3