~rvb/maas/safeguard-migrations

Viewing all changes in revision 3692.

[r=rvb][bug=][author=allenap] Keep transactions short when querying node power state after a status change.

Previously the transaction would be held open for as long as 30 seconds or more, causing serialisation failures in other transactions. Equally, serialisation failures in the held transaction would cause the power state to be queried multiple times as the retry logic did its thing.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: