-
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.
79115: sql/rowexec: subject column backfills to admission control r=ajwerner,sumeerbhola a=erikgrinaker **kv: add txn helpers that configure admission control** This patch adds the functions `DB.TxnWithAdmissionControl()` and `kv.NewTxnWithAdmissionControl()`, which allow the caller to set the admission control source and priority. The default variants of these functions use source `OTHER` which bypasses admission control. Release note: None **sql/rowexec: subject column backfills to admission control** This patch subjects column backfills to admission control, using normal priority. Release note (bug fix): `ALTER TABLE [ADD|DROP] COLUMN` are now subject to admission control, which will prevent these operations from overloading the storage engine. Co-authored-by: Erik Grinaker <[email protected]>
- Loading branch information
Showing
5 changed files
with
72 additions
and
44 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