Incorrect handling of Hub.Publish results
Bug #1902912 reported by
Simon Richardson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Undecided
|
Unassigned |
Bug Description
We don't always correctly handle the results from Hub.Publish. We should review each on a case-by-case basis.
The done channel in our pubsub implementation ensures that all callbacks are completed before returning as completed. For fire and forget calls it would be advantageous to leave as ignored, but for other calls where we want to ensure that a piece of logic has been performed/setup before moving on, will lead to a logic race. Those cases need to understood in a wider context and correctly fixed.
To post a comment you must log in.