Closed (fixed)
Project:
Memcache API and Integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2010 at 23:03 UTC
Updated:
8 Sep 2010 at 08:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
catchDiscussed with Jeremy in irc. The prefix change needs to happen how this patch still doesn't fix wildcard clears when cache lifetime is on, but it will cause issues when it's not (due to '*' not being empty).
Here's a quick patch which will only work with cache_lifetime = 0, once we properly confirm that as working we should move onto the lifetime issue.
Comment #2
catchthis patch fixed for one case but broke for the other. Even better my test page has both cache_get() and cache_get_multiple() with the same keys but took a while to track down exactly what was going on.
This appears to work both with and without a custom cache key, and with cache_get() or cache_get_multiple() - pretty sure the issue was cache_get_multiple() returning cache entries even if they're invalid.
Comment #3
jeremy commentedI believe this was fixed here:
#888002: Wildcard clear lock contention
Please re-open if you're still having this issue with the latest dev code.