If a server is down, repeated stores would increment the fail count even though the...
authorAndré Cruz <andre@huge>
Wed, 3 Mar 2010 12:01:54 +0000 (12:01 +0000)
committerAndré Cruz <andre@huge>
Wed, 3 Mar 2010 12:01:54 +0000 (12:01 +0000)
commit409b488619c121e786e8538d7fde5c9229c247ed
treed51d4e3135c7fb12c797436bc299dcf4e6b97b96
parentd70dd7ca2db0a4f7d7c63367466567cc1efe9f68
If a server is down, repeated stores would increment the fail count even though the server is marked by memcached_connect. This caused the next_retry to be incremented when the fail count was reached even though no new attempt was made to connect to the server... The connection to this server would never be recovered if the fail limit was reached before the next_retry.

This problem may exist elsewhere with mgets and deletes.
libmemcached/storage.c