refactor: assign the committed version

This commit is contained in:
Cary Xu 2022-06-30 15:28:03 +08:00
parent 7e3753d6ac
commit 3a159de7e2
1 changed files with 2 additions and 0 deletions

View File

@ -267,6 +267,8 @@ int vnodeCommit(SVnode *pVnode) {
return -1;
}
pVnode->state.committed = info.state.committed;
// apply the commit (TODO)
vnodeBufPoolReset(pVnode->onCommit);
pVnode->onCommit->next = pVnode->pPool;