Server side copy with Single Ranged read not working with Erasure Coded Data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Critical
|
Kota Tsuyuzaki |
Bug Description
Using Server Side Copy on an erasure coded object in conjunction with a single ranged read results in an error. Both Server Side Copy and Single Ranged Reads against erasure coded data work individually.
Example:
curl -i -X PUT -H "$token" $surl/ECData/mybook --data-binary 'It was the best of times, it was the worst of times'
curl -i -X COPY -H "$token" -H "Range: bytes=7-15" -H "Destination: ECData/
HTTP/1.1 499 Client Disconnect
Content-Length: 89
X-Copied-
X-Copied-From: RReads/mybook
X-Copied-
Content-Type: text/html; charset=UTF-8
X-Trans-Id: txfad79ed2751c4
Date: Mon, 22 Jun 2015 21:17:31 GMT
<html><h1>Client Disconnect<
CVE References
tags: | added: ec |
Changed in swift: | |
assignee: | nobody → Minwoo Bae (minwoob) |
Changed in swift: | |
assignee: | Minwoo Bae (minwoob) → Kota Tsuyuzaki (tsuyuzaki-kota) |
status: | Confirmed → In Progress |
importance: | High → Critical |
Changed in swift: | |
milestone: | none → 2.4.0 |
status: | Fix Committed → Fix Released |
Seeing as this is a difference in behavior from replicated storage, this should be fixed as quickly as possible.