-
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.
kvprober: add setting to bypass admission queue
Currently kvprober is bypassing the kv admission queue unconditionally. This is fine for dedicated clusters, since the user owns capacity planning. But it is a problem for serverless clusters because the SRE team owns capacity scaling. When hardware resources are overloaded in serverless clusters, the probes are expected to fail. This commit adds a new cluster setting for kvprober that determines if the admission control should be bypassed. The cluster setting works by adjusting the admission source header in kvprober's transaction requests: - When set, it uses a txn sourced from OTHER which is going to bypass the admission queue. - When not set, it uses a txn sourced from ROOT_KV which is not going to bypass admission queue. Control over what the txn admission header is set to is provided through kv.DB and kv.Txn. Release note: None
- Loading branch information
Showing
7 changed files
with
284 additions
and
84 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
Oops, something went wrong.