Hello Group, When memcached goes down we loose all the data. Is there any way we can recover it? I guess not.. Now I have apache logs I can replay the logs to warm the cache. But I want to replay only those logs of which data was residing on cache server which went down.
I make it further clear. Lets say we have URL of apache access logs like following.. a/b/KEY1/page.php a/b/KEY2/page.php a/b/KEY3/page.php We are doing memcache operation based on key(KEY1, KEY2, KEY3). Now KEY1 lands on Cache1 KEY2 lands on Cache2 and KEY3 lands on Cache3. Now Cache1 has gone down.. So data stored for KEY1 is also gone.. In that case I need to replay only a/b/KEY1/page.php and not all.. Now the question is how to find KEY1..That means how to find all the keys which were originally on Cache1.. I know C++ library uses some magic hash to establish key to cache server affinity. If we somehow know the magic hash function we can do some sort of reverse engineering. So any input how to solve this problem will be highly appreciated.. Thanks A fellow engineer
