-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix endless await for services without selectors/endpoints (#3142)
Our current await logic for services expects the service to have _some_ endpoints, and all of those endpoints must be ready. This doesn't allow for the valid case where the service doesn't have any endpoints, and in those cases we will end up waiting forever. This changes our logic to instead expect 0 non-ready endpoints. This is equivalent to the current behavior when there are non-zero endpoints while also allowing the zero-endpoint case. We also short-circuit the endpoint logic when the service has no selector, since the endpoint will need to be manually configured. Fixes #605. Fixes #799. Refs #2824.
- Loading branch information
Showing
26 changed files
with
372 additions
and
360 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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.