swiftclient is not thread safe

Bug #1372429 reported by Joshua Hesketh on 2014-09-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-swiftclient
Undecided
Unassigned

Bug Description

Investigating the _retry() method[0] in the swiftclient it appears to use a number of instance variables.

For example, self.attempts could be altered by multiple calls to get_object() causing race conditions. There are also race conditions around resetting the url and token where one call to _retry() may reset these just as another calls it.

[0] http://git.openstack.org/cgit/openstack/python-swiftclient/tree/swiftclient/client.py#n1219

Change abandoned by John Dickinson (<email address hidden>) on branch: master
Review: https://review.openstack.org/123118
Reason: Abandoning due to lack of activity since the last negative review. You can restore the change if you want to keep working on it.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers