fix:read the deleted data

This commit is contained in:
54liuyao 2022-12-07 13:46:41 +08:00
parent 6bc2be0806
commit 6c9d6e2aa8
1 changed files with 1 additions and 1 deletions

View File

@ -3129,7 +3129,7 @@ bool hasBeenDropped(const SArray* pDelList, int32_t* index, TSDBKEY* pKey, int32
return false;
} else if (pKey->ts == last->ts) {
TSDBKEY* prev = taosArrayGet(pDelList, num - 2);
return (prev->version >= pKey->version);
return (prev->version >= pKey->version && prev->version <= pVerRange->maxVer && prev->version >= pVerRange->minVer);
}
} else {
TSDBKEY* pCurrent = taosArrayGet(pDelList, *index);