1. 12 Jan, 2021 2 commits
    • Oran Agra's avatar
      prevent client tracking from causing feedback loop in performEvictions (#8100) · f2f57eb4
      Oran Agra authored
      When client tracking is enabled signalModifiedKey can increase memory usage,
      this can cause the loop in performEvictions to keep running since it was measuring
      the memory usage impact of signalModifiedKey.
      
      The section that measures the memory impact of the eviction should be just on dbDelete,
      excluding keyspace notification, client tracking, and propagation to AOF and replicas.
      
      This resolves part of the problem described in #8069
      p.s. fix took 1 minute, test took about 3 hours to write.
      
      (cherry picked from commit c4fdf09c)
      f2f57eb4
    • Oran Agra's avatar
      Fix wrong order of key/value in Lua map response (#8266) · ec56906b
      Oran Agra authored
      When a Lua script returns a map to redis (a feature which was added in
      redis 6 together with RESP3), it would have returned the value first and
      the key second.
      
      If the client was using RESP2, it was getting them out of order, and if
      the client was in RESP3, it was getting a map of value => key.
      This was happening regardless of the Lua script using redis.setresp(3)
      or not.
      
      This also affects a case where the script was returning a map which it got
      from from redis by doing something like: redis.setresp(3); return redis.call()
      
      This fix is a breaking change for redis 6.0 users who happened to rely
      on the wrong order (either ones that used redis.setresp(3), or ones that
      returned a map explicitly).
      
      This commit also includes other two changes in the tests:
      1. The test suite now handles RESP3 maps as dicts rather than nested
         lists
      2. Remove some redundant (duplicate) tests from tracking.tcl
      
      (cherry picked from commit 2017407b)
      ec56906b
  2. 07 Oct, 2019 2 commits
    • Yossi Gottlieb's avatar
      TLS: Configuration options. · 61733ded
      Yossi Gottlieb authored
      Add configuration options for TLS protocol versions, ciphers/cipher
      suites selection, etc.
      61733ded
    • Yossi Gottlieb's avatar
      TLS: Connections refactoring and TLS support. · b087dd1d
      Yossi Gottlieb authored
      * Introduce a connection abstraction layer for all socket operations and
      integrate it across the code base.
      * Provide an optional TLS connections implementation based on OpenSSL.
      * Pull a newer version of hiredis with TLS support.
      * Tests, redis-cli updates for TLS support.
      b087dd1d
  3. 29 Sep, 2014 1 commit
  4. 18 Jun, 2014 2 commits
  5. 13 May, 2014 1 commit
  6. 30 Apr, 2014 1 commit
  7. 30 May, 2013 1 commit
  8. 06 Apr, 2012 1 commit
  9. 20 Mar, 2012 1 commit
  10. 15 Oct, 2010 1 commit
  11. 13 Oct, 2010 1 commit
  12. 16 Jun, 2010 1 commit
  13. 15 Jun, 2010 1 commit
  14. 11 Jun, 2010 1 commit
  15. 14 May, 2010 2 commits
  16. 23 Apr, 2010 1 commit
  17. 19 Apr, 2010 1 commit
  18. 15 Apr, 2010 1 commit
  19. 12 Apr, 2010 2 commits
  20. 08 Apr, 2010 1 commit
  21. 07 Apr, 2010 1 commit
  22. 17 Mar, 2010 1 commit
  23. 15 Mar, 2010 3 commits
  24. 04 Feb, 2010 1 commit
  25. 22 Jan, 2010 1 commit
  26. 21 Nov, 2009 1 commit
  27. 20 Nov, 2009 1 commit
  28. 03 Nov, 2009 1 commit