1. 27 May, 2013 6 commits
    • antirez's avatar
      Close connection with timedout slaves. · 308940aa
      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.
      308940aa
    • antirez's avatar
      Send ACK to master once every second. · 45e6a402
      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.
      45e6a402
    • antirez's avatar
      Don't ACK the master after every command. · a74f8fe1
      antirez authored
      Sending an ACK is now moved into the replicationSendAck() function.
      a74f8fe1
    • antirez's avatar
      0000d533
    • antirez's avatar
      Replication: send REPLCONF ACK to master. · 146f1d7d
      antirez authored
      146f1d7d
    • antirez's avatar
      REPLCONF ACK command. · 1e77b77d
      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.
      1e77b77d
  2. 24 May, 2013 3 commits
  3. 18 May, 2013 1 commit
  4. 15 May, 2013 20 commits
  5. 14 May, 2013 1 commit
  6. 09 May, 2013 1 commit
  7. 08 May, 2013 5 commits
  8. 02 May, 2013 3 commits