1. 20 Mar, 2015 2 commits
    • antirez's avatar
      Cluster: better cluster state transiction handling. · 62893f5b
      antirez authored
      Before we relied on the global cluster state to make sure all the hash
      slots are linked to some node, when getNodeByQuery() is called. So
      finding the hash slot unbound was checked with an assertion. However
      this is fragile. The cluster state is often updated in the
      clusterBeforeSleep() function, and not ASAP on state change, so it may
      happen to process clients with a cluster state that is 'ok' but yet
      certain hash slots set to NULL.
      
      With this commit the condition is also checked in getNodeByQuery() and
      reported with a identical error code of -CLUSTERDOWN but slightly
      different error message so that we have more debugging clue in the
      future.
      
      Root cause of issue #2288.
      62893f5b
    • antirez's avatar
      Cluster: move clusterBeforeSleep() call before unblocked clients processing. · 585f68ac
      antirez authored
      Related to issue #2288.
      585f68ac
  2. 18 Mar, 2015 11 commits
  3. 13 Mar, 2015 1 commit
    • Leandro López (inkel)'s avatar
      Support CLIENT commands in Redis Sentinel · b10c2b7b
      Leandro López (inkel) authored
      When trying to debug sentinel connections or max connections errors it
      would be very useful to have the ability to see the list of connected
      clients to a running sentinel. At the same time it would be very helpful
      to be able to name each sentinel connection or kill offending clients.
      
      This commits adds the already defined CLIENT commands back to Redis
      Sentinel.
      b10c2b7b
  4. 08 Mar, 2015 1 commit
  5. 04 Mar, 2015 1 commit
    • antirez's avatar
      Fix iterator for issue #2438. · 45ff739c
      antirez authored
      Itereator misuse due to analyzeLatencyForEvent() accessing the
      dictionary during the iteration, without the iterator being
      reclared as safe.
      45ff739c
  6. 27 Feb, 2015 1 commit
  7. 26 Feb, 2015 2 commits
    • antirez's avatar
      Improvements to PR #2425 · 53659404
      antirez authored
      1. Remove useless "cs" initialization.
      2. Add a "select" var to capture a condition checked multiple times.
      3. Avoid duplication of the same if (!copy) conditional.
      4. Don't increment dirty if copy is given (no deletion is performed),
         otherwise we propagate MIGRATE when not needed.
      53659404
    • Salvatore Sanfilippo's avatar
      Merge pull request #2425 from twang817/migrateCacheDbid · 968ce964
      Salvatore Sanfilippo authored
      Add last_dbid to migrateCachedSocket to avoid redundant SELECT
      968ce964
  8. 25 Feb, 2015 1 commit
  9. 13 Feb, 2015 2 commits
  10. 12 Feb, 2015 4 commits
  11. 11 Feb, 2015 14 commits