1. 05 Mar, 2021 2 commits
  2. 04 Mar, 2021 3 commits
    • Yossi Gottlieb's avatar
      Improve redis-cli non-binary safe string handling. (#8566) · 3c7d6a18
      Yossi Gottlieb authored
      * The `redis-cli --scan` output should honor output mode (set explicitly or implicitly), and quote key names when not in raw mode.
        * Technically this is a breaking change, but it should be very minor since raw mode is by default on for non-tty output.
        * It should only affect  TTY output (human users) or non-tty output if `--no-raw` is specified.
      
      * Added `--quoted-input` option to treat all arguments as potentially quoted strings.
      * Added `--quoted-pattern` option to accept a potentially quoted pattern.
      
      Unquoting is applied to potentially quoted input only if single or double quotes are used. 
      
      Fixes #8561, #8563
      3c7d6a18
    • sundb's avatar
      Fix memory overlap in quicklistRotate (#8599) · f07b7393
      sundb authored
      When the length of the quicklist is 1(only one zipmap), the rotate operation will cause
      memory overlap when moving an entity from the tail of the zipmap to the head.
      quicklistRotate is a dead code, so it has no impact on the existing code.
      f07b7393
    • YaacovHazan's avatar
      Fix RedisModule_IsAOFClient Redis Module API (#8596) · ac918229
      YaacovHazan authored
      Since the API declared (as #define) in redismodule.h and uses
      the CLIENT_ID_AOF that declared in the server.h, when
      a module will want to make use of this API, it will get a compilation
      error (module doesn't include the server.h).
      
      The API was broken by d6eb3afd (failed attempt for a cleanup).
      Revert to the original version of RedisModule_IsAOFClient
      that uses UINT64_MAX instead of CLIENT_ID_AOF
      ac918229
  3. 03 Mar, 2021 3 commits
  4. 02 Mar, 2021 2 commits
  5. 01 Mar, 2021 6 commits
  6. 28 Feb, 2021 3 commits
    • Pavlo Yatsukhnenko's avatar
      Fix div by 0 in redis-cli cluster creation (#8553) · 18ff8cd1
      Pavlo Yatsukhnenko authored
      This could happen on an invalid use, when trying to create a cluster with
      a single node and provide it's address 3 time to satisfy redis-cli requirements.
      18ff8cd1
    • Bonsai's avatar
      Module API for getting user name of a client (#8508) · 17c226b0
      Bonsai authored
      Adding RM_GetClientUserNameById to get the ACL user name of a client connection.
      17c226b0
    • Viktor Söderqvist's avatar
      Shared reusable client for RM_Call() (#8516) · 6122f1c4
      Viktor Söderqvist authored
      A single client pointer is added in the server struct. This is
      initialized by the first RM_Call() and reused for every subsequent
      RM_Call() except if it's already in use, which means that it's not
      used for (recursive) module calls to modules. For these, a new
      "fake" client is created each time.
      
      Other changes:
      * Avoid allocating a dict iterator in pubsubUnsubscribeAllChannels
        when not needed
      6122f1c4
  7. 26 Feb, 2021 1 commit
  8. 25 Feb, 2021 2 commits
  9. 24 Feb, 2021 8 commits
  10. 23 Feb, 2021 3 commits
    • guybe7's avatar
      Fix race in CONFIG REWRITE sanity (#8536) · f745c018
      guybe7 authored
      server may still be LOADING the RDB when receiving the ping
      f745c018
    • Yossi Gottlieb's avatar
      Fix compile errors with no HAVE_MALLOC_SIZE. (#8533) · dd885780
      Yossi Gottlieb authored
      Also adds a new daily CI test, relying on the fact that we don't use malloc_size() on alpine libmusl.
      
      Fixes #8531
      dd885780
    • Yossi Gottlieb's avatar
      Fix failed tests on Linux Alpine and add a CI job. (#8532) · 95ea7454
      Yossi Gottlieb authored
      * Remove linux/version.h dependency.
      
      This introduces unnecessary dependencies, and generally not a good idea
      as the platform we build on may be different than the platform we run
      on.
      
      To determine if sync_file_range exists we can simply rely on header file
      hints.
      
      * Fix setproctitle() on libmusl.
      
      The previous ifdef checks were a bit too strict for no apparent
      reason.
      
      * Fix tests failure on Linux with no backtrace.
      
      * Add alpine daily CI job.
      95ea7454
  11. 22 Feb, 2021 6 commits
  12. 21 Feb, 2021 1 commit