when you copy a slo the destination doesn't get its content-length and etag set correctly in the container listings
Bug #1260446 reported by
David Goetz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Alistair Coles |
Bug Description
to reproduce do a -XCOPY from a slo obj with ?multipart-
Changed in swift: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
This bug also manifests itself when you POST to a slo manifest and proxy is using object_ post_as_ copy=true. For example::
% swift upload c1 LICENSE --segment- size=10000 --use-slo
Account: AUTH_test
Container: c1
Object: LICENSE octet-stream
ETag: "5af02732f3488e 214563d9e969dc8 fa3"
Accept- Ranges: bytes
X-Timestamp: 1448296577.27507
X-Trans- Id: txde361c3fb7d54 eee947c2- 0056534089 Large-Object: True octet-stream LICENSE
Account: AUTH_test
Container: c1
Object: LICENSE octet-stream
ETag: "5af02732f3488e 214563d9e969dc8 fa3"
Accept- Ranges: bytes
X-Timestamp: 1448296602.26135
X-Trans- Id: txe4a13d1059f74 0d0a658a- 005653409f Large-Object: True
LICENSE segment 0
LICENSE segment 1
LICENSE
% swift stat c1 LICENSE
Content Type: application/
Content Length: 11358
Last Modified: Mon, 23 Nov 2015 16:36:18 GMT
Meta Mtime: 1438093626.975645
X-Static-
% swift list c1 --lh
11K 2015-11-23 16:36:17 application/
11K
% swift post c1 LICENSE
% swift stat c1 LICENSE
Content Type: application/
Content Length: 11358
Last Modified: Mon, 23 Nov 2015 16:36:43 GMT
X-Static-
# oops - now the listing size is the manifest size, not the total size... octet-stream LICENSE
% swift list c1 --lh
455 2015-11-23 16:36:42 application/
455