importer should catch db locked exceptions
Bug #724898 reported by
Vincent Ladeuil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Distributed Development |
Fix Released
|
Critical
|
Vincent Ladeuil |
Bug Description
Bug #719196 mentioned (and fixed) one race around db access but there are more lying around.
I've filed some in bug #724893.
Now, the driver itself shouldn't die like it did when encountering such exceptions (and probably some other kind of exceptions).
So *this* bug is about making the driver more robust against exceptions encountered in the importer threads.
Related branches
lp:~vila/udd/724898-driver-catch-importer-exceptions
- Jelmer Vernooij (community): Approve
-
Diff: 54 lines (+24/-5)1 file modifiedmass_import.py (+24/-5)
Changed in udd: | |
assignee: | canonical-bazaar (canonical-bazaar) → Vincent Ladeuil (vila) |
status: | Confirmed → In Progress |
Changed in udd: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
The driver should catch *and* report as much exceptions as it can as long as they occur into spawned threads.