diff --git a/src/tsdb/src/tsdbFS.c b/src/tsdb/src/tsdbFS.c index 553379dcc5..a758aebfaa 100644 --- a/src/tsdb/src/tsdbFS.c +++ b/src/tsdb/src/tsdbFS.c @@ -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); } diff --git a/src/tsdb/src/tsdbFile.c b/src/tsdb/src/tsdbFile.c index 9da9e7a2ab..6a424b0b7c 100644 --- a/src/tsdb/src/tsdbFile.c +++ b/src/tsdb/src/tsdbFile.c @@ -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; }