-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
57641: storageccl,backupccl: paginate ExportRequest to control response size r=pbardea a=adityamaru This change adds pagination support to ExportRequest's which return the produced SSTs as part of their response. This is necessary to prevent OOMs. The motivation for this change was the work being done to support tenants BACKUPs. Since all export requests will be returning the SST from KV to the processor, instead of writing directly to ExternalStorage, we will be incurring additional copying/buffering of the produced SSTs. It is important to have a knob to control these response sizes. The change piggybacks on the existing `TargetBytes` functionality baked into the `DistSender`. Fixes: #57227 Release note: None Co-authored-by: Aditya Maru <adityamaru@gmail.com>
- Loading branch information
Showing
7 changed files
with
543 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.