1. 24 Aug, 2020 2 commits
  2. 23 Aug, 2020 3 commits
  3. 21 Aug, 2020 1 commit
  4. 20 Aug, 2020 6 commits
  5. 19 Aug, 2020 1 commit
  6. 18 Aug, 2020 5 commits
  7. 17 Aug, 2020 2 commits
    • Yossi Gottlieb's avatar
      Module API: fix missing RM_CLIENTINFO_FLAG_SSL. (#7666) · 64c360c5
      Yossi Gottlieb authored
      The `REDISMODULE_CLIENTINFO_FLAG_SSL` flag was already a part of the `RedisModuleClientInfo` structure but was not implemented.
      64c360c5
    • Yossi Gottlieb's avatar
      TLS: relax verification on CONFIG SET. (#7665) · fb2a94af
      Yossi Gottlieb authored
      Avoid re-configuring (and validating) SSL/TLS configuration on `CONFIG
      SET` when TLS is not actively enabled for incoming connections, cluster
      bus or replication.
      
      This fixes failures when tests run without `--tls` on binaries that were
      built with TLS support.
      
      An additional benefit is that it's now possible to perform a multi-step
      configuration process while TLS is disabled. The new configuration will
      be verified and applied only when TLS is effectively enabled.
      fb2a94af
  8. 16 Aug, 2020 1 commit
    • Oran Agra's avatar
      Merge pull request #7661 from michael-grunder/hiredis-unique-sds-symbols · 1407a055
      Oran Agra authored
      This resolves an issue with sentinel that was created when hiredis was recently updated.
      this was due to sds symbol names clashing, since hiredis now includes different implementation
      of sdsrange than the one in redis.
      
      The state of things is that redis-benchamrk and redis-cli include only hiredis sds implementation.
      redis-cli even operates (calls sdscatlen) on sds that's allocated by hiredis.
      
      Sentinel however has both implementations of the sds library in it (now each with it's own unique
      symbols).
      1407a055
  9. 15 Aug, 2020 3 commits
  10. 14 Aug, 2020 1 commit
    • Nathan Scott's avatar
      Annotate module API functions in redismodule.h for use with -fno-common (#6900) · 11cd983d
      Nathan Scott authored
      
      
      In order to keep the redismodule.h self-contained but still usable with
      gcc v10 and later, annotate each API function tentative definition with
      the __common__ attribute.  This avoids the 'multiple definition' errors
      modules will otherwise see for all API functions at link time.
      
      Further details at gcc.gnu.org/gcc-10/porting_to.html
      
      Turn the existing __attribute__ ((unused)), ((__common__)) and ((print))
      annotations into conditional macros for any compilers not accepting this
      syntax.  These macros only expand to API annotations under gcc.
      
      Provide a pre- and post- macro for every API function, so that they can
      be defined differently by the file that includes redismodule.h.
      
      Removing REDISMODULE_API_FUNC in the interest of keeping the function
      declarations readable.
      Co-authored-by: default avatarYossi Gottlieb <yossigo@gmail.com>
      Co-authored-by: default avatarOran Agra <oran@redislabs.com>
      11cd983d
  11. 13 Aug, 2020 1 commit
    • caozb's avatar
      wait command optimization (#7333) · d10b2f31
      caozb authored
      
      
      Client that issued WAIT last will most likely have the highest replication offset, so imagine a probably common case where all clients are waiting for the same number of replicas. we prefer the loop to start from the last client (one waiting for the highest offset), so that the optimization in the function will call replicationCountAcksByOffset for each client until it found a good one, and stop calling it for the rest of the clients.
      the way the loop was implemented would mean that in such case it is likely to call replicationCountAcksByOffset for all clients.
      
      Note: the change from > to >= is not directly related to the above.
      Co-authored-by: default avatar曹正斌 <caozb@jiedaibao.com>
      d10b2f31
  12. 12 Aug, 2020 6 commits
  13. 11 Aug, 2020 8 commits