// successfully remove from hash table, if failed, this node must have been move to trash already, do nothing.
// successfully remove from hash table, if failed, this node must have been move to trash already, do nothing.
// note that the remove operation can be executed only once.
// note that the remove operation can be executed only once.
if(ret==0){
if(ret==0){
if(p!=pNode){
uDebug("cache:%s, key:%p, successfully removed a new entry:%p, refcnt:%d, prev entry:%p has been removed by others already",pCacheObj->name,pNode->key,p->data,T_REF_VAL_GET(p),pNode->data);
assert(p->pTNodeHeader==NULL);
taosAddToTrash(pCacheObj,p);
}else{
uDebug("cache:%s, key:%p, %p successfully removed from hash table, refcnt:%d",pCacheObj->name,pNode->key,pNode->data,ref);