zzyugl / xmemcached

Automatically exported from code.google.com/p/xmemcached
Apache License 2.0
0 stars 0 forks source link

Put and Get are not consistent #168

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Deploy to 2 remote memcache servers.
1. Write a program to put objects (preferably in ten thousands atleast)in 
Memcached servers by different keys.
2. Write another program to fetch the same set of keys from the Memcached 
servers. If the key is not found put in another object for the same key.
3. All the gets are not fetching the object. Instead I am seeing duplicate key 
in both servers.

What is the expected output? What do you see instead?
The get should be from the same server where put is done. Instead it is trying 
to get the object from the other server and thus duplicate key is generated.

What version of the product are you using? On what operating system?
xmemcached-1.3.2 to xmemcached-1.3.5. Memcached servers running on Red Hat 
Linux systems. And the programs to put and fetch again on separate Red Hat 
Linux Servers.

Please provide any additional information below.

System setup:
============================================================
2 Core 6 GB Red Hat linux machine (Memcached server 1)
2 Core 6 GB Red Hat linux machine (Memcached server 2)
4 Core 6 GB Red Hat linux machine (JVM for putting objects)
4 Core 6 GB Red Hat linux machine (JVM for fetching objects & putting the 
objects by the same key if unable to fetch)

Systems connected by 100Mbps Ethernet

Original issue reported on code.google.com by dhruv....@gmail.com on 12 Nov 2011 at 6:26

GoogleCodeExporter commented 9 years ago
Please remove this issue. Same as 167. Hitted submit twice.

Original comment by dhruv....@gmail.com on 12 Nov 2011 at 6:28

GoogleCodeExporter commented 9 years ago

Original comment by killme2...@gmail.com on 12 Nov 2011 at 6:46