-
Notifications
You must be signed in to change notification settings - Fork 131
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
m_nextIndex与m_matchIndex变量值相关疑问 #61
Comments
Message that will be displayed on users' first issue |
@qq507770437 KVstorageBaseRaft-cpp/src/raftCore/raft.cpp Lines 401 to 403 in 412718d
对于
|
谢谢大佬 |
一起探讨,一起加油,有用的话欢迎点个star,也可以持续关注我的分享~~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// 这两个状态所有结点都在维护,易失
int m_commitIndex;
int m_lastApplied; // 已经汇报给状态机(上层应用)的log 的index
(在raft主要算法的初始化中)
大佬能帮我解释一下这四个变量吗,尤其初始下标为什么分别从0,1开始
The text was updated successfully, but these errors were encountered: