1. 16 6月, 2020 1 次提交
  2. 27 5月, 2020 1 次提交
    • L
      fix clusters mixing accidentally by gossip · 3984dc65
      Liu Zhen 提交于
      `clusterStartHandshake` will start hand handshake
      and eventually send CLUSTER MEET message, which is strictly prohibited
      in the REDIS CLUSTER SPEC.
      Only system administrator can initiate CLUSTER MEET message.
      Futher, according to the SPEC, rather than IP/PORT pairs, only nodeid
      can be trusted.
      3984dc65
  3. 09 5月, 2020 3 次提交
    • A
      Cluster: clarify we always resolve the sender. · 4387ba6a
      antirez 提交于
      4387ba6a
    • A
      Cluster: refactor ping/data delay handling. · 79de9d6c
      antirez 提交于
      79de9d6c
    • A
      Cluster: introduce data_received field. · 00a3bc43
      antirez 提交于
      We want to send pings and pongs at specific intervals, since our packets
      also contain information about the configuration of the cluster and are
      used for gossip. However since our cluster bus is used in a mixed way
      for data (such as Pub/Sub or modules cluster messages) and metadata,
      sometimes a very busy channel may delay the reception of pong packets.
      So after discussing it in #7216, this commit introduces a new field that
      is not exposed in the cluster, is only an internal information about
      the last time we received any data from a given node: we use this field
      in order to avoid detecting failures, claiming data reception of new
      data from the node is a proof of liveness.
      00a3bc43
  4. 30 4月, 2020 1 次提交
  5. 21 4月, 2020 2 次提交
  6. 16 4月, 2020 1 次提交
  7. 09 4月, 2020 1 次提交
    • A
      RDB: load files faster avoiding useless free+realloc. · 30adc622
      antirez 提交于
      Reloading of the RDB generated by
      
          DEBUG POPULATE 5000000
          SAVE
      
      is now 25% faster.
      
      This commit also prepares the ability to have more flexibility when
      loading stuff from the RDB, since we no longer use dbAdd() but can
      control exactly how things are added in the database.
      30adc622
  8. 22 3月, 2020 1 次提交
  9. 20 3月, 2020 1 次提交
  10. 18 3月, 2020 1 次提交
  11. 12 3月, 2020 1 次提交
  12. 13 1月, 2020 1 次提交
  13. 07 1月, 2020 1 次提交
  14. 17 12月, 2019 3 次提交
  15. 10 11月, 2019 1 次提交
    • O
      rename RN_SetLRUOrLFU -> RM_SetLRU and RN_SetLFU · 28c20b4e
      Oran Agra 提交于
      - the API name was odd, separated to two apis one for LRU and one for LFU
      - the LRU idle time was in 1 second resolution, which might be ok for RDB
        and RESTORE, but i think modules may need higher resolution
      - adding tests for LFU and for handling maxmemory policy mismatch
      28c20b4e
  16. 08 10月, 2019 2 次提交
  17. 07 10月, 2019 1 次提交
    • O
      fix issues found by a static analyzer · d1a005ab
      Oran Agra 提交于
      cluster.c - stack buffer memory alignment
          The pointer 'buf' is cast to a more strictly aligned pointer type
      evict.c - lazyfree_lazy_eviction, lazyfree_lazy_eviction always called
      defrag.c - bug in dead code
      server.c - casting was missing parenthesis
      rax.c - indentation / newline suggested an 'else if' was intended
      d1a005ab
  18. 19 9月, 2019 1 次提交
  19. 02 9月, 2019 1 次提交
  20. 23 7月, 2019 1 次提交
  21. 15 3月, 2019 1 次提交
  22. 01 3月, 2019 1 次提交
  23. 10 1月, 2019 2 次提交
  24. 22 10月, 2018 1 次提交
  25. 18 10月, 2018 1 次提交
  26. 19 9月, 2018 4 次提交
  27. 11 9月, 2018 1 次提交
  28. 31 7月, 2018 2 次提交
  29. 24 7月, 2018 1 次提交