提交 5883bfe9 编写于 作者: L lihui

[TD-20 cluster syn crash when new powerd added]

上级 0e93e982
......@@ -405,6 +405,12 @@ void *mgmtVgroupActionDelete(void *row, char *str, int size, int *ssize) {
void *mgmtVgroupActionUpdate(void *row, char *str, int size, int *ssize) {
mgmtVgroupActionReset(row, str, size, ssize);
SVgObj *pVgroup = (SVgObj *)row;
if (pVgroup->idPool == NULL) {
mgmtVgroupActionInsert(row, str, size, ssize);
return NULL;
}
int oldTables = taosIdPoolMaxSize(pVgroup->idPool);
SDbObj *pDb = mgmtGetDb(pVgroup->dbName);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册