Nguyễn Hữu Luân
671dd047f7
swift: ensure partially uploaded large files are uploaded unless --swift-leave-parts-on-error
...
This makes sure that partially uploaded large files are removed
unless the `--swift-leave-parts-on-error` flag is supplied.
- refactor swift.go
- add unit test for swift with chunk
- add unit test for large object with fail case
- add "-" to white list char during encode.
2021-01-28 17:09:41 +00:00
Nguyễn Hữu Luân
6342499c47
swift: fix deletion of parts of Static Large Object (SLO)
...
Before this change, deleting SLO objects could leave the parts of the object behind.
2020-12-28 13:21:11 +00:00
Nguyễn Hữu Luân
2fe8285f89
swift: reserve segments of dynamic large object when delete objects in container what was enabled versioning.
...
add code handle move object when moving the object is contained by the container what was enabled versioning with "X-History-Location".
2019-11-18 16:26:10 +00:00
nguyenhuuluan434
940d88b695
refactor code
2019-06-27 13:28:35 +01:00
nguyenhuuluan434
ca324b5084
trying to capture segments info during upload to swift backend and
...
delete if there is error duing upload object.
2019-06-27 13:28:35 +01:00