bp/proactive: remove incorrect proactive assert

This commit is contained in:
Minglei Jin 2023-01-12 10:54:58 +08:00
parent 086253b413
commit beb637554c
1 changed files with 1 additions and 3 deletions

View File

@ -252,8 +252,6 @@ void vnodeBufPoolUnRef(SVBufPool *pPool, bool proactive) {
if (pVnode->onRecycle == pPool) {
pVnode->onRecycle = NULL;
} else {
ASSERT(proactive);
if (pPool->recyclePrev) {
pPool->recyclePrev->recycleNext = pPool->recycleNext;
} else {
@ -329,4 +327,4 @@ int32_t vnodeBufPoolRecycle(SVBufPool *pPool) {
_exit:
taosThreadMutexUnlock(&pPool->mutex);
return code;
}
}