From beb637554ca51c1f868f0563251af2d590c3520b Mon Sep 17 00:00:00 2001 From: Minglei Jin Date: Thu, 12 Jan 2023 10:54:58 +0800 Subject: [PATCH] bp/proactive: remove incorrect proactive assert --- source/dnode/vnode/src/vnd/vnodeBufPool.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/dnode/vnode/src/vnd/vnodeBufPool.c b/source/dnode/vnode/src/vnd/vnodeBufPool.c index 80a422ca3b..b1575fb496 100644 --- a/source/dnode/vnode/src/vnd/vnodeBufPool.c +++ b/source/dnode/vnode/src/vnd/vnodeBufPool.c @@ -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; -} \ No newline at end of file +} -- GitLab