other: revert the assert for tpagebuf

This commit is contained in:
Cary Xu 2022-08-29 17:54:20 +08:00
parent c8d6960291
commit 894e713719
1 changed files with 0 additions and 1 deletions

View File

@ -465,7 +465,6 @@ void* getBufPage(SDiskbasedBuf* pBuf, int32_t id) {
// set the ptr to the new SPageInfo
((void**)((*pi)->pData))[0] = (*pi);
assert(listNEles(pBuf->lruList) < pBuf->inMemPages && pBuf->inMemPages > 0);
lruListPushFront(pBuf->lruList, *pi);
(*pi)->used = true;