diff --git a/src/util/src/tcache.c b/src/util/src/tcache.c index e6213c45a41f104e6d948c2b46e281e9909ea2b8..c042c0181f4cf0ed2525e4d57eacb9e68d328615 100644 --- a/src/util/src/tcache.c +++ b/src/util/src/tcache.c @@ -249,11 +249,6 @@ static void taosClearCacheTrash(SCacheObj *pObj, bool force) { SDataNode *pNode = pObj->pTrash; while (pNode) { - if (pNode->refCount < 0) { - pError("key:%s %p in trash released more than referenced, removed", pNode->key, pNode); - pNode->refCount = 0; - } - if (pNode->next == pNode) { pNode->next = NULL; }