When your formerly failed memcached server comes back up and you
request the item from it, it will miss. Ideally this is when you go
recalculate whatever the value is and you then set it in the 'proper'
cache.
Also, consider that when your 2nd memcached server is down, you'll put
into the 1st server on its first miss, but any subsequent requests
(until the 2nd comes back up) are getting served appropriately by the
first.
After the second server comes back up, over time the 'duplicate' on
the first server will be purged from memory because it will end up as
Least-Recently-Used data.
- Nelz