Upload hangs if --segment-size 0 is passed
Bug #1453178 reported by
Inessa Vasilevskaya
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
swift --os-username services:glance --os-password SOMEPASS upload new-container .viminfo --segment-size 0
The upload starts but doesn't seem to finish (at least 10 minutes was not enough for a 7kb file).
I believe the possibility to start upload with zero segment size should be forbidden at api level and filtered in client as well.
Changed in python-swiftclient: | |
status: | New → Confirmed |
Changed in python-swiftclient: | |
assignee: | nobody → Masaki Matsushita (mmasaki) |
Changed in python-swiftclient: | |
assignee: | Masaki Matsushita (mmasaki) → nobody |
To post a comment you must log in.
Zero-byte objects are allowed, and there's nothing special about a "segment" except that it's an object referenced by a manifest. No API change is possible here.
Disallowing a segment size of 0 in the client sounds like a good idea, though.