1. 11 Jun, 2015 4 commits
    • antirez's avatar
      Use best effort address binding to connect to the master · 8366907b
      antirez authored
      We usually want to reach the master using the address of the interface
      Redis is bound to (via the "bind" config option). That's useful since
      the master will get (and publish) the slave address getting the peer
      name of the incoming socket connection from the slave.
      
      However, when this is not possible, for example because the slave is
      bound to the loopback interface but repliaces from a master accessed via
      an external interface, we want to still connect with the master even
      from a different interface: in this case it is not really important that
      the master will provide any other address, while it is vital to be able
      to replicate correctly.
      
      Related to issues #2609 and #2612.
      8366907b
    • antirez's avatar
      anet.c: new API anetTcpNonBlockBestEffortBindConnect() · a017b7ec
      antirez authored
      This performs a best effort source address binding attempt. If it is
      possible to bind the local address and still have a successful
      connect(), then this socket is returned. Otherwise the call is retried
      without source address binding attempt.
      
      Related to issues #2609 and #2612.
      a017b7ec
    • antirez's avatar
      anetTcpGenericConnect(), jump to error not end on error · 8fa8b251
      antirez authored
      Two code paths jumped to the "ok, return the socket to the user" code
      path to handle error conditions.
      
      Related to issues #2609 and #2612.
      8fa8b251
    • antirez's avatar
      Don't try to bind the source address for MIGRATE · a401a84e
      antirez authored
      Related to issues #2609 and #2612.
      a401a84e
  2. 03 Jun, 2015 3 commits
  3. 29 May, 2015 7 commits
  4. 28 May, 2015 3 commits
  5. 25 May, 2015 3 commits
  6. 22 May, 2015 1 commit
  7. 21 May, 2015 2 commits
  8. 20 May, 2015 1 commit
  9. 19 May, 2015 2 commits
  10. 18 May, 2015 1 commit
    • antirez's avatar
      Sentinel: SENTINEL CKQUORUM command · abc65e89
      antirez authored
      A way for monitoring systems to check that Sentinel is technically able
      to reach the quorum and failover, using the currently visible Sentinels.
      abc65e89
  11. 15 May, 2015 4 commits
  12. 14 May, 2015 7 commits
  13. 13 May, 2015 1 commit
  14. 12 May, 2015 1 commit
    • antirez's avatar
      Sentinel: PING trigger improved · 0eb0b55f
      antirez authored
      It's ok to ping as soon as the ping period has elapsed since we received
      the last PONG, but it's not good that we ping again if there is a
      pending ping... With this change we'll send a new ping if there is one
      pending only if two times the ping period elapsed since the ping which
      is still pending was sent.
      0eb0b55f