forked from juju/juju
-
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.
Merge pull request juju#15965 from manadart/3.2-dqlite-backstop-error
juju#15965 This is a follow up to juju#15959. One of the flows through that logic is as follows: - Dqlite fails to become ready within the set time-out. - We request API server details. - Server details are published with more than one controller. - Since we are not the only controller, we do not reconfigure Dqlite, and keep waiting. This is undesirable, as it makes possible a situation where the worker is waiting for a specific message that may not come. Here, we change the behaviour of the final step to be worker exit with an error. If running in a dependency engine, it simply means this worker will be restarted, and will reassess its state from scratch. ## QA steps Same as for juju#15959.
- Loading branch information
Showing
2 changed files
with
54 additions
and
27 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