redis一个比较大的改变,redis3.0.1稳定版本发布,支持集群。redis集群配置reidsCluster(三)

2015-07-21 16:27:13 · 作者: · 浏览: 5
r to fix the cluster so that keys will be migrated according to the hash slots each node is authoritative or not.Use redis-trib check at the end to make sure your cluster is ok.Restart your clients modified to use a Redis Cluster aware client library.w

There is an alternative way to import data from external instances to a Redis Cluster, which is to use theredis-trib import command.

The command moves all the keys of a running instance (deleting the keys from the source instance) to the specified pre-existing Redis Cluster. However note that if you use a Redis 2.8 instance as source instance the operation may be slow since 2.8 does not implement migrate connection caching, so you may want to restart your source instance with a Redis 3.x version before to perform such operation.