You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/08/06 21:56:04 UTC

[jira] [Commented] (JCLOUDS-883) Swift portable copy blob cannot replace user metadata

    [ https://issues.apache.org/jira/browse/JCLOUDS-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660699#comment-14660699 ] 

ASF subversion and git services commented on JCLOUDS-883:
---------------------------------------------------------

Commit 4f32e863ad2552d6fb941a536b91e1e18a35c462 in jclouds's branch refs/heads/master from [~gaul]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=4f32e86 ]

JCLOUDS-883: Replace metadata during Swift copy

Previously Swift copy would append metadata instead of replacing it.


> Swift portable copy blob cannot replace user metadata
> -----------------------------------------------------
>
>                 Key: JCLOUDS-883
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-883
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-blobstore
>    Affects Versions: 2.0.0
>            Reporter: Andrew Gaul
>            Assignee: Andrew Gaul
>            Priority: Minor
>              Labels: openstack-swift
>
> Swift only allows appending to user metadata, different from other object stores, such that the following integration test fails:
> {noformat}
> Failed tests: 
>   CloudFilesUSBlobIntegrationLiveTest>BaseBlobIntegrationTest.testCopyBlobReplaceMetadata:812->BaseBlobIntegrationTest.checkUserMetadata:606 
> Expecting:
>  <{"key2"="value2", "key3"="value3", "key1"="value1", "key4"="value4"}>
> to be equal to:
>  <{"key3"="value3", "key4"="value4"}>
> but was not.
> {noformat}
> Unfortunately the provider API does not appear to provide a way to set the combination of content and user metadata to fix this up after the fact.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)