Closed (fixed)
Project:
Memcache API and Integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2010 at 12:14 UTC
Updated:
26 Oct 2010 at 02:40 UTC
This is true in both 6.x-dev and 7.x-dev. Currently using the attached script to test both trees.
| Comment | File | Size | Author |
|---|---|---|---|
| wildcard-test.php_.txt | 6.51 KB | jeremy |
Comments
Comment #1
stephanbauer commentedSame problem here, had to restart memcached after the css file was recreated.
Comment #2
longwaveThis regression is because memcache_wildcards() statically caches wildcards per table and cid, but this is not reset for each cid when a flush occurs. Adding
unset($wildcards[$table]);at the end of theif ($flush)block fixes this, but I think the patch in #911232-38: A high percentage of getMulti operations are failing to hit cache takes a better approach of caching all wildcards per table in a single array.Also, the cache wipe test fails, because the
$cache_tables[$table] > $cache->createdtest should be$cache_tables[$table] >= $cache->created.Comment #3
SimonVlc commentedSubscribing.
Comment #4
jeremy commentedFix committed to 7.x, needs to be ported to 6.x:
http://drupal.org/cvs?commit=434732
Comment #5
jeremy commentedFix committed to 6.x:
http://drupal.org/cvs?commit=434802