1. 18 Mar, 2020 1 commit
  2. 28 Feb, 2020 2 commits
  3. 23 Feb, 2020 1 commit
  4. 22 Feb, 2020 1 commit
  5. 16 Feb, 2020 1 commit
  6. 10 Feb, 2020 1 commit
  7. 06 Feb, 2020 4 commits
    • Oran Agra's avatar
      add no-slowlog option to RM_CreateCommand · 46216b0e
      Oran Agra authored
      46216b0e
    • Oran Agra's avatar
      RM_Scan disable dict rehashing · 28ef18a8
      Oran Agra authored
      The callback approach we took is very efficient, the module can do any
      filtering of keys without building any list and cloning strings, it can
      also read data from the key's value. but if the user tries to re-open
      the key, or any other key, this can cause dict re-hashing (dictFind does
      that), and that's very bad to do from inside dictScan.
      
      this commit protects the dict from doing any rehashing during scan, but
      also warns the user not to attempt any writes or command calls from
      within the callback, for fear of unexpected side effects and crashes.
      28ef18a8
    • Oran Agra's avatar
      moduleRDBLoadError, add key name, and use panic rather than exit · 85cc696f
      Oran Agra authored
      using panic rather than exit means you get s stack trace of the code
      path that experianced the error, and possibly other info.
      85cc696f
    • Oran Agra's avatar
      Fix client flags to be int64 in module.c · d454d5a4
      Oran Agra authored
      currently there's no bug since the flags these functions handle are
      always lower than 32bit, but still better fix the type to prevent future
      bugs.
      d454d5a4
  8. 05 Feb, 2020 1 commit
  9. 04 Feb, 2020 1 commit
  10. 03 Feb, 2020 2 commits
  11. 30 Jan, 2020 1 commit
    • Guy Benoish's avatar
      ld2string should fail if string contains \0 in the middle · 2deb5551
      Guy Benoish authored
      This bug affected RM_StringToLongDouble and HINCRBYFLOAT.
      I added tests for both cases.
      
      Main changes:
      1. Fixed string2ld to fail if string contains \0 in the middle
      2. Use string2ld in getLongDoubleFromObject - No point of
         having duplicated code here
      
      The two changes above broke RM_SaveLongDouble/RM_LoadLongDouble
      because the long double string was saved with length+1 (An innocent
      mistake, but it's actually a bug - The length passed to
      RM_SaveLongDouble should not include the last \0).
      2deb5551
  12. 29 Jan, 2020 1 commit
  13. 30 Dec, 2019 1 commit
    • Guy Benoish's avatar
      Modules: Fix blocked-client-related memory leak · d7d13721
      Guy Benoish authored
      If a blocked module client times-out (or disconnects, unblocked
      by CLIENT command, etc.) we need to call moduleUnblockClient
      in order to free memory allocated by the module sub-system
      and blocked-client private data
      
      Other changes:
      Made blockedonkeys.tcl tests a bit more aggressive in order
      to smoke-out potential memory leaks
      d7d13721
  14. 23 Dec, 2019 1 commit
  15. 20 Dec, 2019 1 commit
  16. 18 Dec, 2019 3 commits
  17. 17 Dec, 2019 4 commits
  18. 13 Dec, 2019 1 commit
  19. 12 Dec, 2019 3 commits
    • Yossi Gottlieb's avatar
      Improve RM_ModuleTypeReplaceValue() API. · 0283db58
      Yossi Gottlieb authored
      With the previous API, a NULL return value was ambiguous and could
      represent either an old value of NULL or an error condition. The new API
      returns a status code and allows the old value to be returned
      by-reference.
      
      This commit also includes test coverage based on
      tests/modules/datatype.c which did not exist at the time of the original
      commit.
      0283db58
    • antirez's avatar
      Remove useless space from moduleLoad(). · 476333d1
      antirez authored
      476333d1
    • Oran Agra's avatar
      Add module API for AvoidReplicaTraffic · b5f3247c
      Oran Agra authored
      This is useful to tell redis and modules to try to avoid doing things that may
      increment the replication offset, and should be used when draining a master
      and waiting for replicas to be in perfect sync before a failover.
      b5f3247c
  20. 11 Dec, 2019 1 commit
  21. 09 Dec, 2019 1 commit
  22. 05 Dec, 2019 1 commit
  23. 03 Dec, 2019 1 commit
  24. 22 Nov, 2019 2 commits
  25. 21 Nov, 2019 1 commit
  26. 19 Nov, 2019 1 commit
  27. 14 Nov, 2019 1 commit