Incorrect handling of Hub.Publish results

Bug #1902912 reported by Simon Richardson
6
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.