1. 23 Mar, 2020 3 commits
  2. 22 Mar, 2020 3 commits
  3. 20 Mar, 2020 2 commits
  4. 18 Mar, 2020 3 commits
    • hwware's avatar
      fix potentical memory leak in redis-cli · 86691ccf
      hwware authored
      86691ccf
    • Guy Benoish's avatar
      f16eaadd
    • WuYunlong's avatar
      Fix master replica inconsistency for upgrading scenario. · f6029fb9
      WuYunlong authored
      Before this commit, when upgrading a replica, expired keys will not
      be loaded, thus causing replica having less keys in db. To this point,
      master and replica's keys is logically consistent. However, before
      the keys in master and replica are physically consistent, that is,
      they have the same dbsize, if master got a problem and the replica
      got promoted and becomes new master of that partition, and master
      updates a key which does not exist on master, but physically exists
      on the old master(new replica), the old master would refuse to update
      the key, thus causing master and replica data inconsistent.
      
      How could this happen?
      That's all because of the wrong judgement of roles while starting up
      the server. We can not use server.masterhost to judge if the server
      is master or replica, since it fails in cluster mode.
      
      When we start the server, we load rdb and do want to load expired keys,
      and do not want to have the ability to active expire keys, if it is
      a replica.
      f6029fb9
  5. 16 Mar, 2020 4 commits
  6. 15 Mar, 2020 3 commits
  7. 13 Mar, 2020 1 commit
  8. 12 Mar, 2020 3 commits
  9. 11 Mar, 2020 1 commit
  10. 07 Mar, 2020 1 commit
  11. 05 Mar, 2020 1 commit
  12. 04 Mar, 2020 5 commits
  13. 03 Mar, 2020 1 commit
  14. 02 Mar, 2020 1 commit
  15. 29 Feb, 2020 1 commit
  16. 28 Feb, 2020 2 commits
  17. 27 Feb, 2020 4 commits
  18. 25 Feb, 2020 1 commit