Feature #10647
In the last step of Multipart upload, swift API container/object/?multipart-manifest=put creates 'object' but does not combine the data of those segments which are mentioned in data part of curl request
0%
Description
Steps to reproduce:
1. dd if=/dev/zero of=test0 bs=1048576 count=1
2. dd if=/dev/zero of=test1 bs=1048576 count=1
4. swift post container
5. swift upload container test0
6. swift upload container test1
7. curl -H "X-Auth-Token: c2c23c962ccc41b8ae308fb00b383b09" -i "https://object.jiocloud.com:80/swift/v1/container/test?multipart-manifest=put" -X PUT -H "Content-Type: application/json" -H "Accept: application/json" -d '[{"path": "/base_cont/test0", "etag": "b6d81b360a5672d80c27430f39153e2c","size_bytes": 1048576},{"path": "/base_cont/test1", "etag": "b6d81b360a5672d80c27430f39153e2c","size_bytes": 1048576}]'
8. swift stat container test
Account: v1
Container: container
Object: test
Content Type: application/octet-stream
Content Length: 191
Last Modified: Tue, 27 Jan 2015 10:03:40 GMT
ETag: abf4d3045d2ae6f8cd5fc9b8e402fadf
Accept-Ranges: bytes
Server: Apache/2.4.7 (Ubuntu)
Connection: close
In the output above content length should have been 2097152, but it is showing only 191.
History
#1 Updated by Yehuda Sadeh about 9 years ago
- Tracker changed from Bug to Feature
This is swift SLO, which we don't support at the moment.
#2 Updated by Ahmad Faheem about 9 years ago
The link http://ceph.com/docs/master/radosgw/swift/ states that creating large object is supported.
Create Large Object Supported
Is it not same as static large object?