Closed (fixed)
Project:
Drush
Version:
8.x-6.x-dev
Component:
Core Commands
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Oct 2010 at 10:32 UTC
Updated:
3 Jan 2014 at 02:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gagarine commentedConfirmed.
drush cc doesn't clear memcache. I need to clear memcache from the admin UI.
Comment #2
achtonSubscribing.
Comment #3
JeremyFrench commentedI thought I had this problem, but it turned out to be my sites minimum cache time.
If you clear though the admin, memcache will set a session variable so that it looks like things are cleared immediately (they are for the admin user). Drush will not do this as there is no session.
Setting my sites 'cache_lifetime' variable to 0 resolved the issue.
Comment #4
catchedit, bad idea
Comment #5
catchPlease try the patch at #1103478: Skip some wildcard fetches to see if it fixes this issue for you.
Comment #6
catchComment #7
catchAlso #1134242: Review cache_lifetime behaviour..
Comment #8
catchComment #9
c960657 commentedReopening issue and moving from Memcache module to Drush (I search for duplicates but did not find any).
The problem is that drush_cache_clear_theme_registry() does not go through cache_clear_all() but instead tries to delete the cache entries using SQL, but this fails if Memcache or some other cache handler is used.
Comment #10
c960657 commentedComment #11
c960657 commentedComment #12
moshe weitzman commentedThanks ... Bonus points to anyone who upgrades our cache commands to be compatible with Drupal 8.
Comment #13
greg.1.anderson commentedLooking at RTBC issues this morning, and I notice this one. I re-rolled the patch, but do not use memcache, so did not test.
Comment #14
c960657 commentedPatch still works with Drupal 6 + Drush 5.7.
Comment #15
moshe weitzman commentedPatch looks good but needs to be ported to D8 as well which has an OO cache api.
Comment #16
moshe weitzman commentedOK, I'll fix this without holding folks hostage to do some D8 for us :). Committed to 5 and 6.