Swift segmentation does not close file handles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm currently using the python swiftclient in version 3.0.0. However I'm pretty sure the bug still exists in the most recent version of the swiftclient 3.2.0. I did not test that though.
My goal is to upload a large file with file segmentation enabled, using swifts upload method (https:/
After some debugging I found out that the file handle here (https:/
I'm neither a python expert nor do I have a lot of knowledge of the current implementation, but currently I don't see any other way of closing the file handle with the change mentioned.
For me, using the swift segmentation feature to upload content from a volume that is detached after upload seems necessary for the feature i want to implement. Do you see any other ways to fix this issue?
Cheers,
Fabian