1. 04 Jun, 2018 3 commits
    • antirez's avatar
      XGROUP SETID implemented + consumer groups core fixes. · 36b392a0
      antirez authored
      Now that we have SETID, the inetrnals of consumer groups should be able
      to handle the case of the same message delivered multiple times just
      as a side effect of calling XREADGROUP. Normally this should never
      happen but if the admin manually "XGROUP SETID mykey mygroup 0",
      messages will get re-delivered to clients waiting for the ">" special
      ID. The consumer groups internals were not able to handle the case of a
      message re-delivered in this circumstances that was already assigned to
      another owner.
      36b392a0
    • antirez's avatar
      Rax library updated. · 05a29966
      antirez authored
      05a29966
    • antirez's avatar
      XGROUP DESTROY implemented. · 7c6f1be5
      antirez authored
      7c6f1be5
  2. 01 Jun, 2018 2 commits
  3. 31 May, 2018 7 commits
  4. 30 May, 2018 1 commit
  5. 29 May, 2018 3 commits
    • antirez's avatar
    • antirez's avatar
      Don't expire keys while loading RDB from AOF preamble. · 49147f36
      antirez authored
      The AOF tail of a combined RDB+AOF is based on the premise of applying
      the AOF commands to the exact state that there was in the server while
      the RDB was persisted. By expiring keys while loading the RDB file, we
      change the state, so applying the AOF tail later may change the state.
      
      Test case:
      
      * Time1: SET a 10
      * Time2: EXPIREAT a $time5
      * Time3: INCR a
      * Time4: PERSIT A. Start bgrewiteaof with RDB preamble. The value of a is 11 without expire time.
      * Time5: Restart redis from the RDB+AOF: consistency violation.
      
      Thanks to @soloestoy for providing the patch.
      Thanks to @trevor211 for the original issue report and the initial fix.
      
      Check issue #4950 for more info.
      49147f36
    • WuYunlong's avatar
      Fix rdb save by allowing dumping of expire keys, so that when · 2a887bd5
      WuYunlong authored
      we add a new slave, and do a failover, eighter by manual or
      not, other local slaves will delete the expired keys properly.
      2a887bd5
  6. 27 May, 2018 1 commit
  7. 25 May, 2018 13 commits
  8. 24 May, 2018 10 commits