- cache_clear_all deletes from memory.
- cache_get, not finding the object in the memcached, grabs object from database and copies it to memcached.
- cache_clear_all deletes from database.
Nice job, you just managed to negate the effect of cache_clear_all . This can be nasty. Fix is easy.
Comments
Comment #1
chx commentedNote that while this is a real concern, our not-deleting problem only went away when we upped to latest memcache PECL extension.
Comment #2
robertdouglass commented@chx: please advise on the status of this issue.
Comment #3
robertdouglass commentedDoesn't apply. Logic in memcache.db.inc has changed.
Comment #4
jeremy commentedI believe this is now a duplicate which has been fixed. (Please re-open if the problem is actually still there.)