fix sem wait

This commit is contained in:
Hongze Cheng 2022-12-09 17:14:00 +08:00
parent 66fba7ec60
commit 8bc39b7c90
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ _exit:
vInfo("vgId:%d, vnode snapshot writer closed, rollback:%d", TD_VID(pVnode), rollback);
taosMemoryFree(pWriter);
}
tsem_wait(&pVnode->canCommit);
tsem_post(&pVnode->canCommit);
return code;
}