You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Bayer (JIRA)" <ji...@apache.org> on 2013/11/25 19:32:35 UTC
[jira] [Commented] (JCLOUDS-250) Swift: Uploading a blob whose name
starts with the name of a multipart blob changes the multipart blob's
contents
[ https://issues.apache.org/jira/browse/JCLOUDS-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831716#comment-13831716 ]
Andrew Bayer commented on JCLOUDS-250:
--------------------------------------
Is this going to actually get done in the next two weeks, or should it move to post-1.7.0?
> Swift: Uploading a blob whose name starts with the name of a multipart blob changes the multipart blob's contents
> -----------------------------------------------------------------------------------------------------------------
>
> Key: JCLOUDS-250
> URL: https://issues.apache.org/jira/browse/JCLOUDS-250
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-blobstore
> Reporter: Francis Devereux
> Assignee: Francis Devereux
> Fix For: 1.7.0
>
>
> If you upload a multipart blob named "foo" and then upload a non-multipart blob named "foo.bar" to the same container then when you get the contents of "foo" they will include the contents of "foo.bar".
> This happens because CommonSwiftAsyncClient uses the blob's name as the value for the X-Object-Manifest header, and swift includes all blobs whose names start with this value when responding to a GET on the multipart blob.
> http://docs.openstack.org/trunk/openstack-object-storage/admin/content/direct-api-management-of-large-objects.html and http://www.rackspace.com/blog/rackspace-cloud-files-now-supporting-extremely-large-file-sizes/ append a / to the end of the X-Object-Manifest header which avoids this issue in the common case (it can still happen if a blob with / in the name is uploaded, but this is likely to be uncommon because / does not commonly appear in filenames as it is the UNIX path separator character).
--
This message was sent by Atlassian JIRA
(v6.1#6144)