Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

从redis cluster迁移 #10

Closed
yangzhe1991 opened this issue Oct 14, 2015 · 2 comments
Closed

从redis cluster迁移 #10

yangzhe1991 opened this issue Oct 14, 2015 · 2 comments

Comments

@yangzhe1991
Copy link
Member

@heroliy

有支持 redis cluster 迁移到codis的方法吗?貌似这个不支持

@yangzhe1991
Copy link
Member Author

你是如何进行操作的?具体的命令是什么?

@spinlock
Copy link
Member

抱歉,没有使用redis-cluster 的经验。

我有一个假设:在 redis-cluster 不发生 slot-migration 的情况下,单个 redis instance 就是普通的 redis,每个 redis instance 都可以单独挂 slave。

如果这个假设成立的话,你可以对 cluster 中的每个 instance 都起独立的 redis-port 向同一个 codis 集群迁移数据。在这个过程中,不要动 cluster 的 topo 结构。这样,数据就能完整的迁移过去了。如果假设不成立的话,我也没有别的好的方法了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants