Merge "Delay cache invalidation during container creation"

This commit is contained in:
Jenkins 2017-09-20 15:16:11 +00:00 committed by Gerrit Code Review
commit 3e7363f244

View File

@ -180,11 +180,11 @@ class ContainerController(Controller):
headers = self._backend_requests(req, len(containers),
account_partition, accounts,
policy_index)
clear_info_cache(self.app, req.environ,
self.account_name, self.container_name)
resp = self.make_requests(
req, self.app.container_ring,
container_partition, 'PUT', req.swift_entity_path, headers)
clear_info_cache(self.app, req.environ,
self.account_name, self.container_name)
return resp
@public