1. 27 May, 2013 6 commits
    • antirez's avatar
      Close connection with timedout slaves. · 3c82c85f
      antirez authored
      Now masters, using the time at which the last REPLCONF ACK was received,
      are able to explicitly disconnect slaves that are no longer responding.
      
      Previously the only chance was to see a very long output buffer, that
      was highly suboptimal.
      3c82c85f
    • antirez's avatar
      Send ACK to master once every second. · e06a5604
      antirez authored
      ACKs can be also used as a base for synchronous replication. However in
      that case they'll be explicitly requested by the master when the client
      sends a request that needs to be replicated synchronously.
      e06a5604
    • antirez's avatar
      Don't ACK the master after every command. · efd87031
      antirez authored
      Sending an ACK is now moved into the replicationSendAck() function.
      efd87031
    • antirez's avatar
      dd0adbb7
    • antirez's avatar
      Replication: send REPLCONF ACK to master. · 0292c5f7
      antirez authored
      0292c5f7
    • antirez's avatar
      REPLCONF ACK command. · 6b4635f4
      antirez authored
      This special command is used by the slave to inform the master the
      amount of replication stream it currently consumed.
      
      it does not return anything so that we not need to consume additional
      bandwidth needed by the master to reply something.
      
      The master can do a number of things knowing the amount of stream
      processed, such as understanding the "lag" in bytes of the slave, verify
      if a given command was already processed by the slave, and so forth.
      6b4635f4
  2. 24 May, 2013 3 commits
  3. 18 May, 2013 1 commit
  4. 15 May, 2013 11 commits
  5. 14 May, 2013 5 commits
  6. 13 May, 2013 4 commits
  7. 09 May, 2013 2 commits
  8. 08 May, 2013 6 commits
  9. 07 May, 2013 2 commits