Relation settings watcher exposes txn-revno to uniter

Bug #1496652 reported by Andrew Wilkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Andrew Wilkins

Bug Description

The relation units watcher exposes the txn-revno of relation unit settings, which is a dangerous leakage of internal information as can be seen in the comments of lp:1495542.

We need to stop using txn-revno as the settings version, and instead maintain our own version field on settings documents. This will allow us to perform transactions on the settings documents without requiring version changes, or maintaining the invariant of monotonically increasing txn-revno (which is true for a document, but not for a settings key; the document may be removed and recreated, as in the env-uuid migration upgrade step).

Tim Penhey (thumper)
Changed in juju-core:
assignee: nobody → Andrew Wilkins (axwalk)
Ian Booth (wallyworld)
Changed in juju-core:
milestone: 1.25-beta1 → 1.26-alpha1
Andrew Wilkins (axwalk)
no longer affects: juju-core/1.25
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.26-alpha1 → 1.26-alpha2
Changed in juju-core:
milestone: 1.26-alpha2 → 1.26-beta1
Andrew Wilkins (axwalk)
Changed in juju-core:
status: In Progress → Fix Committed
milestone: 1.26-beta1 → 1.26-alpha2
Curtis Hovey (sinzui)
Changed in juju-core:
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.