1. 20 Mar, 2015 1 commit
    • 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
  2. 13 Jan, 2015 1 commit
    • antirez's avatar
      Cluster: clusterMsgDataGossip structure, explict padding + minor stuff. · 45e2a26d
      antirez authored
      Also explicitly set version to 0, add a protocol version define, improve
      comments in the gossip structure.
      
      Note that the structure layout is the same after the change, we are just
      making the padding explicit with an additional not used 16 bits field.
      So this commit is still able to talk with the previous versions of
      cluster nodes.
      45e2a26d
  3. 09 Dec, 2014 1 commit
    • antirez's avatar
      Cluster PUBLISH message: fix totlen count. · 73996c86
      antirez authored
      bulk_data field size was not removed from the count. It is not possible
      to declare it simply as 'char bulk_data[]' since the structure is nested
      into another structure.
      73996c86
  4. 08 Oct, 2014 1 commit
  5. 06 Oct, 2014 1 commit
    • Matt Stancliff's avatar
      Clean up text throughout project · bd62c952
      Matt Stancliff authored
        - Remove trailing newlines from redis.conf
        - Fix comment misspelling
        - Clarifies zipEncodeLength usage and a C API mention (#1243, #1242)
        - Fix cluster typos (inspired by @papanikge #1507)
        - Fix rewite -> rewrite in a few places (inspired by #682)
      
      Closes #1243, #1242, #1507
      bd62c952
  6. 19 Sep, 2014 1 commit
  7. 26 Aug, 2014 1 commit
  8. 23 May, 2014 1 commit
  9. 16 Apr, 2014 1 commit
  10. 11 Mar, 2014 3 commits
  11. 27 Feb, 2014 1 commit
  12. 10 Feb, 2014 3 commits
  13. 05 Feb, 2014 2 commits
  14. 31 Jan, 2014 1 commit
  15. 29 Jan, 2014 2 commits
  16. 28 Jan, 2014 3 commits
  17. 29 Nov, 2013 2 commits
  18. 08 Nov, 2013 1 commit
  19. 09 Oct, 2013 2 commits