state.leadershipClient used unsafely

Bug #1579633 reported by William Reade
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
William Reade

Bug Description

It's created to support the leadership lease manager, which expects exclusive access; but it's also used directly in a couple of places in the state code. Would be fine if we stopped the lease manager before accessing it -- and we should also stop the lease manager before export *anyway*, so that it doesn't expire leases in the meantime.

Tags: tech-debt
William Reade (fwereade)
tags: added: tech-debt
William Reade (fwereade)
Changed in juju-core:
assignee: nobody → William Reade (fwereade)
William Reade (fwereade)
Changed in juju-core:
status: Triaged → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 2.0-beta9
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta9 → none
milestone: none → 2.0-beta9
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.