Merge lp:~soren/nova/sqlite-locking into lp:~hudson-openstack/nova/trunk
|Approved by:||Devin Carlen on 2011-02-10|
|Merged at revision:||661|
|Diff against target:||
28 lines (+8/-2)
1 file modified
|To merge this branch:||bzr merge lp:~soren/nova/sqlite-locking|
Use a NullPool for sqlite connections.
Description of the Change
Since applying this I have not had a single lock timeout using sqlite. My test suite used to retry every API operation up to 20 times (admittedly, I think 10 would have sufficed in almost every case) to work around locking issues.
A NullPool simply connects/