ZF-8897: Zend_Cache_Backend_Memcached - getFillingPercentage fails if one memcache server is down
Description
When using Zend_Cache_Backend_TwoLevels and the memcached backend, calls to getFillingPercentage is done. If using multiple memcached servers and one memcached server is down, the getFillingPercentage throws an exception. This renders the whole caching mechanism dead... It should still work as long as some memcached servers are up. The filling percentage stats isn't that important for the functionality.
I propose to just ignore any memcached servers that are down in this call.
Comments
Posted by Marc Bennewitz (private) (mabe) on 2010-01-24T08:15:21.000+0000
Thanks for your report.
The added patch only logs if one server failed and throws exception only if all server failed.
Posted by Marc Bennewitz (private) (mabe) on 2010-01-24T15:40:24.000+0000
fixed in r20588 (trunk) & r20589 (1.10 branch)
-> tests: After adding a not existing memcached server there are some more failed tests. I'm creating a new issue for it.