Class PaxosBallotTracker

java.lang.Object
org.apache.cassandra.service.paxos.uncommitted.PaxosBallotTracker

public class PaxosBallotTracker extends Object
Tracks the highest paxos ballot we've seen, and the lowest ballot we can accept. During paxos repair, the coordinator gets the highest ballot seen by each participant. At the end of repair, that high ballot is set as the new low bound. Combined with paxos repair during topology changes, this eliminates the possibility of new nodes accepting ballots that are before the most recently accepted ballot for a key.