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 支持滚动升级 #103

Open
hlwanghl opened this issue Oct 22, 2020 · 2 comments
Open

redis cluster 支持滚动升级 #103

hlwanghl opened this issue Oct 22, 2020 · 2 comments

Comments

@hlwanghl
Copy link
Contributor

  1. 先升级从节点,再升级主节点(主从节点属于两种角色,需要框架支持)
  2. 如果操作系统不太老,可以考虑原地升级
  3. 为了防止数据丢失,可以考虑升级过程禁止自动切换主从(看能否实现)
@MrYourM
Copy link
Contributor

MrYourM commented Oct 22, 2020

框架需要先处理掉 1 的问题

@MrYourM
Copy link
Contributor

MrYourM commented Oct 22, 2020

同版本 redis 可以先滚动升级所有从节点 --> 滚动切换主从关系 --> 再滚动升级主节点

不同版本的 redis 升级可能涉及到 redis 间的版本冲突,需要测试

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