Adding Paxos2/ring-paxos distributed consensus protocols