Hi Lior,

On 3/3/11 1:53 PM, Evil Boy 4 Life wrote:
> Hi,
> I use the .net clients and 2 servers at 2 different machines.
> When one of the memcached servers is down, I try to set an item to the
> cache (According the hashing algoritem of the client, this item should
> stored the inactive server!) and this item get stored at the active
> server.
> After I set the item, the second server get back to work. Now if I'll
> try to get this item I won't succeed, because the client will searche
> the item at the second server (According the hashing algoritem).

Are you referring to the Enyim client?  I believe there's a separate
mailing list for that client, but I am not sure.
> What can i do to solve this problem???
> (To set the item again at the second server isn't a solution, because
> I don't want to store any item at 2 servers)

This seems like something more fundamental is wrong, or I miss the
question. 

Keep in mind, having two servers isn't a situation where they are
active/inactive, it's a collection of two servers.  Each adds to the
"pool" of cache available.  It's normal for a given key to hash to one
server or another, depending on the key.

Are you saying that in a normal, no failures kind of situation, you
cannot get and then set the same key?

Matt

Reply via email to