swift中如何复制大于5G的object?
swift中如何复制大于5G的object到container中?
现在已知有Copy object
方法.
http://developer.openstack.org/api-ref-objectstorage-v1.html#copyObject (http://developer.openstack.org/api-re...)
但是遇到大于5G的文件时出错.
HTTP/1.1 413 Request Entity Too Large
现在知道一个办法
在query
中增加multipart-manifest
参数
curl -i $publicURL/test/test.file?multipart-manifest=get -I -X COPY -H "X-Auth-Token: $token" -H "Destination: gktest/test.file"
但是那样等于只是复制了metadata,segments还是以前的.