)]}'
{"swift/proxy/controllers/container.py":[{"author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"change_message_id":"cf054f5d84bb78763ab78b6b8e57085525d1c79d","unresolved":false,"context_lines":[{"line_number":203,"context_line":"            self.account_name, self.container_name)"},{"line_number":204,"context_line":"        headers \u003d self.generate_request_headers(req, transfer\u003dTrue)"},{"line_number":205,"context_line":"        clear_info_cache(self.app, req.environ,"},{"line_number":206,"context_line":"                         self.account_name, self.container_name)"},{"line_number":207,"context_line":"        resp \u003d self.make_requests("},{"line_number":208,"context_line":"            req, self.app.container_ring, container_partition, \u0027POST\u0027,"},{"line_number":209,"context_line":"            req.swift_entity_path, [headers] * len(containers))"}],"source_content_type":"text/x-python","patch_set":1,"id":"bf57530f_beecc6f3","line":206,"updated":"2017-09-20 09:08:31.000000000","message":"Not as risky as above, but the cache might contain outdated metadata if there is another POST request after the clear_info_cache and the request?","commit_id":"244d7de388e7a62f488e9272efcb9adba8021274"},{"author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"change_message_id":"cf054f5d84bb78763ab78b6b8e57085525d1c79d","unresolved":false,"context_lines":[{"line_number":222,"context_line":"        headers \u003d self._backend_requests(req, len(containers),"},{"line_number":223,"context_line":"                                         account_partition, accounts)"},{"line_number":224,"context_line":"        clear_info_cache(self.app, req.environ,"},{"line_number":225,"context_line":"                         self.account_name, self.container_name)"},{"line_number":226,"context_line":"        resp \u003d self.make_requests("},{"line_number":227,"context_line":"            req, self.app.container_ring, container_partition, \u0027DELETE\u0027,"},{"line_number":228,"context_line":"            req.swift_entity_path, headers)"}],"source_content_type":"text/x-python","patch_set":1,"id":"bf57530f_de1ada15","line":225,"updated":"2017-09-20 09:08:31.000000000","message":"I think there might be another race condition here - if one does a PUT+GET/HEAD at the same time (ie between clear_info_cache and the following DELETE request) the cached info is also invalid. However, it needs verification and is only somewhat related to the reported bug, so let\u0027s investigate this in a follow up.","commit_id":"244d7de388e7a62f488e9272efcb9adba8021274"}]}
