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) { if (pVnode->onRecycle == pPool) {
pVnode->onRecycle = NULL; pVnode->onRecycle = NULL;
} else { } else {
ASSERT(proactive);
if (pPool->recyclePrev) { if (pPool->recyclePrev) {
pPool->recyclePrev->recycleNext = pPool->recycleNext; pPool->recyclePrev->recycleNext = pPool->recycleNext;
} else { } else {
@ -329,4 +327,4 @@ int32_t vnodeBufPoolRecycle(SVBufPool *pPool) {
_exit: _exit:
taosThreadMutexUnlock(&pPool->mutex); taosThreadMutexUnlock(&pPool->mutex);
return code; return code;
} }