get_container_info should have some probability of bypassing memcache and going to disk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If you've got thousands of requests per second for objects in a single container, you basically NEVER want that container's info to ever fall out of memcache. If it *does*, all those clients are going to overload the container -- most will fail, and with bug #1883211 the ones that succeed may not get their info into memcache long enough to help much. You can try increasing recheck_
The solution (in my mind, anyway) is to have some small probability -- 0.01%, say -- of get_container_info skipping memcache all together and going out to the container-server any way; then we'll refresh the TTL in memcache and we're good for another minute.
Does any HEAD to the container push out the TTL - or does it specifically need to get a get_container_info call that misses?