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

topic在集群里的迁移时间 #161

Open
freedba opened this issue Sep 23, 2021 · 2 comments
Open

topic在集群里的迁移时间 #161

freedba opened this issue Sep 23, 2021 · 2 comments

Comments

@freedba
Copy link

freedba commented Sep 23, 2021

请问下topicA在集群里的一个nsqd节点A上,如果A挂了,如何能快速迁移到新节点上?
我这边测试下来需要3分钟,才能在另外的节点上看到topicA。

谢谢!

@absolute8511
Copy link
Collaborator

这个要看数据量大小, 如果有多个分区的话, 少一个分区理论上写入影响也不大. 如果要增加可用性的话, 可以用3副本, 这样可以更快的恢复写入能力

@freedba
Copy link
Author

freedba commented Oct 8, 2021

谢谢解答,当时测试的数据量确实比较大。数据量不大,迁移还是挺快的。

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