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

一个节点磁盘坏了,正确的处理流程是? #416

Open
lygn128 opened this issue Aug 3, 2023 · 3 comments
Open

一个节点磁盘坏了,正确的处理流程是? #416

lygn128 opened this issue Aug 3, 2023 · 3 comments

Comments

@lygn128
Copy link

lygn128 commented Aug 3, 2023

如果一个节点磁盘挂掉了,正确的处理流程是 先删除这个节点,再添加这个节点吗?
直接换掉测盘,重启新节点,不会进行数据同步;
谢谢

@PFZheng
Copy link
Collaborator

PFZheng commented Aug 4, 2023

“直接换掉测盘,重启新节点,不会进行数据同步;” Node拉起来应该会自己处理吧

@lygn128
Copy link
Author

lygn128 commented Aug 4, 2023

“直接换掉测盘,重启新节点,不会进行数据同步;” Node拉起来应该会自己处理吧

试了几下, 应该是不行的, raft 层不知道 状态机的状态,必须删除添加一次才行,还是不那么完善

@lygn128
Copy link
Author

lygn128 commented Aug 27, 2023

“直接换掉测盘,重启新节点,不会进行数据同步;” Node拉起来应该会自己处理吧

如果没有新的写入,一直不会安装 快照,有个新的写入之后会安装快照

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