Merge pull request #1058 from taosdata/feature/lihui

[#issue-1057 TBASE-1433]
This commit is contained in:
fangpanpan 2020-01-03 13:23:13 +08:00 committed by GitHub
commit ef44bf60e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -45,10 +45,10 @@ mkdir build && cd build
cmake .. && cmake --build .
```
if compiling on an arm64 processor, you need add one parameter:
if compiling on an aarch64 processor, you need add one parameter:
```cmd
cmake .. -DARMVER=arm64 && cmake --build .
cmake .. -DCPUTYPE=aarch64 && cmake --build .
```
# Quick Run

View File

@ -488,6 +488,7 @@ int mgmtSendCfgDnodeMsg(char *cont) {
return code;
}
#ifdef CLUSTER
pStart = taosBuildReqMsg(pDnode->thandle, TSDB_MSG_TYPE_CFG_PNODE);
if (pStart == NULL) return TSDB_CODE_NODE_OFFLINE;
pMsg = pStart;
@ -497,6 +498,8 @@ int mgmtSendCfgDnodeMsg(char *cont) {
msgLen = pMsg - pStart;
taosSendMsgToDnode(pDnode, pStart, msgLen);
#else
(void)tsCfgDynamicOptions(pCfg->config);
#endif
return 0;
}