other: code optimization

This commit is contained in:
Cary Xu 2022-08-30 11:50:50 +08:00
parent 3b3abbc293
commit e257bd3986
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ static int32_t tdProcessRSmaAsyncPreCommitImpl(SSma *pSma) {
ASSERT(pRSmaStat->commitAppliedVer > 0);
// step 2: wait for all triggered fetch tasks to finish
nLoops = 0;
while (1) {
if (T_REF_VAL_GET(pStat) == 0) {
smaDebug("vgId:%d, rsma commit, fetch tasks are all finished", SMA_VID(pSma));