forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
78969: rangefeed: disable rangefeed memory budgets dynamically r=erikgrinaker a=aliher1911 Previously memory budgets could only be disabled on new rangefeeds where processor is not already running. Existing rangefeeds will continue to limit used memory. In case budgets needs to be urgently disabled on a big cluster you'll have to restart all system rangefeeds which means you likely end up restarting all nodes. This is disruptive and should be avoided. This PR adds an atomic flag that existing budgets could check and stop allocation checks if it is reset to false. Release note (ops change): Rangefeed memory budgets could be disabled on the fly when cluster setting is changed without the need to restart the feed. Co-authored-by: Oleg Afanasyev <[email protected]>
- Loading branch information
Showing
4 changed files
with
89 additions
and
31 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