1. 06 Jun, 2018 2 commits
  2. 05 Jun, 2018 2 commits
  3. 04 Jun, 2018 5 commits
  4. 03 Jun, 2018 1 commit
  5. 01 Jun, 2018 2 commits
  6. 31 May, 2018 7 commits
  7. 30 May, 2018 1 commit
  8. 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
  9. 27 May, 2018 1 commit
  10. 25 May, 2018 13 commits
  11. 24 May, 2018 3 commits