1. 17 Jul, 2019 1 commit
    • Oran Agra's avatar
      prevent diskless replica from terminating on short read · c56b4ddc
      Oran Agra authored
      now that replica can read rdb directly from the socket, it should avoid exiting
      on short read and instead try to re-sync.
      
      this commit tries to have minimal effects on non-diskless rdb reading.
      and includes a test that tries to trigger this scenario on various read cases.
      c56b4ddc
  2. 12 Jul, 2019 1 commit
  3. 10 Jul, 2019 6 commits
  4. 08 Jul, 2019 4 commits
  5. 07 Jul, 2019 1 commit
  6. 05 Jul, 2019 1 commit
  7. 04 Jul, 2019 2 commits
  8. 03 Jul, 2019 3 commits
  9. 02 Jul, 2019 1 commit
  10. 30 Jun, 2019 2 commits
  11. 29 Jun, 2019 1 commit
  12. 13 Jun, 2019 2 commits
  13. 12 Jun, 2019 1 commit
  14. 10 Jun, 2019 1 commit
  15. 07 Jun, 2019 1 commit
  16. 05 Jun, 2019 1 commit
  17. 22 May, 2019 1 commit
    • Angus Pearson's avatar
      Implement `SCAN cursor [TYPE type]` modifier suggested in issue #6107. · bf963253
      Angus Pearson authored
      Add tests to check basic functionality of this optional keyword, and also tested with
      a module (redisgraph). Checked quickly with valgrind, no issues.
      
      Copies name the type name canonicalisation code from `typeCommand`, perhaps this would
      be better factored out to prevent the two diverging and both needing to be edited to
      add new `OBJ_*` types, but this is a little fiddly with C strings.
      
      The [redis-doc](https://github.com/antirez/redis-doc/blob/master/commands.json) repo
      will need to be updated with this new arg if accepted.
      
      A quirk to be aware of here is that the GEO commands are backed by zsets not their own
      type, so they're not distinguishable from other zsets.
      
      Additionally, for sparse types this has the same behaviour as `MATCH` in that it may
      return many empty results before giving something, even for large `COUNT`s.
      bf963253
  18. 15 May, 2019 1 commit
    • antirez's avatar
      Narrow the effects of PR #6029 to the exact state. · 074d24df
      antirez authored
      CLIENT PAUSE may be used, in other contexts, for a long time making all
      the slaves time out. Better for now to be more specific about what
      should disable senidng PINGs.
      
      An alternative to that would be to virtually refresh the slave
      interactions when clients are paused, however for now I went for this
      more conservative solution.
      074d24df
  19. 13 May, 2019 1 commit
  20. 08 May, 2019 3 commits
  21. 07 May, 2019 3 commits
  22. 06 May, 2019 2 commits