Closed (fixed)
Project:
Cache Router Statistics
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Anonymous (not verified)
Created:
4 May 2010 at 17:11 UTC
Updated:
8 Sep 2017 at 10:10 UTC
In cacherouter_stats.memcache.inc we see a lot of "conf['cacherouter']['default']['server']"
but it should be
conf['cacherouter']['default']['servers']
(see the cacherouter project homepage - if you are using "server" then actually your cacherouter doesnt work and defaults to 11211, which is why you may not have noticed anything if you are on 11211)
Also, it fails to see extra bins' servers, e.g. only the default servers config are shown, not the others for the specific bins.
'default' => array(
'engine' => 'memcache',
'servers' => array('localhost:11211'),
'shared' => TRUE,
'static' => FALSE,
'fast_cache' => TRUE,
),
'cache_admin_menu' => array(
'servers' => array('localhost:11212'),
),
'cache_apachesolr' => array(
'servers' => array('localhost:11213'),
),
For above example, Cacherouter Stats only shows server: 11221, because ist doesnt anywhere foreach loop through the other bins.
Comments
Comment #1
fizk commentedFixed, thanks!
Comment #3
fizk commentedThe conf['cacherouter']['default']['servers'] change was made, but extra bins' servers are still ignored.
Comment #4
fas commentedHi Fizk,
I opened a thread duplicate ...sorry
Thanks for the fast response!
Now I see, I'm not the only one with this problem.
Any news on this?
Regards!
Comment #5
fizk commentedHi fas,
I'll try to get this fixed asap.
Cheers,
Yonas
Comment #6
fizk commentedFixed in 6.x-1.2-beta5.