From aca3d913544676c1c89c0ec732d89aed9554ea1f Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Tue, 23 Aug 2022 09:36:38 +0800 Subject: [PATCH 1/5] fix: update telemetry and trans timer --- source/dnode/mnode/impl/src/mndMain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/dnode/mnode/impl/src/mndMain.c b/source/dnode/mnode/impl/src/mndMain.c index c3296ac5c1..ee73b5dad9 100644 --- a/source/dnode/mnode/impl/src/mndMain.c +++ b/source/dnode/mnode/impl/src/mndMain.c @@ -114,7 +114,7 @@ static void *mndThreadFp(void *param) { mndTtlTimer(pMnode); } - if (lastTime % (tsTransPullupInterval * 10) == 0) { + if (lastTime % (tsTransPullupInterval * 10) == 10) { mndPullupTrans(pMnode); } @@ -122,7 +122,7 @@ static void *mndThreadFp(void *param) { mndCalMqRebalance(pMnode); } - if (lastTime % (tsTelemInterval * 10) == 0) { + if (lastTime % (tsTelemInterval * 10) == 30) { mndPullupTelem(pMnode); } From 5257b77f94357515cc76fbde06154ebcfe90d01d Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Tue, 23 Aug 2022 10:42:44 +0800 Subject: [PATCH 2/5] fix: update telemetry and trans timer --- source/dnode/mnode/impl/src/mndMain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/dnode/mnode/impl/src/mndMain.c b/source/dnode/mnode/impl/src/mndMain.c index ee73b5dad9..b8ea6b2c28 100644 --- a/source/dnode/mnode/impl/src/mndMain.c +++ b/source/dnode/mnode/impl/src/mndMain.c @@ -114,7 +114,7 @@ static void *mndThreadFp(void *param) { mndTtlTimer(pMnode); } - if (lastTime % (tsTransPullupInterval * 10) == 10) { + if (lastTime % (tsTransPullupInterval * 10) == 1) { mndPullupTrans(pMnode); } @@ -122,7 +122,7 @@ static void *mndThreadFp(void *param) { mndCalMqRebalance(pMnode); } - if (lastTime % (tsTelemInterval * 10) == 30) { + if (lastTime % (tsTelemInterval * 10) == 1) { mndPullupTelem(pMnode); } From 9c5a66439ad4f41a8ec064242934504cec320b32 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Tue, 23 Aug 2022 12:40:57 +0800 Subject: [PATCH 3/5] fix: update telemetry and trans timer --- source/dnode/mnode/impl/src/mndMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dnode/mnode/impl/src/mndMain.c b/source/dnode/mnode/impl/src/mndMain.c index b8ea6b2c28..1693ef7d65 100644 --- a/source/dnode/mnode/impl/src/mndMain.c +++ b/source/dnode/mnode/impl/src/mndMain.c @@ -114,7 +114,7 @@ static void *mndThreadFp(void *param) { mndTtlTimer(pMnode); } - if (lastTime % (tsTransPullupInterval * 10) == 1) { + if (lastTime % (tsTransPullupInterval * 10) == 0) { mndPullupTrans(pMnode); } From 40b355239b66c4592ca9d1a8acc023fa9f7c3563 Mon Sep 17 00:00:00 2001 From: afwerar <1296468573@qq.com> Date: Tue, 23 Aug 2022 13:23:49 +0800 Subject: [PATCH 4/5] doc: update 3.0 mac doc --- README-CN.md | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README-CN.md b/README-CN.md index 6bfab379fe..e30e38ae78 100644 --- a/README-CN.md +++ b/README-CN.md @@ -210,14 +210,14 @@ cmake .. -G "NMake Makefiles" nmake ``` -### macOS 系统 + # 安装 diff --git a/README.md b/README.md index 7f03089abd..02dd9984e8 100644 --- a/README.md +++ b/README.md @@ -211,14 +211,14 @@ cmake .. -G "NMake Makefiles" nmake ``` -### On macOS platform + # Installing From 9ae8ee8b268001046d980dbb5b9984fee542c7d2 Mon Sep 17 00:00:00 2001 From: afwerar <1296468573@qq.com> Date: Tue, 23 Aug 2022 15:55:52 +0800 Subject: [PATCH 5/5] build: update 3.0.0.1 version number --- cmake/cmake.version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/cmake.version b/cmake/cmake.version index c8afc1a291..db29644b38 100644 --- a/cmake/cmake.version +++ b/cmake/cmake.version @@ -2,7 +2,7 @@ IF (DEFINED VERNUMBER) SET(TD_VER_NUMBER ${VERNUMBER}) ELSE () - SET(TD_VER_NUMBER "3.0.0.0") + SET(TD_VER_NUMBER "3.0.0.1") ENDIF () IF (DEFINED VERCOMPATIBLE)