update iter version when it change

This commit is contained in:
Hongze Cheng 2021-01-18 15:21:13 +08:00
parent 0bac4edac8
commit a52ca80ab0
1 changed files with 1 additions and 0 deletions

View File

@ -517,6 +517,7 @@ SDFileSet *tsdbFSIterNext(SFSIter *pIter) {
ASSERT(pIter->fid != TSDB_IVLD_FID);
if (pIter->version != pfs->cstatus->meta.version) {
pIter->version = pfs->cstatus->meta.version;
tsdbFSIterSeek(pIter, pIter->fid);
}