Blake Eggleston created CASSANDRA-21098:
-------------------------------------------

             Summary: CEP-45: Incremental repair for mutation tracking
                 Key: CASSANDRA-21098
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21098
             Project: Apache Cassandra
          Issue Type: Improvement
          Components: Consistency/Repair
            Reporter: Blake Eggleston


Incremental repair syncs all data written before the point the repair was 
started across all replicas. Although this process is baked into mutation 
tracking as an async process, we do need a facility for blocking on the full 
replication of all writes before some point in time.

We need a process that collects offsets from all nodes replicating shards in a 
given range, calculates a union of the offsets, and then waits for all replicas 
involved in the repair to signal that they've received them. This can likely be 
achieved by just listening to the offset broadcasting mechanism.

This then also needs to be wired into the repair command so that an incremental 
repair against a keyspace using mutation tracking .

One detail here is migration handling. For migration in both directions, 
incremental repair should perform both a mutation tracking incremental repair 
as well as a data repair.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to