upgrade step to migrate leases into raft collects invalid leases

Bug #1813995 reported by Christian Muirhead
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Christian Muirhead
2.5
Fix Released
High
Christian Muirhead

Bug Description

When running upgrades to 2.5.0, the upgrade step that migrates lease info from mongo to raft can include leases with blank name or holder. These aren't valid, so they cause warnings when we try to write them to the leaseholders collection - they should be skipped instead.

Tags: raft
Revision history for this message
Christian Muirhead (2-xtian) wrote :
Changed in juju:
status: Triaged → In Progress
Tim Penhey (thumper)
Changed in juju:
milestone: 2.5.1 → 2.5.2
John A Meinel (jameinel)
Changed in juju:
milestone: 2.5.2 → 2.6-beta1
Revision history for this message
John A Meinel (jameinel) wrote :
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
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.