container_info & account_info methods don't cache 404's

Bug #682749 reported by clayg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Medium
Greg Lange

Bug Description

In the proxy server, the container_info and account_info methods cache 404's but they don't do anything with them.

These methods should continue to cache 404's (and 200's) but be updated to return None's immediately when they encounter the cache value of 404 without calling out the respective servers.

The "no response" and "mixed results" values (0 and -1) don't need to be cached.

Since we'll be caching non-existence care should be taken to ensure the ObjectController.PUT and AccountController.PUT methods are deleting the cached value.

Tags: proxy

Related branches

Changed in swift:
status: New → Fix Committed
Chuck Thier (cthier)
Changed in swift:
milestone: none → 1.2.0
Chuck Thier (cthier)
Changed in swift:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.