-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Libmemcached 1.0.16 SET does not replicate #21
Comments
Well, according to documentation, replication works only in case of cache misses (e. g. if one of the server was overflown with data and removed some values from the cache). Server failure isn't the case for the replication to work around. |
Where did you find this information on the doc? Here is what i've read from the doc:
This is the behaviour that I get if everything is fine: 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 |
This is an old ticket, but somewhat still actual for version v1.0.18 Here's my finding, but I'm might mistaken:
|
A few things to note here:
Those facts should be documented, if they ain't already.
The term HA in docs is misleading, I think. |
Imported from Launchpad using lp2gh.
Hi,
I am currently trying to test libmemcached but I am facing a strange behaviour:
Let's say we have two memcached servers (A and B) and a data d.
I want to put this data on the servers so that it will be available.
The key hash seem to designate the node A as the primary and B as the replicate.
If B is down, the data is written only on A.
But if A is not up, d is not automatically written to B and is lost.
Is this what was intended?
I saw some lines on storage.cc that let me suppose that if the first node does not succeed in saving the data, then it is not saved at all.
I'm using libmemcached 1.0.16 with binary protocol, CAS support and number of replicas to 1
Regards,
cube45
The text was updated successfully, but these errors were encountered: