InterNations/ZendCacheMemcacheTaggingBackend — pull request #1 by micxer (2014-12-01 12:34:40+00:00)
Title: Cache invalidation using tags doesn't always work for libmemcached when one Memcache server isn't available

When using the `LibmemcachedTaggingBackend` with two Memcache servers using the default configuration, the invalidation using the tags might not always work. This is because the tag(s) might be stored on the unresponsive server. There it cannot be fetched and the backend is trying to create new tag with value 1. If this was the value before the call to `clean` was made, the backend will assume that the actual content it fetches later on based on the tag values is the correct cached item and will return it therefore leaving the call to `clean` without effect.

I'll attach a PR showing the problem in a unit test since I'm not sure how this can be fixed or if it might even be a bug in php5-memcached/libmemcached not removing unresponsible servers from the pool.