Merge lp:~allenap/maas/database-locks-revisited--1.5 into lp:maas/1.5
Proposed by
Gavin Panella
Status: | Merged |
---|---|
Approved by: | Julian Edwards |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2285 |
Proposed branch: | lp:~allenap/maas/database-locks-revisited--1.5 |
Merge into: | lp:maas/1.5 |
Diff against target: |
166 lines (+52/-8) 4 files modified
src/maasserver/rpc/regionservice.py (+1/-1) src/maasserver/rpc/tests/test_regionservice.py (+2/-4) src/maasserver/utils/dblocks.py (+31/-2) src/maasserver/utils/tests/test_dblocks.py (+18/-1) |
To merge this branch: | bzr merge lp:~allenap/maas/database-locks-revisited--1.5 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+221783@code.launchpad.net |
Commit message
Backport of trunk r2395: Tighten up function and use of DatabaseLock.
Previously Django's aggressive connection closing policy would prevent session-level locks from being maintained.
To post a comment you must log in.