Hi, I recently shifted to using the memcached_get/set_by_key APIs. The trouble is that even after warming the cache with all of the content, a subsequent query to fetch the key/value pair fails with a not found error. I am seeing this behaviour in a 2-node memcached cluster.
Its occurring consistently and on reverting back to using the normal memcached_get/set APIs, the key/value pairs can be retrieved appropriately! However I do need to use these by_key APIs for my data consistency logic. I have added appropriate logging information in my C code (am linking to libmemcached 0.27) and confirmed that the master key is the same in both set_by_key/get_by_key calls. Anything obvious that I am missing? Has anyone observed such dubious behaviour before with these by_key calls? Comments appreciated. Regards, Nikhils
