weijiahao001 / memcached-session-manager

Automatically exported from code.google.com/p/memcached-session-manager
0 stars 0 forks source link

Encode backup node in secondary backup key #117

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Right now the SuffixBasedNodeLocator select the nextAvailableNode for a backup 
key. Also in a higher level the nextAvailableNode is chosen for different 
backup related tasks. To have the backup node id selection on the same level, 
it should be encoded in the key so that the nodeLocator can just extract the 
node id. The backup key can be e.g. "bak:n2:12345-n1".

Original issue reported on code.google.com by martin.grotzke on 26 Dec 2011 at 2:58