1. 12 9月, 2014 2 次提交
    • A
      Sentinel sentinelGetLeader() top comment improved. · a6695e34
      antirez 提交于
      a6695e34
    • A
      Sentinel: fix computation of total number of votes. · 9fe4429a
      antirez 提交于
      The code to check the number of voters was never updated to follow the new
      Sentinel specification, so the number of voters was computed using only
      the set of Sentinels that provided a vote.
      
      This means that there is a changing majority on partitions, even if
      usually the issue is not triggered because of the configured quorum
      check (what was broken was the other implicit check that requires anyway
      half of the known sentinels to agree in order to start a failover).
      9fe4429a
  2. 10 9月, 2014 6 次提交
  3. 08 9月, 2014 7 次提交
  4. 04 9月, 2014 2 次提交
    • M
      Return empty string if GETRANGE of empty string · 667e2991
      Matt Stancliff 提交于
      Previously, GETRANGE of a key containing nothing ("")
      would allocate a large (size_t)-1 return value causing
      crashes on 32bit builds when it tried to allocate the
      4 GB return string.
      667e2991
    • M
      Increase size of range request in getrange · 4284b072
      Matt Stancliff 提交于
      32 bit builds don't have a big enough long to capture
      the same range as a 64 bit build.  If we use "long long"
      we get proper size limits everywhere.
      
      Also updates size of unsigned comparison to fit new size of `end`.
      
      Fixes #1981
      4284b072
  5. 01 9月, 2014 4 次提交
  6. 27 8月, 2014 19 次提交