提交 3a159de7 编写于 作者: C Cary Xu

refactor: assign the committed version

上级 7e3753d6
...@@ -267,6 +267,8 @@ int vnodeCommit(SVnode *pVnode) { ...@@ -267,6 +267,8 @@ int vnodeCommit(SVnode *pVnode) {
return -1; return -1;
} }
pVnode->state.committed = info.state.committed;
// apply the commit (TODO) // apply the commit (TODO)
vnodeBufPoolReset(pVnode->onCommit); vnodeBufPoolReset(pVnode->onCommit);
pVnode->onCommit->next = pVnode->pPool; pVnode->onCommit->next = pVnode->pPool;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册