提交 55e68f2f 编写于 作者: L lihui

[TD-161]

上级 a478499c
......@@ -265,7 +265,7 @@ void vnodeRelease(void *pVnodeRaw) {
int32_t vgId = pVnode->vgId;
int32_t refCount = atomic_sub_fetch_32(&pVnode->refCount, 1);
if (ref < 0) {
if (refCount < 0) {
vTrace("vgId:%d, other thread is releasing vnode, refCount:%d", vgId, refCount);
return; // avoid two threads dec ref count
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册