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

Bug #1812954 reported by John A Meinel on 2019-01-23
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju
Critical
John A Meinel
2.4
Critical
John A Meinel
2.5
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

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
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
John A Meinel (jameinel) wrote :
Changed in juju:
milestone: 2.6-beta1 → 2.6-beta2
Ian Booth (wallyworld) on 2019-04-19
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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers