[ 
https://issues.apache.org/jira/browse/JCLOUDS-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Gaul reassigned JCLOUDS-1240:
------------------------------------

    Assignee:     (was: Zack Shoylev)

> MultiPart Upload Swift
> ----------------------
>
>                 Key: JCLOUDS-1240
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1240
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-blobstore
>    Affects Versions: 2.0.0
>         Environment: RHEL 7.2
> Swift Version 2.10.0-2
>            Reporter: Archana Chinnaiah
>              Labels: openstack-swift
>         Attachments: SwiftMPU
>
>
> Content length of the manifest file for multipart upload in swift doesnot 
> have size of entire blob instead it has the content length of the manifest 
> file.As per the javadoc  [1] Content-Length of the manifest must be size of 
> the blob.
> [1] 
> https://github.com/jclouds/jclouds/blob/master/apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/binders/BindManifestToJsonPayload.java
> As per my observation content length of the manifest has is not content 
> length of the blob.
> {code}
> [root@jupiter-vm564 ~]# swift list arctestAPI
> arc
> arc/slo/1487235018.498000/10485839/0/00000001
> arc/slo/1487235018.498000/10485839/0/00000002
> [root@jupiter-vm564 ~]# swift stat arctestAPI arc
>       Account: AUTH_f9d7c1cf6500469b80f0906f5f9b1791
>       Container: arctestAPI
>       Object: arc
>       Content Type: application/unknown
>       Content Length: 264
>       Last Modified: Thu, 16 Feb 2017 08:58:43 GMT
>       ETag: fcd3ba56d354c8819d186eed4eee115d
>       Content-Disposition: arc
>       Accept-Ranges: bytes
>       Connection: keep-alive
>       X-Timestamp: 1487235522.85407
>       X-Trans-Id: tx1ca4d8c67a4f4cfa996b4-0058a569e3
> [root@jupiter-vm564 ~]# swift stat arctestAPI 
> arc/slo/1487235018.498000/10485839/0/00000001
>        Account: AUTH_f9d7c1cf6500469b80f0906f5f9b1791
>        Container: arctestAPI
>        Object: arc/slo/1487235018.498000/10485839/0/00000001
>        Content Type: application/unknown
>        Content Length: 33554432
>        Last Modified: Thu, 16 Feb 2017 08:58:29 GMT
>        ETag: 58f06dd588d8ffb3beb46ada6309436b
>        Content-Disposition: arc
>        Accept-Ranges: bytes
>        Connection: keep-alive
>        X-Timestamp: 1487235508.56703
>        X-Trans-Id: txdaeb6b9e4e5a4ae0a1ec8-0058a56a41
> [root@jupiter-vm564 ~]# swift stat arctestAPI 
> arc/slo/1487235018.498000/10485839/0/00000002
>       Account: AUTH_f9d7c1cf6500469b80f0906f5f9b1791
>       Container: arctestAPI
>       Object: arc/slo/1487235018.498000/10485839/0/00000002
>       Content Type: application/unknown
>       Content Length: 3145728
>        Last Modified: Thu, 16 Feb 2017 08:58:42 GMT
>        ETag: d1dd210d6b1312cb342b56d02bd5e651
>       Content-Disposition: arc
>       Accept-Ranges: bytes
>       Connection: keep-alive
>       X-Timestamp: 1487235521.06353
>       X-Trans-Id: txacf9546117e345d48921f-0058a56a48
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to