1. 23 May, 2023 1 commit
  2. 23 Dec, 2022 1 commit
    • Madelyn Olson's avatar
      Harden init-tests for cluster tests (#11635) · 7379d221
      Madelyn Olson authored
      Attempt to harden cluster init-tests by doing two things:
      * Retry up to 3 times to join the cluster. Cluster meet is entirely idempotent, so it should stabilize if we missed a node.
      * Validate the connection is actually established, not just exists in the cluster list. Nodes can exist in handshake, but might later get dropped.
      7379d221
  3. 17 Nov, 2022 1 commit
    • Ping Xie's avatar
      Introduce Shard IDs to logically group nodes in cluster mode (#10536) · 203b12e4
      Ping Xie authored
      Introduce Shard IDs to logically group nodes in cluster mode.
      1. Added a new "shard_id" field to "cluster nodes" output and nodes.conf after "hostname"
      2. Added a new PING extension to propagate "shard_id"
      3. Handled upgrade from pre-7.2 releases automatically
      4. Refactored PING extension assembling/parsing logic
      
      Behavior of Shard IDs:
      
      Replicas will always follow the shards of their reported primaries. If a primary updates its shard ID, the replica will follow. (This need not follow for cluster v2) This is not an expected use case.
      203b12e4
  4. 02 Nov, 2022 1 commit
  5. 16 Mar, 2022 1 commit
  6. 03 Jan, 2022 2 commits
  7. 17 Dec, 2021 1 commit
    • ny0312's avatar
      Introduce memory management on cluster link buffers (#9774) · 792afb44
      ny0312 authored
      Introduce memory management on cluster link buffers:
       * Introduce a new `cluster-link-sendbuf-limit` config that caps memory usage of cluster bus link send buffers.
       * Introduce a new `CLUSTER LINKS` command that displays current TCP links to/from peers.
       * Introduce a new `mem_cluster_links` field under `INFO` command output, which displays the overall memory usage by all current cluster links.
       * Introduce a new `total_cluster_links_buffer_limit_exceeded` field under `CLUSTER INFO` command output, which displays the accumulated count of cluster links freed due to `cluster-link-sendbuf-limit`.
      792afb44
  8. 12 Apr, 2021 1 commit
    • Yossi Gottlieb's avatar
      Fix failing cluster tests. (#8763) · 5e3a15ae
      Yossi Gottlieb authored
      Disable replica migration to avoid a race condition where the
      migrated-from node turns into a replica.
      
      Long term, this test should probably be improved to handle multiple
      slots and accept such auto migrations but this is a quick fix to
      stabilize the CI without completely dropping this test.
      5e3a15ae
  9. 06 Apr, 2021 1 commit
    • Yossi Gottlieb's avatar
      Clean up and stabilize cluster migration tests. (#8745) · 4724dd43
      Yossi Gottlieb authored
      This is work in progress, focusing on two main areas:
      * Avoiding race conditions with cluster configuration propagation.
      * Ignoring limitations with redis-cli --cluster fix which makes it hard
        to distinguish real errors (e.g. failure to fix) from expected
        conditions in this test (e.g. nodes not agreeing on configuration).
      4724dd43
  10. 12 Jan, 2021 1 commit
    • Oran Agra's avatar
      Fix cluster diskless load swapdb test (#8308) · 26495387
      Oran Agra authored
      The test was trying to wait for the replica to start loading the rdb
      from the master before it kills the master, but it was actually waiting
      for ROLE to be in "sync" mode, which corresponds to REPL_STATE_TRANSFER
      that starts before the actual loading starts.
      now instead it waits for the loading flag to be set.
      
      Besides, the test was dependent on the previous configuration of the
      servers, relying on the fact the replica is configured to persist
      (either RDB of AOF), now it is set explicitly.
      26495387
  11. 04 Aug, 2020 1 commit
  12. 14 Mar, 2018 1 commit
  13. 29 Sep, 2014 1 commit
  14. 23 May, 2014 1 commit
  15. 19 May, 2014 1 commit
  16. 14 May, 2014 1 commit
  17. 29 Apr, 2014 2 commits
  18. 24 Apr, 2014 1 commit