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

raft 的实现中,如果节点下线,然后重新上线,在下线的这段时间错过的消息怎么同步的? #1

Open
mancelee opened this issue Dec 12, 2019 · 2 comments

Comments

@mancelee
Copy link

No description provided.

@mancelee mancelee changed the title raft 的实现中,如果节点下线,然后重新下线,在下线的这段时间错过的消息怎么同步的? raft 的实现中,如果节点下线,然后重新上线,在下线的这段时间错过的消息怎么同步的? Dec 12, 2019
@corgi-kx
Copy link
Owner

真实情况下,下线节点会根据Term(任期)来判断是否追随leader节点,并从leader节点请求这段时间丢失的数据

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

4 participants
@mancelee @corgi-kx and others