Issues

ZF-8897: Zend_Cache_Backend_Memcached - getFillingPercentage fails if one memcache server is down

Issue Type: Bug Created: 2010-01-21T14:06:06.000+0000 Last Updated: 2010-01-24T15:40:24.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Are Pedersen (are) Assignee: Marc Bennewitz (private) (mabe) Tags: - Zend_Cache

Related issues: Attachments: - ZF-8897.diff

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts