Client last login time writes should not use mgo.txn

Bug #1454870 reported by Tim Penhey
6
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.

Tags: tech-debt
Tim Penhey (thumper)
Changed in juju-core:
status: Triaged → In Progress
Tim Penhey (thumper)
Changed in juju-core:
status: In Progress → Fix Committed
milestone: none → 1.25.0
Curtis Hovey (sinzui)
tags: added: tech-debt
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.