1. 22 1月, 2015 11 次提交
  2. 21 1月, 2015 1 次提交
    • A
      AOF rewrite: set iterator var to NULL when freed. · 23cc0a3f
      antirez 提交于
      The cleanup code expects that if 'di' is not NULL, it is a valid
      iterator that should be freed.
      
      The result of this bug was a crash of the AOF rewriting process if an
      error occurred after the DBs data are written and the iterator is no
      longer valid.
      23cc0a3f
  3. 14 1月, 2015 2 次提交
  4. 13 1月, 2015 3 次提交
    • A
      Cluster: fetch my IP even if msg is not MEET for the first time. · df1a7fc4
      antirez 提交于
      In order to avoid that misconfigured cluster nodes at some time may
      force an IP update on other nodes, it is required that nodes update
      their own address only on MEET messages. However it does not make sense
      to do this the first time a node is contacted and yet does not have an
      IP, we just risk that myself->ip remains not assigned if there are
      messages lost or cluster creation procedures that don't make sure
      everybody is targeted by at least one incoming MEET message.
      
      Also fix the logging of the IP switch avoiding the :-1 tail.
      df1a7fc4
    • A
      Cluster: clusterMsgDataGossip structure, explict padding + minor stuff. · 45e2a26d
      antirez 提交于
      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
    • A
      Suppress valgrind error about write sending uninitialized data. · 799a3cca
      antirez 提交于
      Valgrind checks that the buffers we transfer via syscalls are all
      composed of bytes actually initialized. This is useful, it makes we able
      to avoid leaking informations in non initialized parts fo messages
      transferred to other hosts. This commit fixes one of such issues.
      799a3cca
  5. 12 1月, 2015 1 次提交
    • A
      Cluster: initialize mf_end. · 1584c7a3
      antirez 提交于
      Can't be initialized by resetManualFailover() since it's actual state
      the function uses, so we need to initialize it at startup time. Not
      really a bug in practical terms, but showed up into valgrind and is not
      technically correct anyway.
      1584c7a3
  6. 09 1月, 2015 7 次提交
  7. 08 1月, 2015 3 次提交
  8. 23 12月, 2014 1 次提交
    • A
      INFO loading stats: three fixes. · 1e8f1577
      antirez 提交于
      1. Server unxtime may remain not updated while loading AOF, so ETA is
      not updated correctly.
      
      2. Number of processed byte was not initialized.
      
      3. Possible division by zero condition (likely cause of issue #1932).
      1e8f1577
  9. 22 12月, 2014 1 次提交
  10. 19 12月, 2014 1 次提交
  11. 18 12月, 2014 1 次提交
    • M
      Cluster: Notify user on accept error · 8bce6542
      Matt Stancliff 提交于
      If we woke up to accept a connection, but we can't
      accept it, inform the user of the error going on
      with their networking.
      
      (The previous message was the same for success or error!)
      8bce6542
  12. 17 12月, 2014 1 次提交
  13. 16 12月, 2014 1 次提交
  14. 15 12月, 2014 1 次提交
  15. 13 12月, 2014 4 次提交
  16. 11 12月, 2014 1 次提交