-
Notifications
You must be signed in to change notification settings - Fork 4.1k
kvserver: C2C handling of DeleteRange aka MVCC range tombstones #70433
Copy link
Copy link
Closed
Labels
A-cdcChange Data CaptureChange Data CaptureA-tenant-streamingIncluding cluster streamingIncluding cluster streamingC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-cdcsync-me-8
Milestone
Description
Once MVCC range deletion tombstones (#70412) are emitted across rangefeeds (#82449), they need to be handled by cluster-to-cluster (C2C) streaming. Initially, these will only be used for schema GC (e.g. dropping tables) and rolling back a cancelled import. When that happens, the DeleteRange operation must be replayed on the target cluster using an MVCC range tombstone.
NB: MVCC range tombstones will also be included in AddSSTable events emitted across rangefeeds, and these must be handled via specialized range key functionality on the SST iterator, e.g. HasPointAndRange() and RangeKeys(). See SimpleMVCCIterator documentation for details.
#CRDB-7188
Jira issue: CRDB-10074
Epic CRDB-7188
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-cdcChange Data CaptureChange Data CaptureA-tenant-streamingIncluding cluster streamingIncluding cluster streamingC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-cdcsync-me-8