Merge pull request #2532 from taosdata/feature/2.0tsdb

fix create vnode multiple times problem
This commit is contained in:
Shengliang Guan 2020-07-02 14:29:59 +08:00 committed by GitHub
commit 6b2d89104e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}