cockroachdb / cockroachdb/cockroach
cdc: add microbenchmark for span-level checkpoint size
Open
A-cdc
C-enhancement
O-premortem
T-cdc
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
Span-level checkpoints can potentially grow very large if many rangefeeds lag by different amounts. This is a difficult scenario to reproduce in a realistic test environment since it's difficult to control how much a rangefeed lags behind others. We could more easily evaluate worst-case scenarios by creating a microbenchmark in which we feed the checkpoint writer a generated list of spans/timestamps and measure the resulting checkpoint size.
Jira issue: CRDB-49469
Contributor guide
Assessment
This issue has not been assessed yet.