prune-txn-sleep-time missing causing panics after upgrade

Bug #1812954 reported by John A Meinel
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
John A Meinel
2.4
Fix Released
Critical
John A Meinel
2.5
Fix Released
Critical
John A Meinel

Bug Description

If you upgrade from a controller before prune-txn-sleep-time was added as controller-config, to one that uses it (2.4.8-not-released, 2.5.0), then when the Pruner wakes up, it gets a panic() trying to read a value that isn't there.
The value was meant to be optional and fall-back-to-default.

https://github.com/juju/juju/pull/9657 for 2.4

Revision history for this message
John A Meinel (jameinel) wrote :

As a workaround, you should be able to just set the value with:
  juju controller-config prune-txn-sleep-time=10ms

Changed in juju:
status: Triaged → In Progress
milestone: none → 2.6-beta1
Revision history for this message
John A Meinel (jameinel) wrote :

Note that 2.4.8 would be the version that had the bug (if it was released), so the fix only needs to go in there so that if we *do* release 2.4.8 we don't have the bug.

description: updated
Revision history for this message
John A Meinel (jameinel) wrote :
Changed in juju:
milestone: 2.6-beta1 → 2.6-beta2
Ian Booth (wallyworld)
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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