Relation settings watcher exposes txn-revno to uniter
Bug #1496652 reported by
Andrew Wilkins
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).
Changed in juju-core: | |
assignee: | nobody → Andrew Wilkins (axwalk) |
Changed in juju-core: | |
milestone: | 1.25-beta1 → 1.26-alpha1 |
no longer affects: | juju-core/1.25 |
Changed in juju-core: | |
milestone: | 1.26-alpha1 → 1.26-alpha2 |
Changed in juju-core: | |
milestone: | 1.26-alpha2 → 1.26-beta1 |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
milestone: | 1.26-beta1 → 1.26-alpha2 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.