-
Notifications
You must be signed in to change notification settings - Fork 886
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
_append_entries_in_fly的一些困惑 #467
Comments
什么情况下,在 send_empty_entries(hearbeat = false) 返回前,会发起 send_entries?
11 是指 log_index 吗?例子中是指的哪儿? |
|
你可以看下 braft 代码, 还有一点没看懂:
如果是发送 11 的日志为什么 next_index_ 是 10? |
我的理解是这里的log_index代表的是每个request的first index。
那么,在on_rpc_returned
这段代码中,小于等于当前request.first_index的所有flying request都会被清理掉。
我的疑惑是在下面的场景中会不会出现问题:
请教下我哪里理解的有问题还是braft存在bug
The text was updated successfully, but these errors were encountered: