fix create vnode multiple times problem
This commit is contained in:
parent
7f29f0c6d6
commit
2f16c2359e
|
@ -284,7 +284,7 @@ void mnodeCheckUnCreatedVgroup(SDnodeObj *pDnode, SVnodeLoad *pVloads, int32_t o
|
||||||
pNextV++;
|
pNextV++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i == openVnodes && pVgroup->status != TAOS_VG_STATUS_READY) {
|
if (i == openVnodes && pVgroup->status == TAOS_VG_STATUS_READY) {
|
||||||
mnodeSendCreateVgroupMsg(pVgroup, NULL);
|
mnodeSendCreateVgroupMsg(pVgroup, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue