Comment 0 for bug 1693738

Revision history for this message
Prerna Dembla (prerna.dembla) wrote :

While executing "swift list" command to obtain list of containers, there are 2 GET calls from swift-proxy-server to swift-account server(can be seen in "var/log/swift/swift.log" file),

1)GET /v1/AUTH_<tenant_id>?format=json HTTP/1.1" 200 188

RESP BODY: [{"count": 1, "last_modified": "2017-03-28T05:39:08.876570", "bytes": 71220, "name": "container1"}, {"count": 1, "last_modified": "2017-03-28T06:10:53.634710", "bytes": 331, "name": "container2"}]

First call returns the list of containers from account server.

2)GET /v1/AUTH_<tenant_id>?format=json&marker=container HTTP/1.1" 200 2

RESP BODY: []

It seems second GET call is unnecessary as response body of second GET call is empty. Second GET call should be removed as list of container is already obtained by first GET call.