cockroachdb / cockroachdb/cockroach

kvserver: bulk-submit closed timestamp updates

Open
#107,066 3 comments 0 reactions 0 assignees View on GitHub
A-kv-rangefeed C-performance T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Once we have the rangefeed scheduler in #107065, we should efficiently bulk-submit closed timestamp updates from `Store.startRangefeedUpdater`, similarly to how the Raft scheduler bulk-enqueues Raft ticks.

The scheduler workers can then efficiently process these queues without context switching, avoiding O(ranges) goroutines wakeups which we currently have.

Jira issue: CRDB-29871

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.