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.
93639: server,jobs: remove the logic to run the scheduler on 1 node r=miretskiy a=knz Fixes cockroachdb#90383. - The mechanism to limit the scheduler execution to 1 node was only effective on KV nodes, with direct access to the leaseholder information for the liveness table. However, we want uniform behavior in a multitenant environment, so a mechanism specific to KV nodes is not acceptable any more. - Since this was first implemented, we've found the job scheduler not to be disruptive any more, so it's now safe to run it on every node. Release note: None Co-authored-by: Raphael 'kena' Poss <[email protected]>
- Loading branch information
Showing
4 changed files
with
8 additions
and
109 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