add one line

This commit is contained in:
Hongze Cheng 2022-01-10 08:53:57 +00:00
parent 6835b68987
commit 109a891b39
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ int vnodeAsyncCommit(SVnode *pVnode) {
int vnodeSyncCommit(SVnode *pVnode) {
vnodeAsyncCommit(pVnode);
vnodeWaitCommit(pVnode);
tsem_post(&(pVnode->canCommit));
return 0;
}