1. 11 May, 2012 2 commits
  2. 09 May, 2012 2 commits
  3. 07 May, 2012 1 commit
  4. 06 May, 2012 1 commit
    • Pieter Noordhuis's avatar
      Compare integers in ziplist regardless of encoding · bf219416
      Pieter Noordhuis authored
      Because of the introduction of new integer encoding types for ziplists
      in the 2.6 tree, the same integer value may have a different encoding in
      different versions of the ziplist implementation. This means that the
      encoding can NOT be used as a fast path in comparing integers.
      bf219416
  5. 04 May, 2012 2 commits
  6. 02 May, 2012 4 commits
  7. 01 May, 2012 2 commits
    • Pieter Noordhuis's avatar
      Use safe dictionary iterator from KEYS · cc4f65fe
      Pieter Noordhuis authored
      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.
      cc4f65fe
    • Harmen's avatar
  8. 30 Apr, 2012 1 commit
  9. 29 Apr, 2012 1 commit
  10. 27 Apr, 2012 3 commits
    • antirez's avatar
    • antirez's avatar
      841048f2
    • antirez's avatar
      Set LUA_MASKCOUNT hook more selectively. Fixes issue #480. · 0ad10db2
      antirez authored
      An user reported a crash with Redis scripting (see issue #480 on
      github), inspection of the kindly provided strack trace showed that
      server.lua_caller was probably set to NULL. The stack trace also slowed
      that the call to the hook was originating from a point where we just
      used to set/get a few global variables in the Lua state.
      
      What was happening is that we did not set the timeout hook selectively
      only when the user script was called. Now we set it more selectively,
      specifically only in the context of the lua_pcall() call, and make sure
      to remove the hook when the call returns. Otherwise the hook can get
      called in random contexts every time we do something with the Lua
      state.
      0ad10db2
  11. 26 Apr, 2012 6 commits
  12. 25 Apr, 2012 2 commits
  13. 24 Apr, 2012 10 commits
  14. 23 Apr, 2012 3 commits