diff --git a/README.md b/README.md index fddd7d31322911947815ba8589374666b88e5d69..010a807f7a421b24d6f3c7833fafc62cd122d336 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/system/detail/src/mgmtDnodeInt.c b/src/system/detail/src/mgmtDnodeInt.c index 6b6571b06c713bd9b6c41dab690652cf1c6fd639..9da46b019039e360a92972cff2a57830a69a7246 100644 --- a/src/system/detail/src/mgmtDnodeInt.c +++ b/src/system/detail/src/mgmtDnodeInt.c @@ -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; }