The GitHub Actions job "Label-when-reviewed" on 
flink-cdc.git/FLINK-40853-skip-null-offset-lsn-commit has failed.
Run started by GitHub user Copilot (triggered by Copilot).

Head commit for run:
88ddd54824ecbb924d75f72dc3b240c2fbd20e4a / dev-donghwan <[email protected]>
[FLINK-40853][postgres] Skip LSN commit for checkpoints without a stream offset

With scan.lsn-commit.checkpoints-num-delay, the Postgres source commits
the offset of an older checkpoint to the replication slot. A checkpoint
taken before the stream split was assigned, or while newly added tables
were being snapshotted, has no stream offset. commitCurrentOffset then
fell back to the LSN of the live offset context, which can be beyond
the offset of the latest completed checkpoint. PostgreSQL does not
resend changes before confirmed_flush_lsn, so the changes in between
were lost after restoring from that checkpoint.

Skip the commit when the checkpoint has no stream offset.

Report URL: https://github.com/apache/flink-cdc/actions/runs/38366893107

With regards,
GitHub Actions via GitBox

Reply via email to