Class PaxosPrepareRefresh

  • All Implemented Interfaces:
    RequestCallback<org.apache.cassandra.service.paxos.PaxosPrepareRefresh.Response>, RequestCallbackWithFailure<org.apache.cassandra.service.paxos.PaxosPrepareRefresh.Response>

    public class PaxosPrepareRefresh
    extends java.lang.Object
    implements RequestCallbackWithFailure<org.apache.cassandra.service.paxos.PaxosPrepareRefresh.Response>
    Nodes that have promised in response to our prepare, may be missing the latestCommit, meaning we cannot be sure the prior round has been committed to the necessary quorum of participants, so that it will be visible to future quorums. To resolve this problem, we submit the latest commit we have seen, and wait for confirmation before continuing (verifying that we are still promised in the process).