From 63bfb3a21abc0eddd7878553cb03f2f1d4928a48 Mon Sep 17 00:00:00 2001 From: lihui Date: Fri, 3 Jan 2020 12:18:46 +0800 Subject: [PATCH 1/2] [#issue-1057 TBASE-1433] --- src/system/detail/src/mgmtDnodeInt.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/system/detail/src/mgmtDnodeInt.c b/src/system/detail/src/mgmtDnodeInt.c index 6b6571b06c..9da46b0190 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; } From 7629406d326f51fd4844b1f06dd506dc30356b32 Mon Sep 17 00:00:00 2001 From: lihui Date: Fri, 3 Jan 2020 13:06:38 +0800 Subject: [PATCH 2/2] [modify cmake parameter] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fddd7d3132..010a807f7a 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