Memcache protocol returns EXISTS, when item you are trying to store with a cas has been modified since you last fetched it. The Rails shim over Memcached is supposed to not raise anything for legacy reasons. In order to achieve this, we must rescue ConnectionDataExists!
Memcache protocol returns EXISTS, when item you are trying to store with a cas has been modified since you last fetched it. The Rails shim over Memcached is supposed to not raise anything for legacy reasons. In order to achieve this, we must rescue ConnectionDataExists!