bp/proactive: remove incorrect proactive assert
This commit is contained in:
parent
086253b413
commit
beb637554c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue