async commit

This commit is contained in:
Hongze Cheng 2022-12-04 11:15:15 +08:00
parent f9bd8b3a51
commit 0dce1e1047
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ int32_t vnodeProcessWriteMsg(SVnode *pVnode, SRpcMsg *pMsg, int64_t version, SRp
// commit if need
if (vnodeShouldCommit(pVnode)) {
vInfo("vgId:%d, commit at version %" PRId64, TD_VID(pVnode), version);
#if 1
#if 0
vnodeSyncCommit(pVnode);
#else
vnodeAsyncCommit(pVnode);