1. 15 Jul, 2016 1 commit
  2. 06 Jul, 2016 2 commits
  3. 23 Jun, 2016 1 commit
  4. 22 Jun, 2016 1 commit
  5. 20 Jun, 2016 1 commit
  6. 03 Jun, 2016 1 commit
  7. 30 May, 2016 1 commit
  8. 01 Oct, 2015 5 commits
  9. 27 Jul, 2015 1 commit
  10. 26 Jul, 2015 5 commits
  11. 14 Jul, 2015 1 commit
  12. 11 Mar, 2015 1 commit
  13. 27 Feb, 2015 1 commit
  14. 02 Jan, 2015 1 commit
  15. 03 Dec, 2014 1 commit
  16. 02 Dec, 2014 1 commit
  17. 18 Jul, 2014 1 commit
    • antirez's avatar
      tryObjectEncoding(): use shared objects with maxmemory and non-LRU policy. · b3c042cd
      antirez authored
      In order to make sure every object has its own private LRU counter, when
      maxmemory is enabled tryObjectEncoding() does not use the pool of shared
      integers. However when the policy is not LRU-based, it does not make
      sense to do so, and it is much better to save memory using shared
      integers.
      b3c042cd
  18. 11 Jul, 2014 1 commit
    • michael-grunder's avatar
      Fix OBJECT arity · ce8a68b1
      michael-grunder authored
      Previously, the command definition for the OBJECT command specified
      a minimum of two args (and that it was variadic), which meant that
      if you sent this:
      
      OBJECT foo
      
      When cluster was enabled, it would result in an assertion/SEGFAULT
      when Redis was attempting to extract keys.
      
      It appears that OBJECT is not variadic, and only ever takes 3 args.
      
      https://gist.github.com/michael-grunder/25960ce1508396d0d36a
      ce8a68b1
  19. 12 May, 2014 1 commit
  20. 07 May, 2014 1 commit
  21. 04 Apr, 2014 1 commit
  22. 30 Mar, 2014 1 commit
    • antirez's avatar
      String value unsharing refactored into proper function. · 543ede03
      antirez authored
      All the Redis functions that need to modify the string value of a key in
      a destructive way (APPEND, SETBIT, SETRANGE, ...) require to make the
      object unshared (if refcount > 1) and encoded in raw format (if encoding
      is not already REDIS_ENCODING_RAW).
      
      This was cut & pasted many times in multiple places of the code. This
      commit puts the small logic needed into a function called
      dbUnshareStringValue().
      543ede03
  23. 24 Mar, 2014 1 commit
  24. 21 Mar, 2014 1 commit
  25. 20 Mar, 2014 3 commits
    • antirez's avatar
      Fix OBJECT IDLETIME return value converting to seconds. · 6d5790d6
      antirez authored
      estimateObjectIdleTime() returns a value in milliseconds now, so we need
      to scale the output of OBJECT IDLETIME to seconds.
      6d5790d6
    • antirez's avatar
      Obtain LRU clock in a resolution dependent way. · ad6b0f70
      antirez authored
      For testing purposes it is handy to have a very high resolution of the
      LRU clock, so that it is possible to experiment with scripts running in
      just a few seconds how the eviction algorithms works.
      
      This commit allows Redis to use the cached LRU clock, or a value
      computed on demand, depending on the resolution. So normally we have the
      good performance of a precomputed value, and a clock that wraps in many
      days using the normal resolution, but if needed, changing a define will
      switch behavior to an high resolution LRU clock.
      ad6b0f70
    • antirez's avatar
      Specify LRU resolution in milliseconds. · d77e2316
      antirez authored
      d77e2316
  26. 05 Dec, 2013 1 commit
  27. 27 Aug, 2013 3 commits