-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tablet throttler: be explicit about client app name, exempt some apps…
… from checks and heartbeat renewals (#13195) * Tablet throttler: non-PRIMARY tablets report back to PRIMARY throttler when they've been 'check'ed Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> * inclusive language Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> * vstreamer: support 'useThrottler' so that clients can choose whther they at all want to involve the throttler. Some lightweight clients, such as the schema tracker or the binlog watcher, or messager, do not need the throttler, and since some of these clients are _always on_, we also do not _want_ them to continuously approach the throttler. One side effect of always engaging with the throttler is the infinite renewal of on-demand heartbeats Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> * add app name in test Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> * Enforcing use of explicit names in all throttler checks, specifically in vstreamer.Engine. The throttler exempts specific apps from checks and will not renew heartbeats leases for those apps Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> * new formal throttler app names placeholder Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> * formalize throttlerapp.Name Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> * Refactor names in endtoend tests Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> --------- Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
- Loading branch information
1 parent
e6a321b
commit 374b94c
Showing
37 changed files
with
291 additions
and
177 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
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.