fix(stream): read preversion data with delete many times

This commit is contained in:
54liuyao 2022-10-27 14:18:48 +08:00
parent 442f89783f
commit 012dd30baa
1 changed files with 2 additions and 1 deletions

View File

@ -2907,7 +2907,8 @@ bool hasBeenDropped(const SArray* pDelList, int32_t* index, TSDBKEY* pKey, int32
continue; continue;
} }
if (pCurrent->ts <= pKey->ts && pNext->ts >= pKey->ts && pCurrent->version >= pKey->version) { if (pCurrent->ts <= pKey->ts && pNext->ts >= pKey->ts && pCurrent->version >= pKey->version &&
pVerRange->maxVer >= pCurrent->version) {
return true; return true;
} }
} }