public class ReadOnlyReadRepair<E extends Endpoints<E>,P extends ReplicaPlan.ForRead<E>> extends AbstractReadRepair<E,P>
ReadRepair.Factorycfs, command, queryStartNanoTime, replicaPlan| Modifier and Type | Method and Description |
|---|---|
void |
awaitWrites()
Block on any mutations (or timeout) we sent out to repair replicas in
ReadRepair.repairPartition(org.apache.cassandra.db.DecoratedKey, java.util.Map<org.apache.cassandra.locator.Replica, org.apache.cassandra.db.Mutation>, org.apache.cassandra.locator.ReplicaPlan.ForTokenWrite) |
UnfilteredPartitionIterators.MergeListener |
getMergeListener(P replicaPlan)
Used by DataResolver to generate corrections as the partition iterator is consumed
|
void |
maybeSendAdditionalWrites()
If it looks like we might not receive acks for all the repair mutations we sent out, combine all
the unacked mutations and send them to the minority of nodes not involved in the read repair data
read / write cycle.
|
void |
repairPartition(DecoratedKey partitionKey,
java.util.Map<Replica,Mutation> mutations,
ReplicaPlan.ForTokenWrite writePlan)
Repairs a partition _after_ receiving data responses.
|
awaitReads, maybeSendAdditionalReads, replicaPlan, startRepairclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic UnfilteredPartitionIterators.MergeListener getMergeListener(P replicaPlan)
ReadRepairpublic void maybeSendAdditionalWrites()
ReadRepairpublic void repairPartition(DecoratedKey partitionKey, java.util.Map<Replica,Mutation> mutations, ReplicaPlan.ForTokenWrite writePlan)
ReadRepairpublic void awaitWrites()
ReadRepairReadRepair.repairPartition(org.apache.cassandra.db.DecoratedKey, java.util.Map<org.apache.cassandra.locator.Replica, org.apache.cassandra.db.Mutation>, org.apache.cassandra.locator.ReplicaPlan.ForTokenWrite)Copyright © 2009-2022 The Apache Software Foundation