Some old versions of memcache raise ServerEnd exceptions when a SET follows a GET that raises a Memcached::NotFound error. Adding this line solves that problem.
I understand that this should be fixed already in the current release, but in systems where earlier versions of memcached needs to be used for compatibility reasons, this patch is an easy fix to solve the ServerEnd exception problem.
Some old versions of memcache raise ServerEnd exceptions when a SET follows a GET that raises a Memcached::NotFound error. Adding this line solves that problem.
For example, see https://github.com/evan/memcached/pull/50
I understand that this should be fixed already in the current release, but in systems where earlier versions of memcached needs to be used for compatibility reasons, this patch is an easy fix to solve the ServerEnd exception problem.