Skip to content

oracledb_cdc: prevent checkpointing during snapshot - #4670

Merged
josephwoodward merged 3 commits into
mainfrom
jw/snapshotcpregression
Aug 5, 2026
Merged

oracledb_cdc: prevent checkpointing during snapshot#4670
josephwoodward merged 3 commits into
mainfrom
jw/snapshotcpregression

Conversation

@josephwoodward

@josephwoodward josephwoodward commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

A recent change to introduce the current SCN to snapshot events had the undesired knock on effect of checkpointing delivery of those snapshot events, which we only want to do when the snapshot process completes. This change reverts that behaviour and adds a set of regression tests.

Proof of Work

  • Before (Red): SCN is captured during snapshot
  • After (Green): No SCN is captured during snapshot
image

Snapshot completes and only then does it checkpoint:

image

Comment thread internal/impl/oracledb/integration_test.go Outdated
@josephwoodward
josephwoodward force-pushed the jw/snapshotcpregression branch from 4b75d1c to 134e6db Compare August 5, 2026 14:23
Comment thread internal/impl/oracledb/batcher.go Outdated
@josephwoodward
josephwoodward marked this pull request as ready for review August 5, 2026 14:57
@josephwoodward
josephwoodward merged commit d2073b9 into main Aug 5, 2026
12 checks passed
@josephwoodward
josephwoodward deleted the jw/snapshotcpregression branch August 5, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants