-
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.
61366: backfill: move indexbackfiller Fetcher to operate on a per batch basis r=adityamaru a=adityamaru Previously, we would init and close the fetcher at the beginning and end of the index backfill distsql flow. Prior to the refactor in #55468 this worked because we would teardown the flow after backfilling for a threshold number of seconds. Since #55468 adds a streaming based approach where we use a single flow to build all the indexes, we started seeing OOM's because of accumulated objects in the `pebbleResults` across all the ScanRequests. I have not been able to pinpoint the exact reference we were holding that was not allowing these results from being gc'ed but more information about the profiles can be seen over in #58933. Release justification: fixes for high-priority or high-severity bugs in existing functionality (fixing an OOM in an index backfill) Release note: None Resolves: #58933 Co-authored-by: Aditya Maru <[email protected]>
- Loading branch information
Showing
5 changed files
with
63 additions
and
66 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
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