Memcache mover - migrate contents between clusters
This is a simple tool to help with copying the contents of a memcache cluster into a new one, helping with migrations.
It has two modes of operations:
1) List the slabs available in each source memcached server, list the keys(*) and start copying the entries to the destination cluster. This mode is non-destructive, but limited in the number of entries that can be migrated(*)
2) Same as mode 1, but delete the migrate entries from the source cluster, and repeat until the source cluster is empty. This mode WILL REMOVE ALL THE ENTRIES from the source cluster, so use with care.
(*) Getting the keys from a memcached slab used to be limited to a response of max 2MB).