Closed (outdated)
Project:
Memcache API and Integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2011 at 07:27 UTC
Updated:
15 Apr 2026 at 01:47 UTC
Jump to comment: Most recent
Comments
Comment #1
ogi commentedI found why my cache wasn't flushed. In
MemCacheDrupal's constructor, there's the following code for cutting cache entries before flush time:Then
valid()method checks if the entry should be discarded:So when there's no
cache_lifetme, nothing is ever flushed. Where there'scache_lifetime,$this->flushedjust cuts beforecache_lifetimeor more, but never afterREQUEST_TIME - $this->cache_lifetime. All this just disables the whole flush concept.Comment #2
catchThis should be fixed in latest dev.
Comment #3
jasonabc commentedDo you have a fix for the D6 version? We are experiencing this also on our D6 sites. Clearing cache doesn't flush memcache - we have to flush it manually and that is affecting other sites that use it.
Comment #4
jeremy commentedTagging as a 6.x issue.
Comment #5
japerry