cockroachdb / cockroachdb/cockroach

changefeedccl: allow users to specify a min_linger on the no-linger sink

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

Description

Follow-up to the no-linger sink. At low-to-moderate throughput the sink
can produce very small batches, increasing the request rate and reducing
the scheduler's ability to build large, conflict-free batches.

Allow users to specify a minimum linger duration. The implementation
should live on the batcher side. One open question is whether batches
need to track the age of the oldest pending key to decide when to flush.

Jira issue: CRDB-64551

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.