1. 23 5月, 2012 5 次提交
  2. 12 5月, 2012 7 次提交
  3. 11 5月, 2012 2 次提交
  4. 10 5月, 2012 1 次提交
  5. 09 5月, 2012 1 次提交
  6. 02 5月, 2012 1 次提交
  7. 01 5月, 2012 1 次提交
    • P
      Use safe dictionary iterator from KEYS · f2ffb592
      Pieter Noordhuis 提交于
      Every matched key in a KEYS call is checked for expiration. When the key
      is set to expire, the call to `getExpire` will assert that the key also
      exists in the main dictionary. This in turn causes a rehashing step to
      be executed. Rehashing a dictionary when there is an iterator active may
      result in the iterator emitting duplicate entries, or not emitting some
      entries at all. By using a safe iterator, the rehash step is omitted.
      f2ffb592
  8. 30 4月, 2012 5 次提交
  9. 29 4月, 2012 2 次提交
  10. 22 4月, 2012 1 次提交
    • A
      Limit memory used by big SLOWLOG entries. · df10c797
      antirez 提交于
      Two limits are added:
      
      1) Up to SLOWLOG_ENTRY_MAX_ARGV arguments are logged.
      2) Up to SLOWLOG_ENTRY_MAX_STRING bytes per argument are logged.
      3) slowlog-max-len is set to 128 by default (was 1024).
      
      The number of remaining arguments / bytes is logged in the entry
      so that the user can understand better the nature of the logged command.
      df10c797
  11. 19 4月, 2012 2 次提交
  12. 18 4月, 2012 2 次提交
    • A
      Marginally cleaner lookupKeyByPattern() implementation. · 32fef156
      antirez 提交于
      just fieldobj itself as sentinel of the fact a field object is used or
      not, instead of using the filed length, that may be confusing both for
      people and for the compiler emitting a warning.
      32fef156
    • A
      lookupKeyByPattern() used by SORT GET/BY rewritten. Fixes issue #460. · 8e5e8f0e
      antirez 提交于
      lookupKeyByPattern() was implemented with a trick to speedup the lookup
      process allocating two fake Redis obejcts on the stack. However now that
      we propagate expires to the slave as DEL operations the lookup of the
      key may result into a call to expireIfNeeded() having the stack
      allocated object as argument, that may in turn use it to create the
      protocol to send to the slave. But since this fake obejcts are
      inherently read-only this is a problem.
      
      As a side effect of this fix there are no longer size limits in the
      pattern to be used with GET/BY option of SORT.
      
      See https://github.com/antirez/redis/issues/460 for bug details.
      8e5e8f0e
  13. 06 4月, 2012 1 次提交
  14. 05 4月, 2012 1 次提交
  15. 30 3月, 2012 4 次提交
  16. 29 3月, 2012 1 次提交
  17. 19 3月, 2012 3 次提交