Closed (fixed)
Project:
Memcache API and Integration
Version:
7.x-1.x-dev
Component:
memcache.inc
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2011 at 14:53 UTC
Updated:
11 Jan 2015 at 08:34 UTC
Jump to comment: Most recent
Comments
Comment #1
catchPlease try the latest dev, several issues with cache clearing were fixed.
Comment #2
zhgenti commentedHello @catch, just pulled latest revision 57f445, but seems like cache clearing issue is still there. Can't clear views cache with the following code, which is in the cache actions module.
call of this function via devel/php also doesn't clear cache in the memcache bin.
This function, which is supposed to clear cache of particular panel also doesn't work. table is "cache"
Hope this information will help you to fix the issue.
Thanks a lot for your geat efforts on this project.
Dmitry
Comment #3
catchNote that clearing the cache in memcache does not actually empty the bin, it sets a variable that invalidates the cache item, so that the next cache_get() returns FALSE. So if you're trying to inspect what memcache is actually doing to diagnose this, that's not going to work well - you'd be better off checking the 'created' time of cache items from cache_get().
Comment #4
jeffsheltren commentedClosing due to lack of activity, but please re-open if you are still having problems.
Comment #5
szantog commentedThe problem is still exists in the latest dev. Have a view with a simple time based cache, and an action, which clear these caches on voting (by votingapi). Without memcache, cache is cleared as well, if set up memcache, nothing to happen.
What info do you need?
Comment #6
jeremy commentedThere's been a number of fixes made in the past couple of years, affecting cache flushing. Please grab the latest release (7.x-1.4-beta1 or later) and let us know if there's still a problem. I'm unable to duplicate in my testing.