-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added spill to disk using Pebble for CDC records (#760)
This PR addresses cases where a large number of CDC records need to be stored for record backfills, which can lead to either memory exhaustion or having to provision large clusters. After a certain point (currently 1M records stored, we only store the latest record for each pkey) excess records are stored in a Pebble database. Updates to keys already in-memory are continued to be stored in-memory, all new keys are spilled to disk.
- Loading branch information
1 parent
d137300
commit 4eed39a
Showing
15 changed files
with
789 additions
and
103 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.