1. 28 Apr, 2021 3 commits
    • Binbin's avatar
      redis-benchmark: Add zfree(data) and fix lrange size / text mismatch (#8872) · 1eff8564
      Binbin authored
      missing zfree(data) in redis-benchmark.
      
      And also correct the wrong size in lrange.
      the text mentioned 500, but size was 450, changed to 500
      1eff8564
    • Binbin's avatar
      redis-cli: Do not use hostsocket when we got redirected in cluster mode (#8870) · 416f2773
      Binbin authored
      When redis-cli was used with both -c (cluster) and -s (unix socket),
      it would have kept trying to use that unix socket, even if it got
      redirected by the cluster (resulting in an infinite loop).
      416f2773
    • filipe oliveira's avatar
      redis-benchmark: Error/Warning handling updates. (#8869) · ef6f9023
      filipe oliveira authored
      - Immediately exit on errors that are not related to topology updates.
      - Deprecates the `-e` option ( retro compatible ) and warns that we now
        exit immediately on errors that are not related to topology updates.
      - Fixed wrongfully failing on config fetch error (warning only). This only affects RE.
      
      Bottom line:
      - MOVED and ASK errors will not show any warning (unlike the throttled error with `-e` before).
      - CLUSTERDOWN still prints an error unconditionally and sleeps for 1 second.
      - other errors are fatal.
      ef6f9023
  2. 27 Apr, 2021 5 commits
  3. 26 Apr, 2021 7 commits
  4. 25 Apr, 2021 7 commits
  5. 24 Apr, 2021 2 commits
  6. 22 Apr, 2021 2 commits
  7. 21 Apr, 2021 7 commits
  8. 20 Apr, 2021 4 commits
  9. 19 Apr, 2021 3 commits
    • Viktor Söderqvist's avatar
    • Hanna Fadida's avatar
      Modules: adding a module type for key space notification (#8759) · 53a4d6c3
      Hanna Fadida authored
      Adding a new type mask ​for key space notification, REDISMODULE_NOTIFY_MODULE, to enable unique notifications from commands on REDISMODULE_KEYTYPE_MODULE type keys (which is currently unsupported).
      
      Modules can subscribe to a module key keyspace notification by RM_SubscribeToKeyspaceEvents,
      and clients by notify-keyspace-events of redis.conf or via the CONFIG SET, with the characters 'd' or 'A' 
      (REDISMODULE_NOTIFY_MODULE type mask is part of the '**A**ll' notation for key space notifications).
      
      Refactor: move some pubsub test infra from pubsub.tcl to util.tcl to be re-used by other tests.
      53a4d6c3
    • guybe7's avatar
      Modules: Replicate lazy-expire even if replication is not allowed (#8816) · f40ca9cb
      guybe7 authored
      Before this commit using RM_Call without "!" could cause the master
      to lazy-expire a key (delete it) but without replicating to replicas.
      This could cause the replica's memory usage to gradually grow and
      could also cause consistency issues if the master and replica have
      a clock diff.
      This bug was introduced in #8617
      
      Added a test which demonstrates that scenario.
      f40ca9cb