Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
ab7f6eb7
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
ab7f6eb7
编写于
5月 24, 2023
作者:
H
Hongze Cheng
浏览文件
操作
浏览文件
下载
差异文件
Merge branch '3.0' of
https://github.com/taosdata/TDengine
into enh/tsdb_optimize
上级
106f701e
ab715ffa
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
20 addition
and
13 deletion
+20
-13
cmake/cmake.version
cmake/cmake.version
+1
-1
docs/en/28-releases/01-tdengine.md
docs/en/28-releases/01-tdengine.md
+4
-0
docs/zh/28-releases/01-tdengine.md
docs/zh/28-releases/01-tdengine.md
+4
-0
docs/zh/28-releases/02-tools.md
docs/zh/28-releases/02-tools.md
+0
-4
packaging/tools/makepkg.sh
packaging/tools/makepkg.sh
+1
-1
source/dnode/vnode/src/tq/tq.c
source/dnode/vnode/src/tq/tq.c
+10
-7
未找到文件。
cmake/cmake.version
浏览文件 @
ab7f6eb7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
IF (DEFINED VERNUMBER)
IF (DEFINED VERNUMBER)
SET(TD_VER_NUMBER ${VERNUMBER})
SET(TD_VER_NUMBER ${VERNUMBER})
ELSE ()
ELSE ()
SET(TD_VER_NUMBER "3.0.4.
1
")
SET(TD_VER_NUMBER "3.0.4.
3
")
ENDIF ()
ENDIF ()
IF (DEFINED VERCOMPATIBLE)
IF (DEFINED VERCOMPATIBLE)
...
...
docs/en/28-releases/01-tdengine.md
浏览文件 @
ab7f6eb7
...
@@ -10,6 +10,10 @@ For TDengine 2.x installation packages by version, please visit [here](https://w
...
@@ -10,6 +10,10 @@ For TDengine 2.x installation packages by version, please visit [here](https://w
import Release from "/components/ReleaseV3";
import Release from "/components/ReleaseV3";
## 3.0.4.2
<Release
type=
"tdengine"
version=
"3.0.4.2"
/>
## 3.0.4.1
## 3.0.4.1
<Release
type=
"tdengine"
version=
"3.0.4.1"
/>
<Release
type=
"tdengine"
version=
"3.0.4.1"
/>
...
...
docs/zh/28-releases/01-tdengine.md
浏览文件 @
ab7f6eb7
...
@@ -10,6 +10,10 @@ TDengine 2.x 各版本安装包请访问[这里](https://www.taosdata.com/all-do
...
@@ -10,6 +10,10 @@ TDengine 2.x 各版本安装包请访问[这里](https://www.taosdata.com/all-do
import Release from "/components/ReleaseV3";
import Release from "/components/ReleaseV3";
## 3.0.4.2
<Release
type=
"tdengine"
version=
"3.0.4.2"
/>
## 3.0.4.1
## 3.0.4.1
<Release
type=
"tdengine"
version=
"3.0.4.1"
/>
<Release
type=
"tdengine"
version=
"3.0.4.1"
/>
...
...
docs/zh/28-releases/02-tools.md
浏览文件 @
ab7f6eb7
...
@@ -14,10 +14,6 @@ import Release from "/components/ReleaseV3";
...
@@ -14,10 +14,6 @@ import Release from "/components/ReleaseV3";
<Release
type=
"tools"
version=
"2.5.0"
/>
<Release
type=
"tools"
version=
"2.5.0"
/>
## 2.5.0
<Release
type=
"tools"
version=
"2.5.0"
/>
## 2.4.12
## 2.4.12
<Release
type=
"tools"
version=
"2.4.12"
/>
<Release
type=
"tools"
version=
"2.4.12"
/>
...
...
packaging/tools/makepkg.sh
浏览文件 @
ab7f6eb7
...
@@ -346,7 +346,7 @@ if [ "$verMode" == "cluster" ]; then
...
@@ -346,7 +346,7 @@ if [ "$verMode" == "cluster" ]; then
tmp_pwd
=
`
pwd
`
tmp_pwd
=
`
pwd
`
cd
${
install_dir
}
/connector
cd
${
install_dir
}
/connector
if
[
!
-d
taos-connector-jdbc
]
;
then
if
[
!
-d
taos-connector-jdbc
]
;
then
git clone
-b
3.
1.0
--depth
=
1 https://github.com/taosdata/taos-connector-jdbc.git
||
:
git clone
-b
3.
2.1
--depth
=
1 https://github.com/taosdata/taos-connector-jdbc.git
||
:
fi
fi
cd
taos-connector-jdbc
cd
taos-connector-jdbc
mvn clean package
-Dmaven
.test.skip
=
true
mvn clean package
-Dmaven
.test.skip
=
true
...
...
source/dnode/vnode/src/tq/tq.c
浏览文件 @
ab7f6eb7
...
@@ -1224,6 +1224,9 @@ int32_t tqProcessTaskRunReq(STQ* pTq, SRpcMsg* pMsg) {
...
@@ -1224,6 +1224,9 @@ int32_t tqProcessTaskRunReq(STQ* pTq, SRpcMsg* pMsg) {
pTask
->
id
.
idStr
,
pTask
->
chkInfo
.
version
);
pTask
->
id
.
idStr
,
pTask
->
chkInfo
.
version
);
streamProcessRunReq
(
pTask
);
streamProcessRunReq
(
pTask
);
}
else
{
}
else
{
if
(
streamTaskShouldPause
(
&
pTask
->
status
))
{
atomic_val_compare_exchange_8
(
&
pTask
->
status
.
schedStatus
,
TASK_SCHED_STATUS__WAITING
,
TASK_SCHED_STATUS__INACTIVE
);
}
tqDebug
(
"vgId:%d s-task:%s ignore run req since not in ready state"
,
vgId
,
pTask
->
id
.
idStr
);
tqDebug
(
"vgId:%d s-task:%s ignore run req since not in ready state"
,
vgId
,
pTask
->
id
.
idStr
);
}
}
...
@@ -1298,22 +1301,22 @@ int32_t tqProcessTaskResumeReq(STQ* pTq, int64_t sversion, char* msg, int32_t ms
...
@@ -1298,22 +1301,22 @@ int32_t tqProcessTaskResumeReq(STQ* pTq, int64_t sversion, char* msg, int32_t ms
atomic_store_8
(
&
pTask
->
status
.
taskStatus
,
pTask
->
status
.
keepTaskStatus
);
atomic_store_8
(
&
pTask
->
status
.
taskStatus
,
pTask
->
status
.
keepTaskStatus
);
// no lock needs to secure the access of the version
// no lock needs to secure the access of the version
if
(
pReq
->
igUntreated
)
{
// discard all the data when the stream task is suspended.
if
(
pReq
->
igUntreated
&&
pTask
->
taskLevel
==
TASK_LEVEL__SOURCE
)
{
// discard all the data when the stream task is suspended.
pTask
->
chkInfo
.
currentVer
=
sversion
;
pTask
->
chkInfo
.
currentVer
=
sversion
;
walReaderSeekVer
(
pTask
->
exec
.
pWalReader
,
sversion
);
walReaderSeekVer
(
pTask
->
exec
.
pWalReader
,
sversion
);
tqDebug
(
"vgId:%d s-task:%s resume to normal from the latest version:%"
PRId64
", vnode ver:%"
PRId64
,
pTq
->
pStreamMeta
->
vgId
,
tqDebug
(
"vgId:%d s-task:%s resume to normal from the latest version:%"
PRId64
", vnode ver:%"
PRId64
", schedStatus:%d"
,
pTq
->
pStreamMeta
->
vgId
,
pTask
->
id
.
idStr
,
pTask
->
chkInfo
.
currentVer
,
sversion
);
pTask
->
id
.
idStr
,
pTask
->
chkInfo
.
currentVer
,
sversion
,
pTask
->
status
.
schedStatus
);
}
else
{
// from the previous paused version and go on
}
else
{
// from the previous paused version and go on
tqDebug
(
"vgId:%d s-task:%s resume to normal from paused ver:%"
PRId64
", vnode ver:%"
PRId64
,
pTq
->
pStreamMeta
->
vgId
,
tqDebug
(
"vgId:%d s-task:%s resume to normal from paused ver:%"
PRId64
", vnode ver:%"
PRId64
", schedStatus:%d"
,
pTq
->
pStreamMeta
->
vgId
,
pTask
->
id
.
idStr
,
pTask
->
chkInfo
.
currentVer
,
sversion
);
pTask
->
id
.
idStr
,
pTask
->
chkInfo
.
currentVer
,
sversion
,
pTask
->
status
.
schedStatus
);
}
}
streamMetaReleaseTask
(
pTq
->
pStreamMeta
,
pTask
);
if
(
pTask
->
taskLevel
==
TASK_LEVEL__SOURCE
&&
taosQueueItemSize
(
pTask
->
inputQueue
->
queue
)
==
0
)
{
if
(
pTask
->
taskLevel
==
TASK_LEVEL__SOURCE
)
{
tqStartStreamTasks
(
pTq
);
tqStartStreamTasks
(
pTq
);
}
else
{
}
else
{
streamSchedExec
(
pTask
);
streamSchedExec
(
pTask
);
}
}
streamMetaReleaseTask
(
pTq
->
pStreamMeta
,
pTask
);
}
}
return
0
;
return
0
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录