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

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