1. 28 Apr, 2017 2 commits
  2. 14 Apr, 2017 1 commit
  3. 22 Feb, 2017 2 commits
    • antirez's avatar
      Solaris fixes about tail usage and atomic vars. · 95883313
      antirez authored
      Testing with Solaris C compiler (SunOS 5.11 11.2 sun4v sparc sun4v)
      there were issues compiling due to atomicvar.h and running the
      tests also failed because of "tail" usage not conform with Solaris
      tail implementation. This commit fixes both the issues.
      95883313
    • antirez's avatar
      Test: replication-psync, wait more to detect write load. · 2b36706a
      antirez authored
      Slow systems like the original Raspberry PI need more time
      than 5 seconds to start the script and detect writes.
      After fixing the Raspberry PI can pass the unit without issues.
      2b36706a
  4. 13 Dec, 2016 1 commit
  5. 29 Nov, 2016 3 commits
  6. 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
  7. 04 Jul, 2016 1 commit
  8. 15 Oct, 2015 1 commit
  9. 05 Aug, 2015 2 commits
  10. 04 Aug, 2015 1 commit
  11. 27 Mar, 2015 1 commit
  12. 13 Mar, 2015 1 commit
  13. 11 Feb, 2015 2 commits
  14. 10 Feb, 2015 1 commit
  15. 04 Feb, 2015 1 commit
  16. 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
  17. 24 Nov, 2014 1 commit
  18. 24 Oct, 2014 1 commit
  19. 29 Sep, 2014 2 commits
  20. 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
  21. 08 Sep, 2014 4 commits
  22. 10 Jul, 2014 1 commit
  23. 26 Jun, 2014 3 commits
  24. 23 Jun, 2014 1 commit
  25. 05 Jun, 2014 1 commit
  26. 22 May, 2014 1 commit
  27. 29 Jul, 2013 1 commit