cockroachdb / cockroachdb/cockroach

kvserver: RangeFeed can emit checkpoint timestamps below request timestamp

Open
#103,770 2 comments 0 reactions 0 assignees View on GitHub
A-kv-rangefeed C-bug T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

**Describe the problem**

RangeFeed receives an exclusive lower timestamp bound in `kvpb.RangeFeedRequest`. It will subsequently emit checkpoints containing resolved timestamp indicating no events below this timestamp will be emitted.

It should be possible to drop those timestamps before sending as we know that there would be no events below request timestamps. Those timestamps could be generated when transactions created before rangefeed request are being committed and cause resolved timestamp to advance.

Jira issue: CRDB-28192

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.