refactor: assign the committed version
This commit is contained in:
parent
7e3753d6ac
commit
3a159de7e2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue