Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
orchestrator/global: Fix deadlock on updates
The updater is wrongly called from inside a store transaction, which can lead to a deadlock if an update is already running. The new update tries to cancel the running one, but that existing update may be stuck trying to start a store transaction and therefore the new update waits forever for it to stop. To fix this, keep track of tasks that need to be updated, and call the updater outside the transaction. Signed-off-by: Aaron Lehmann <[email protected]>
- Loading branch information