提交 edfb1859 编写于 作者: S Shengliang Guan

[TD-570] lost while create vgroup

上级 07848127
...@@ -1581,8 +1581,11 @@ static int32_t mnodeProcessCreateChildTableMsg(SMnodeMsg *pMsg) { ...@@ -1581,8 +1581,11 @@ static int32_t mnodeProcessCreateChildTableMsg(SMnodeMsg *pMsg) {
return mnodeCreateVgroup(pMsg, pMsg->pDb); return mnodeCreateVgroup(pMsg, pMsg->pDb);
} }
pMsg->pVgroup = pVgroup; if (pMsg->pVgroup == NULL) {
mnodeIncVgroupRef(pVgroup); pMsg->pVgroup = pVgroup;
mnodeIncVgroupRef(pVgroup);
}
pMsg->pTable = (STableObj *)mnodeDoCreateChildTable(pMsg, sid); pMsg->pTable = (STableObj *)mnodeDoCreateChildTable(pMsg, sid);
if (pMsg->pTable == NULL) { if (pMsg->pTable == NULL) {
return terrno; return terrno;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册