cockroachdb / cockroachdb/cockroach

changefeedccl: add duplicate ordering test

Open
#125,573 2 comments 0 reactions 0 assignees View on GitHub
A-cdc C-enhancement P-1 T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Some users rely on changefeeds to be idempotent. That is, if a changefeed emits a duplicate message for a key, all events for that key since the initial duplicate message should also be emitted. This is not a guarantee currently provided by changefeeds, but the only known way in the current implementation to violate this property is fine grain checkpointing. If `changefeed.frontier_checkpoint_frequency` is disabled (to disable fine grain checkpointing), duplicate events should be emitted in order. We should add a test disabling this setting that validates the idempotent duplicates behavior.

Jira issue: CRDB-39516

Epic CRDB-38755

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.