fix test_old_data.sim bug

This commit is contained in:
Hongze Cheng 2021-01-26 10:49:01 +08:00
parent 68d4a494f0
commit 23b69f62d3
2 changed files with 2 additions and 1 deletions

View File

@ -1133,6 +1133,7 @@ static int tsdbRestoreDFileSet(STsdbRepo *pRepo) {
index++;
}
tsdbInfo("vgId:%d FSET %d is restored", REPO_ID(pRepo), fset.fid);
taosArrayPush(pfs->cstatus->df, &fset);
}

View File

@ -408,7 +408,7 @@ int tsdbLoadDFileHeader(SDFile *pDFile, SDFInfo *pInfo) {
void *pBuf = buf;
pBuf = taosDecodeFixedU32(pBuf, &version);
pBuf = tsdbDecodeDFInfo(buf, pInfo);
pBuf = tsdbDecodeDFInfo(pBuf, pInfo);
return 0;
}