Merge pull request #2532 from taosdata/feature/2.0tsdb
fix create vnode multiple times problem
This commit is contained in:
commit
6b2d89104e
|
@ -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