Merge lp:~allenap/postgresfixture/more-locking into lp:~lazr-developers/postgresfixture/trunk
Proposed by
Gavin Panella
Status: | Merged |
---|---|
Approved by: | Gavin Panella |
Approved revision: | 9 |
Merged at revision: | 5 |
Proposed branch: | lp:~allenap/postgresfixture/more-locking |
Merge into: | lp:~lazr-developers/postgresfixture/trunk |
Diff against target: |
346 lines (+118/-33) 6 files modified
postgresfixture/cluster.py (+43/-2) postgresfixture/clusterfixture.py (+6/-6) postgresfixture/main.py (+4/-4) postgresfixture/tests/test_cluster.py (+49/-5) postgresfixture/tests/test_clusterfixture.py (+11/-11) postgresfixture/tests/test_main.py (+5/-5) |
To merge this branch: | bzr merge lp:~allenap/postgresfixture/more-locking |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raphaël Badin (community) | Approve | ||
Review via email: mp+106907@code.launchpad.net |
Commit message
Lock, using lockf, around critical sections during cluster set-up and tear-down.
To post a comment you must log in.
Looks good.
rvba -> allenap: could you tell me why you did s/locks/shares/ in the postgresfixtur branch?
allenap -> rvba: That change, from lock to shares, is because of the addition of the "critical section" lock (the lockf based one). The shares lock is better named now because it reflects that each acquired lock on it represents a share in the resource.