-
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.
streamingest,bulk: flush SSTs on range boundary, c2c destination side
Before this change, c2c buffered an SST in memory and flushed it to KV, then, if the SST spans multiple ranges (likely) the addSST fails and therefore split and rewritten to KV. We see about 20-30 retries per addSST happening in a roachtest. The code to split these SSTs on range boundaries already exists, but disabled without a RangeCache. This pr passes a RangeCache to the SST batcher to enable flushing on range boundaries. Epic: CRDB-24777 Informs: #97592 Release note: None
- Loading branch information
1 parent
0100577
commit 9647ed1
Showing
2 changed files
with
4 additions
and
2 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