fix #742
This commit is contained in:
parent
d731fc0dbf
commit
78158e32a5
|
@ -172,6 +172,7 @@ int vnodeFreeCacheBlock(SCacheBlock *pCacheBlock) {
|
||||||
SCachePool *pPool = (SCachePool *)vnodeList[pObj->vnode].pCachePool;
|
SCachePool *pPool = (SCachePool *)vnodeList[pObj->vnode].pCachePool;
|
||||||
if (pCacheBlock->notFree) {
|
if (pCacheBlock->notFree) {
|
||||||
pPool->notFreeSlots--;
|
pPool->notFreeSlots--;
|
||||||
|
pPool->unCommittedBlocks--;
|
||||||
dTrace("vid:%d sid:%d id:%s, cache block is not free, slot:%d, index:%d notFreeSlots:%d",
|
dTrace("vid:%d sid:%d id:%s, cache block is not free, slot:%d, index:%d notFreeSlots:%d",
|
||||||
pObj->vnode, pObj->sid, pObj->meterId, pCacheBlock->slot, pCacheBlock->index, pPool->notFreeSlots);
|
pObj->vnode, pObj->sid, pObj->meterId, pCacheBlock->slot, pCacheBlock->index, pPool->notFreeSlots);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue