)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},"change_message_id":"da72f347e779ab410f9f58c81a8806ec61229330","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"195a572f_605c9934","updated":"2023-11-16 23:38:08.000000000","message":"Where is that used?\n\n[zaitcev@lebethron swift-tip]$ git grep -i backend-storage-policy-index | head -3\napi-ref/source/samples/endpoints-list-response-headers.json:        \"X-Backend-Storage-Policy-Index\": \"2\"\ndoc/source/overview_policies.rst:-Backend-Storage-Policy-Index``. Going the other way, the proxy also strips the\nswift/account/reaper.py:                policy_index \u003d headers.get(\u0027X-Backend-Storage-Policy-Index\u0027, 0)\n[zaitcev@lebethron swift-tip]$ git grep -i backend-object-storage-policy-index\n[zaitcev@lebethron swift-tip]$","commit_id":"894b4365dcecbe03eba828c288690d17b082ca56"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"95fd673a36db582d24dd7e9ce3cf7cbbd89b6a5d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"32decc9f_18e9c2f1","updated":"2023-11-16 18:02:51.000000000","message":"after:\n\nNov 16 18:02:07 saio object-6010: 127.0.0.1 - - [16/Nov/2023:18:02:07 +0000] \"HEAD /sdb1/1/AUTH_test/test/test\" 404 - \"-\" \"-\" \"curl/7.68.0\" 0.0015 \"-\" 24756 0","commit_id":"894b4365dcecbe03eba828c288690d17b082ca56"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"019a390ee0eb1165a9746a4b6912ac551f641d40","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"ae3478c9_f40cc331","in_reply_to":"195a572f_605c9934","updated":"2023-11-27 17:57:42.000000000","message":"It\u0027s introduced in the [parent patch](https://review.opendev.org/c/openstack/swift/+/898783).\n\nNote that it had to be a new header to avoid upgrade issues with cross-policy copies, but there\u0027s [another patch](https://review.opendev.org/c/openstack/swift/+/898784) that would have the proxy put it in the \"expected\" place to help third-party middlewares stay sane. If we like that direction, I\u0027d want both of them to merge more or less together.","commit_id":"894b4365dcecbe03eba828c288690d17b082ca56"}],"swift/common/utils/__init__.py":[{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"019a390ee0eb1165a9746a4b6912ac551f641d40","unresolved":true,"context_lines":[{"line_number":510,"context_line":"    :returns: string index of storage policy, or None"},{"line_number":511,"context_line":"    \"\"\""},{"line_number":512,"context_line":"    header \u003d \u0027X-Backend-Storage-Policy-Index\u0027"},{"line_number":513,"context_line":"    policy_index \u003d res_headers.get(header, req_headers.get(header))"},{"line_number":514,"context_line":"    if isinstance(policy_index, six.binary_type) and not six.PY2:"},{"line_number":515,"context_line":"        policy_index \u003d policy_index.decode(\u0027ascii\u0027)"},{"line_number":516,"context_line":"    return str(policy_index) if policy_index is not None else None"}],"source_content_type":"text/x-python","patch_set":1,"id":"260ef33f_1c379d08","side":"PARENT","line":513,"range":{"start_line":513,"start_character":43,"end_line":513,"end_character":66},"updated":"2023-11-27 17:57:42.000000000","message":"I don\u0027t understand why we weren\u0027t logging the proxy-provided SPI...","commit_id":"2ba399a9cd69bbab8829dc8fcd0bab94b4dc4fb3"}]}
