Bug #18977
closedrgw: end_marker parameter doesn't work on Swift container's listing
0%
Description
RadosGW and Swift are loaded with the same data.
RadosGW:
$ curl -i "${publicURL}/TestContainer-32150453/?&end_marker=ZzzzObject1234567890" -X GET -H "X-Auth-Token: ${token}"
HTTP/1.1 204 No Content
X-Timestamp: 1487353752.59417
X-Container-Object-Count: 1
X-Container-Bytes-Used: 2
X-Container-Bytes-Used-Actual: 4096
X-Storage-Policy: default-placement
X-Trans-Id: tx000000000000000000002-0058a73b09-1016-default
Accept-Ranges: bytes
Content-Type: text/plain; charset=utf-8
Date: Fri, 17 Feb 2017 18:03:53 GMT
Swift:
$ curl -i "${publicURL}/TestContainer-32150453/?&end_marker=ZzzzObject1234567890" -X GET -H "X-Auth-Token: ${token}"
HTTP/1.1 200 OK
Content-Length: 21
X-Container-Object-Count: 1
Accept-Ranges: bytes
X-Timestamp: 1487354048.60160
X-Container-Bytes-Used: 2
Content-Type: text/plain; charset=utf-8
X-Trans-Id: txebcd8729697b48479e8e9-0058a738e2
Date: Fri, 17 Feb 2017 17:54:42 GMTTestObject-238677986
Introduced in a5d1fa0587184f43c69d8e03114b58d43f320781.
RadosGW with the commit reverted:
$ curl -i "${publicURL}/TestContainer-32150453/?&end_marker=ZzzzObject1234567890" -X GET -H "X-Auth-Token: ${token}"
HTTP/1.1 200 OK
Content-Length: 20
X-Timestamp: 1487353752.59417
X-Container-Object-Count: 1
X-Container-Bytes-Used: 2
X-Container-Bytes-Used-Actual: 4096
X-Storage-Policy: default-placement
X-Trans-Id: tx000000000000000000002-0058a73fa3-100e-default
Accept-Ranges: bytes
Content-Type: text/plain; charset=utf-8
Date: Fri, 17 Feb 2017 18:23:31 GMTTestObject-238677986
Updated by Radoslaw Zarzynski almost 7 years ago
- Status changed from New to Fix Under Review
Updated by Matt Benjamin over 6 years ago
- Status changed from Fix Under Review to Pending Backport
- Backport changed from jewel to jewel luminous
Updated by Nathan Cutler over 6 years ago
- Copied to Backport #21453: luminous: rgw: end_marker parameter doesn't work on Swift container's listing added
Updated by Nathan Cutler over 6 years ago
- Copied to Backport #21454: jewel: rgw: end_marker parameter doesn't work on Swift container's listing added
Updated by Nathan Cutler over 5 years ago
- Status changed from Pending Backport to Resolved