cockroachdb / cockroachdb/cockroach

cdc: add microbenchmark for span-level checkpoint size

Open
#144,633 1 comment 0 reactions 0 assignees View on GitHub
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

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.