Closed (fixed)
Project:
Memcache API and Integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2011 at 11:06 UTC
Updated:
4 Nov 2011 at 08:50 UTC
One of the recent patches re-introduced the usage of dmemcache_key() in wildcards(), this resulted in different wildcard keys for getting/setting cache entries.
The result is that $cache->flushes is always 0 and is marked as invalid on the next get, resulting in yet another cache set...
| Comment | File | Size | Author |
|---|---|---|---|
| wildcards_key.patch | 962 bytes | berdir |
Comments
Comment #1
catchCommitted, thanks!
Comment #2
catchBerdir rightly pointed out in irc we should add tests for this.
Comment #3
berdirThere are actually test fails related to cache clearing right now, even with this bug fixed. I think something with the wildcard optimization is not correct, but I'm still investigating..
Comment #4
berdirThe tests fail with #1131370: Segment wildcard counts by $string[0] applied and without my fix here. (not the new tests, the existing ones)