[#issue-1057 TBASE-1433]
This commit is contained in:
parent
1fecbbfab9
commit
63bfb3a21a
|
@ -488,6 +488,7 @@ int mgmtSendCfgDnodeMsg(char *cont) {
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CLUSTER
|
||||||
pStart = taosBuildReqMsg(pDnode->thandle, TSDB_MSG_TYPE_CFG_PNODE);
|
pStart = taosBuildReqMsg(pDnode->thandle, TSDB_MSG_TYPE_CFG_PNODE);
|
||||||
if (pStart == NULL) return TSDB_CODE_NODE_OFFLINE;
|
if (pStart == NULL) return TSDB_CODE_NODE_OFFLINE;
|
||||||
pMsg = pStart;
|
pMsg = pStart;
|
||||||
|
@ -497,6 +498,8 @@ int mgmtSendCfgDnodeMsg(char *cont) {
|
||||||
|
|
||||||
msgLen = pMsg - pStart;
|
msgLen = pMsg - pStart;
|
||||||
taosSendMsgToDnode(pDnode, pStart, msgLen);
|
taosSendMsgToDnode(pDnode, pStart, msgLen);
|
||||||
|
#else
|
||||||
|
(void)tsCfgDynamicOptions(pCfg->config);
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue