cockroachdb / cockroachdb/cockroach

changefeedccl: add saved progress validator to roachtests

Open
#144,648 1 comment 0 reactions 0 assignees View on GitHub
A-cdc C-enhancement T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

We can build confidence that we don't lose data due to incorrect span-level checkpoints by adding a validator that verifies the following things:

- [ ] the resolved timestamp + span-level checkpoint never regresses
- [ ] similar to the existing order validator's validation that we don't see a row for the first time after a resolved timestamp, we can do something similar with span-level checkpoints (although since they're not sent to the sink, it's a little bit more difficult)

Jira issue: CRDB-49474

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.