-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove "dying" units from planned units (#936)
This PR addresses an issue that happens during a scale-down event, where planned_units includes units with the status marked as dying. This becomes visible when say the _storage_detaching hook errors based on certain preconditions preventing a unit from immediately disappearing. This PR essentially filters out those dying units to have an accurate count of live units.
- Loading branch information
1 parent
734e12d
commit b06697c
Showing
2 changed files
with
37 additions
and
3 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