未验证 提交 5e94568d 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #5472 from taosdata/fix/TD-3337

[TD-3337]<fix>: [balance] fix pVgroup->pDb NULL pointer crash
......@@ -425,7 +425,7 @@ static bool bnMonitorVgroups() {
while (1) {
pIter = mnodeGetNextVgroup(pIter, &pVgroup);
if (pVgroup == NULL) break;
if (pVgroup == NULL || pVgroup->pDb == NULL) break;
int32_t dbReplica = pVgroup->pDb->cfg.replications;
int32_t vgReplica = pVgroup->numOfVnodes;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册