-
Notifications
You must be signed in to change notification settings - Fork 4.1k
changefeedccl: investigate initial SQL latency spike on initial scan #86469
Copy link
Copy link
Closed
Labels
A-cdcChange Data CaptureChange Data CaptureC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-cdcstability-period-v22.2
Description
Describe the problem
Following on from this excellent work, we see a foreground SQL latency spike when a changefeed starts (initial scan).
The above PR reduces that spike by ~20%, which is great, but ideally it would not exist or be measured in milliseconds. The above indicates ~12 seconds of latency, which will hurt production users.
The question to start with is: “what’s different about changefeed startup vs the steady state?”
To Reproduce
Reproduction is in the above PR.
Expected behavior
A changefeed backfill should have an insignificant effect on foreground SQL latency.
cc @nvanbenschoten if any thoughts, given your previous investigation.
Jira issue: CRDB-18774
Epic CRDB-24463
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-cdcChange Data CaptureChange Data CaptureC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-cdcstability-period-v22.2
