[TD-570] lost while create vgroup
This commit is contained in:
parent
07848127b7
commit
edfb1859a1
|
@ -1581,8 +1581,11 @@ static int32_t mnodeProcessCreateChildTableMsg(SMnodeMsg *pMsg) {
|
|||
return mnodeCreateVgroup(pMsg, pMsg->pDb);
|
||||
}
|
||||
|
||||
pMsg->pVgroup = pVgroup;
|
||||
mnodeIncVgroupRef(pVgroup);
|
||||
if (pMsg->pVgroup == NULL) {
|
||||
pMsg->pVgroup = pVgroup;
|
||||
mnodeIncVgroupRef(pVgroup);
|
||||
}
|
||||
|
||||
pMsg->pTable = (STableObj *)mnodeDoCreateChildTable(pMsg, sid);
|
||||
if (pMsg->pTable == NULL) {
|
||||
return terrno;
|
||||
|
|
Loading…
Reference in New Issue