fix: notify when there are no memory pre fileset
This commit is contained in:
parent
4d755562af
commit
82629c2658
|
@ -2514,6 +2514,15 @@ static void prepareDurationForNextFileSet(STsdbReader* pReader) {
|
|||
if (pReader->status.bProcMemPreFileset) {
|
||||
resetTableListIndex(&pReader->status);
|
||||
}
|
||||
|
||||
if (!pReader->status.bProcMemFirstFileset) {
|
||||
if (pReader->notifyFn) {
|
||||
STsdReaderNotifyInfo info = {0};
|
||||
info.duration.fileSetId = fid;
|
||||
pReader->notifyFn(TSD_READER_NOTIFY_DURATION_START, &info, pReader->notifyParam);
|
||||
}
|
||||
}
|
||||
|
||||
pReader->status.prevFilesetStartKey = winFid.skey;
|
||||
pReader->status.prevFilesetEndKey = winFid.ekey;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue