1. 29 Nov, 2016 3 commits
  2. 28 Nov, 2016 2 commits
    • antirez's avatar
      PSYNC2: stop sending newlines to sub-slaves when master is down. · eab865a0
      antirez authored
      This actually includes two changes:
      
      1) No newlines to take the master-slave link up when the upstream master
      is down. Doing this is dangerous because the sub-slave often is received
      replication protocol for an half-command, so can't receive newlines
      without desyncing the replication link, even with the code in order to
      cancel out the bytes that PSYNC2 was using. Moreover this is probably
      also not needed/sane, because anyway the slave can keep serving
      requests, and because if it's configured to don't serve stale data, it's
      a good idea, actually, to break the link.
      
      2) When a +CONTINUE with a different ID is received, we now break
      connection with the sub-slaves: they need to be notified as well. This
      was part of the original specification but for some reason it was not
      implemented in the code, and was alter found as a PSYNC2 bug in the
      integration testing.
      eab865a0
    • antirez's avatar
      PSYNC2: Test (WIP). · 16559a02
      antirez authored
      This is the PSYNC2 test that helped find issues in the code, and that
      still can show a protocol desync from time to time. Work is in progress
      in order to find the issue. For now the test is not enabled in "make
      test" and must be run manually.
      16559a02
  3. 04 Jul, 2016 1 commit
  4. 15 Oct, 2015 1 commit
  5. 05 Aug, 2015 2 commits
  6. 04 Aug, 2015 1 commit
  7. 27 Mar, 2015 1 commit
  8. 13 Mar, 2015 1 commit
  9. 11 Feb, 2015 2 commits
  10. 10 Feb, 2015 1 commit
  11. 04 Feb, 2015 1 commit
  12. 14 Dec, 2014 1 commit
    • Alon Diamant's avatar
      Added <count> parameter to SPOP: · 28802887
      Alon Diamant authored
      spopCommand() now runs spopWithCountCommand() in case the <count> param is found.
      Added intsetRandomMembers() to Intset: Copies N random members from the set into inputted 'values' array. Uses either the Knuth or Floyd sample algos depending on ratio count/size.
      Added setTypeRandomElements() to SET type: Returns a number of random elements from a non empty set. This is a version of setTypeRandomElement() that is modified in order to return multiple entries, using dictGetRandomKeys() and intsetRandomMembers().
      Added tests for SPOP with <count>: unit/type/set, unit/scripting, integration/aof
      --
      Cleaned up code a bit to match with required Redis coding style
      28802887
  13. 24 Nov, 2014 1 commit
  14. 24 Oct, 2014 1 commit
  15. 29 Sep, 2014 2 commits
  16. 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
  17. 08 Sep, 2014 4 commits
  18. 10 Jul, 2014 1 commit
  19. 26 Jun, 2014 3 commits
  20. 23 Jun, 2014 1 commit
  21. 05 Jun, 2014 1 commit
  22. 22 May, 2014 1 commit
  23. 29 Jul, 2013 1 commit
  24. 25 Jun, 2013 3 commits
  25. 19 Jun, 2013 1 commit
  26. 31 May, 2013 1 commit
  27. 30 May, 2013 1 commit