1. 04 Sep, 2018 2 commits
    • Sascha Roland's avatar
      #5299 Fix blocking XREAD for streams that ran dry · c1e9186f
      Sascha Roland authored
      The conclusion, that a xread request can be answered syncronously in
      case that the stream's last_id is larger than the passed last-received-id
      parameter, assumes, that there must be entries present, which could be
      returned immediately.
      This assumption fails for empty streams that actually contained some
      entries which got removed by xdel, ... .
      
      As result, the client is answered synchronously with an empty result,
      instead of blocking for new entries to arrive.
      An additional check for a non-empty stream is required.
      c1e9186f
    • Salvatore Sanfilippo's avatar
      Merge pull request #5315 from soloestoy/optimize-parsing-large-bulk · d60c17cb
      Salvatore Sanfilippo authored
      networking: optimize parsing large bulk greater than 32k
      d60c17cb
  2. 03 Sep, 2018 6 commits
  3. 31 Aug, 2018 5 commits
  4. 29 Aug, 2018 7 commits
  5. 27 Aug, 2018 8 commits
  6. 26 Aug, 2018 6 commits
  7. 25 Aug, 2018 1 commit
  8. 23 Aug, 2018 1 commit
    • zhaozhao.zz's avatar
      networking: make setProtocolError simple and clear · f2ad89a3
      zhaozhao.zz authored
      Function setProtocolError just records proctocol error
      details in server log, set client as CLIENT_CLOSE_AFTER_REPLY.
      It doesn't care about querybuf sdsrange, because we
      will do it after procotol parsing.
      f2ad89a3
  9. 22 Aug, 2018 1 commit
  10. 21 Aug, 2018 1 commit
    • Oran Agra's avatar
      Fix unstable tests on slow machines. · c8452ab0
      Oran Agra authored
      Few tests had borderline thresholds that were adjusted.
      
      The slave buffers test had two issues, preventing the slave buffer from growing:
      1) the slave didn't necessarily go to sleep on time, or woke up too early,
         now using SIGSTOP to make sure it goes to sleep exactly when we want.
      2) the master disconnected the slave on timeout
      c8452ab0
  11. 14 Aug, 2018 2 commits