-
Notifications
You must be signed in to change notification settings - Fork 4.1k
kvserver: memory monitor and improve buffering in rangefeed catchup scans #69596
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-cdc
Description
Describe the problem
The catchup scan can use a substantial amount of memory as it iterates over KVs that need to be output. This memory is not currently connected to any memory monitor and grows without bound throughout a catchup-scan.
| var a bufalloc.ByteAllocator |
| reorderBuf := make([]roachpb.RangeFeedEvent, 0, 5) |
Jira issue: CRDB-9679
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-cdc