Client last login time writes should not use mgo.txn
Bug #1454870 reported by
Tim Penhey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Critical
|
Tim Penhey | ||
1.22 |
Fix Released
|
Critical
|
Tim Penhey | ||
1.23 |
Fix Released
|
Critical
|
Tim Penhey | ||
1.24 |
Fix Released
|
Critical
|
Tim Penhey |
Bug Description
Many client calls are read only, and the reads don't use the transaction system.
For systems that are broken or breaking, status should be able to work without writing transactions.
Currently the environment user update last connection time uses transactions where a simple mongo write would be better.
Since this is not watched, and we don't care if it is slightly wrong, simple writes are preferable here.
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
milestone: | none → 1.25.0 |
tags: | added: tech-debt |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.