Skip to content

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

@aerfrei

Description

@aerfrei

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.

Epic: CRDB-62737

Jira issue: CRDB-64551

Metadata

Metadata

Assignees

Labels

A-cdcChange Data CaptureC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-cdc

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions