cache_menu problem

michtoen - January 27, 2009 - 18:11
Project:Memcache API and Integration
Version:6.x-1.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

Hi

I found a strange bug...
I installed a clean 6.9 and memcached... All works, nop problem.

Then i started to put the tables in seperated bins.
After i hit this setup

'memcache_servers' => array('localhost:11211' => 'default',
'localhost:11212' => 'pages',
'localhost:11213' => 'session',
'localhost:11214' => 'user',
'localhost:11215' => 'block',
'localhost:11216' => 'form',
'localhost:11217' => 'menu'
),

'memcache_bins' => array( 'cache' => 'default',
'cache_page' => 'pages',
'session' => 'session',
'users' => 'user',
'cache_block' => 'block',
'cache_form' => 'form',
'cache_menu' => 'menu'
)

All works fine, but when i go to admins/performance and then hit the "clear all cache" (with cache set on normal),
then the theme page.tpl.php was not loaded from themes/daimonin but the default one in modules/themes!

When i go to admins/themes and hit simply the save button there, the theme is restored. That bug is repeatable
and will appear when menu cache is enabled.

Here the statistics for such a run
Memcache statistics
get:
3e31b84eb19d7f73cb901acde3235aed
1
variables
theme_registry:daimonin
links:navigation:page-cid:admin/settings/performance:1
links:navigation:tree-data:b89e4b75fed15278d0f473e6ca4ff482
update_project_projects
update_info
set:
variables
links:navigation:tree-data:b89e4b75fed15278d0f473e6ca4ff482
links:navigation:page-cid:admin/settings/performance:1
update_project_projects
3e31b84eb19d7f73cb901acde3235aed
1
hit:
3e31b84eb19d7f73cb901acde3235aed
1
theme_registry:daimonin
bins:
session
users
cache
cache
cache
cache_menu
cache_menu
cache_menu
cache_menu
cache_update
cache_update
cache_update
session
users

 
 

Drupal is a registered trademark of Dries Buytaert.