Comment 2 for bug 1204148

Revision history for this message
cube45 (90724-x) wrote :

Where did you find this information on the doc?

Here is what i've read from the doc:
--------------
MEMCACHED_BEHAVIOR_NUMBER_OF_REPLICAS
If you just want “a poor mans HA”, you may specify the numbers of replicas libmemcached should store of each item (on different servers). This replication does not dedicate certain memcached servers to store the replicas in, but instead it will store the replicas together with all of the other objects (on the ‘n’ next servers specified in your server list).
-------------

This is the behaviour that I get if everything is fine:
The value is stored on A,A+1... according to the key hash and NUMBER_OF_REPLICAS set

However, when I tried to read a value stored in A and A+1 and if A is down, the value is correctly retrieved from A+1