-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify node listing in FullNodeCapableNodeAllocatorService
Previously NodeScheduler and NodeSelector were used for listing nodes in FullNodeCapableNodeAllocatorService. Those abstractions were not well suited for the job. They stattisfied much vaster set of responsibilities, while we needed just a simple listing way of listing all nodes (or all nodes which has given catalog installed). The fact that NodeSelector was Session dependant made code even more complex without any real reason as the code paths we accessed were not really session dependent. This PR switches node listing to be based on InternalNodeManager which is lower down the stack.
- Loading branch information
Showing
3 changed files
with
141 additions
and
73 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.