fix create vnode multiple times problem

This commit is contained in:
Hongze Cheng 2020-07-02 13:36:49 +08:00
parent 7f29f0c6d6
commit 2f16c2359e
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ void mnodeCheckUnCreatedVgroup(SDnodeObj *pDnode, SVnodeLoad *pVloads, int32_t o
pNextV++;
}
if (i == openVnodes && pVgroup->status != TAOS_VG_STATUS_READY) {
if (i == openVnodes && pVgroup->status == TAOS_VG_STATUS_READY) {
mnodeSendCreateVgroupMsg(pVgroup, NULL);
}