Merge lp:~mwhudson/loggerhead/concurrency-thoughts into lp:loggerhead
Proposed by
Michael Hudson-Doyle
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~mwhudson/loggerhead/concurrency-thoughts |
Merge into: | lp:loggerhead |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~mwhudson/loggerhead/concurrency-thoughts |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Albisetti | Approve | ||
Review via email: mp+4687@code.launchpad.net |
To post a comment you must log in.
Hi.
Currently all accesses to the filechanges.sql cache db are serialized. I'd like to experiment on launchpad with having one database for all branches, so this serialization won't really do.
This branch switches to a more optimistic approach to concurrency -- if, by the time you're trying to add the data to the database, someone else has already added it, oh well. The extremely paranoid locking was left over from the days when we used bsddb, sqlite should be much safer!
I also delete some of the locking infrastructure that is no longer used.