launchpadlib is not thread-safe

Bug #513116 reported by Martin Owens
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
launchpadlib
Triaged
Low
Unassigned

Bug Description

Not only is launchpadlib not thread-safe, it cannot even run simultaneously over separate processes--see bug 459418.

To address this bug, we would need to first fix bug 459418, which is a prerequisite for thread-safety. Then we would need to audit and test launchpadlib.

As we notice aspects of launchpadlib that would need to be changed for it to be thread-safe, let's add them to this bug, either directly or by adding references to other bug numbers.

Revision history for this message
Curtis Hovey (sinzui) wrote :

This is probably a launchpad-foundations issue, but the code team may disagree since bzr is involved.

affects: launchpad → launchpad-code
Revision history for this message
Aaron Bentley (abentley) wrote :

I don't think bzr is involved. This is about the launchpadlib Branch object, i.e. a reflection of lp.code.model.branch.Branch, not of bzrlib.branch.Branch.

affects: launchpad-code → launchpad-foundations
Gary Poster (gary)
Changed in launchpad-foundations:
status: New → Triaged
Gary Poster (gary)
Changed in launchpad-foundations:
importance: Undecided → Low
summary: - Launchpadlib threaded use of branch object causes HTTP 500 Error
+ Using launchpadlib objects in multiple threads is unsafe?
Gary Poster (gary)
description: updated
Changed in launchpadlib:
status: New → Triaged
importance: Undecided → Low
summary: - Using launchpadlib objects in multiple threads is unsafe?
+ launchpadlib is not thread-safe
Steve Magoun (smagoun)
tags: added: oem-services
William Grant (wgrant)
no longer affects: launchpad
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.