cockroachdb / cockroachdb/cockroach
kvserver: RangeFeed can emit checkpoint timestamps below request timestamp
Open
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
Assessment
This issue has not been assessed yet.