client.Connection doesn't reset stream in put_object retry

Bug #634979 reported by clayg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Low
gholt

Bug Description

swift.common.client.Connection.put_object will accept a stream, and retry if the method fails - but it won't reset the stream.

Assuming the stream supports seek, we could reset it before retrying - or blow up on the second attempt if it can't start over from the beginning.

Related branches

gholt (gholt)
Changed in swift:
assignee: nobody → gholt (gholt)
status: New → Incomplete
status: Incomplete → In Progress
Changed in swift:
status: In Progress → Fix Committed
Chuck Thier (cthier)
Changed in swift:
milestone: none → 1.2.0
Chuck Thier (cthier)
Changed in swift:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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