1. 07 Jun, 2014 1 commit
    • antirez's avatar
      Cluster: SET-CONFIG-EPOCH should update currentEpoch. · 67029323
      antirez authored
      SET-CONFIG-EPOCH, used by redis-trib at cluster creation time, failed to
      update the currentEpoch, making it possible after a failover for a
      server to set its configEpoch to a value smaller than the current one
      (since configEpochs are obtained using currentEpoch).
      
      The bug totally break the Redis Cluster algorithms and protocols
      allowing for permanent split brain conditions about the slots
      configuration as shown in issue #1799.
      67029323
  2. 06 Jun, 2014 4 commits
  3. 05 Jun, 2014 2 commits
  4. 04 Jun, 2014 3 commits
    • antirez's avatar
      Fixed dbuf variable scope in luaRedisGenericCommand(). · 751c8698
      antirez authored
      I'm not sure if while the visibility is the inner block, the fact we
      point to 'dbuf' is a problem or not, probably the stack var isx
      guaranteed to live until the function returns. However obvious code is
      better anyway.
      751c8698
    • antirez's avatar
      Regression test for issue #1118. · b7172077
      antirez authored
      b7172077
    • antirez's avatar
      Scripting: better Lua number -> string conversion in luaRedisGenericCommand(). · c3967f42
      antirez authored
      The lua_to*string() family of functions use a non optimal format
      specifier when converting integers to strings. This has both the problem
      of the number being converted in exponential notation, which we don't
      use as a Redis return value when floating point numbers are involed,
      and, moreover, there is a loss of precision since the default format
      specifier is not able to represent numbers that must be represented
      exactly in the IEEE 754 number mantissa.
      
      The new code handles it as a special case using a saner conversion.
      
      This fixes issue #1118.
      c3967f42
  5. 28 May, 2014 1 commit
  6. 26 May, 2014 7 commits
  7. 23 May, 2014 14 commits
  8. 20 May, 2014 8 commits