Updates:
        Status: Invalid

Comment #1 on issue 189 by [email protected]: Objects do not move to top of LRU when touched
http://code.google.com/p/memcached/issues/detail?id=189

Add will _not_ change the original item in the cache (flags, expiry time, cas etc). It will however change the objects position of the list of objects to evict if someone tries to store additional objects when all of the memory is used. Getting the object would have the same effect, but it would require all of the data for the object to be transferred back to the client. Personally I would think that calling a cas with an illegal value would be a better alternative, because then you would not end up in a situation where add succeeds and you have a bogus item in you cache.

Reply via email to