-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix runs getting stuck in non-terminal states (#2609)
* Fix runs getting stuck in non-terminal states There is a very weak form of communication between pod_issue_handler and job_event_reporter - Once something marks a pod for deletion, job_event_reporter will stop sending phase change updates for this pod. The issue is pod_issue_handler may try to delete a pod, then the pod actually runs to completion. So pod_issue_handler stops "handling" this pod but also job_event_reporter also has stopped sending updates The end result is no events get sent and the pod ends up stuck forever Now if a pod issue is being handled and delete has been called, pod_issue_handler is responsible for sending the terminal events for that pod In practice: - Don't ever resolve an issue early, if delete has been called - If a pod unexpected starts up during deletion, consider the run as failed * Swap log to info * Fix typo
- Loading branch information
1 parent
7542cd0
commit fbff206
Showing
3 changed files
with
55 additions
and
16 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