Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
e4de1574
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看板
提交
e4de1574
编写于
8月 06, 2021
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
差异文件
merge from 2.0
上级
419b7452
c6474ce1
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
35 addition
and
13 deletion
+35
-13
.drone.yml
.drone.yml
+8
-0
Jenkinsfile
Jenkinsfile
+15
-3
packaging/docker/dockerManifest.sh
packaging/docker/dockerManifest.sh
+3
-1
snap/snapcraft.yaml
snap/snapcraft.yaml
+2
-2
src/kit/taosdemo/taosdemo.c
src/kit/taosdemo/taosdemo.c
+7
-7
未找到文件。
.drone.yml
浏览文件 @
e4de1574
...
...
@@ -23,6 +23,7 @@ steps:
branch
:
-
develop
-
master
-
2.0
---
kind
:
pipeline
name
:
test_arm64
...
...
@@ -48,6 +49,7 @@ steps:
branch
:
-
develop
-
master
-
2.0
---
kind
:
pipeline
name
:
test_arm
...
...
@@ -73,6 +75,7 @@ steps:
branch
:
-
develop
-
master
-
2.0
---
kind
:
pipeline
...
...
@@ -100,6 +103,7 @@ steps:
branch
:
-
develop
-
master
-
2.0
---
kind
:
pipeline
name
:
build_xenial
...
...
@@ -125,6 +129,7 @@ steps:
branch
:
-
develop
-
master
-
2.0
---
kind
:
pipeline
...
...
@@ -150,6 +155,7 @@ steps:
branch
:
-
develop
-
master
-
2.0
---
kind
:
pipeline
name
:
build_centos7
...
...
@@ -173,6 +179,7 @@ steps:
branch
:
-
develop
-
master
-
2.0
---
kind
:
pipeline
...
...
@@ -191,6 +198,7 @@ steps:
branch
:
-
develop
-
master
-
2.0
depends_on
:
...
...
Jenkinsfile
浏览文件 @
e4de1574
...
...
@@ -52,12 +52,18 @@ def pre_test(){
git checkout master
'''
}
else
{
else
if
(
env
.
CHANGE_TARGET
==
'2.0'
)
{
sh
'''
cd ${WKC}
git checkout
develop
git checkout
2.0
'''
}
else
{
sh
'''
cd ${WKC}
git checkout develop
'''
}
}
sh
'''
cd ${WKC}
...
...
@@ -75,7 +81,13 @@ def pre_test(){
git checkout master
'''
}
else
{
else
if
(
env
.
CHANGE_TARGET
==
'2.0'
){
sh
'''
cd ${WK}
git checkout 2.0
'''
}
else
{
sh
'''
cd ${WK}
git checkout develop
...
...
packaging/docker/dockerManifest.sh
浏览文件 @
e4de1574
...
...
@@ -44,7 +44,8 @@ echo "version=${version}"
#docker manifest rm tdengine/tdengine
#docker manifest rm tdengine/tdengine:${version}
if
[
"
$verType
"
==
"beta"
]
;
then
docker manifest
rm
tdengine/tdengine:latest
docker manifest inspect tdengine/tdengine-beta:latest
docker manifest
rm
tdengine/tdengine-beta:latest
docker manifest create
-a
tdengine/tdengine-beta:
${
version
}
tdengine/tdengine-amd64-beta:
${
version
}
tdengine/tdengine-aarch64-beta:
${
version
}
tdengine/tdengine-aarch32-beta:
${
version
}
docker manifest create
-a
tdengine/tdengine-beta:latest tdengine/tdengine-amd64-beta:latest tdengine/tdengine-aarch64-beta:latest tdengine/tdengine-aarch32-beta:latest
docker login
-u
tdengine
-p
${
passWord
}
#replace the docker registry username and password
...
...
@@ -52,6 +53,7 @@ if [ "$verType" == "beta" ]; then
docker manifest push tdengine/tdengine-beta:
${
version
}
elif
[
"
$verType
"
==
"stable"
]
;
then
docker manifest inspect tdengine/tdengine:latest
docker manifest
rm
tdengine/tdengine:latest
docker manifest create
-a
tdengine/tdengine:
${
version
}
tdengine/tdengine-amd64:
${
version
}
tdengine/tdengine-aarch64:
${
version
}
tdengine/tdengine-aarch32:
${
version
}
docker manifest create
-a
tdengine/tdengine:latest tdengine/tdengine-amd64:latest tdengine/tdengine-aarch64:latest tdengine/tdengine-aarch32:latest
...
...
snap/snapcraft.yaml
浏览文件 @
e4de1574
name
:
tdengine
base
:
core18
version
:
'
2.1.
5
.0'
version
:
'
2.1.
6
.0'
icon
:
snap/gui/t-dengine.svg
summary
:
an open-source big data platform designed and optimized for IoT.
description
:
|
...
...
@@ -72,7 +72,7 @@ parts:
-
usr/bin/taosd
-
usr/bin/taos
-
usr/bin/taosdemo
-
usr/lib/libtaos.so.2.1.
5
.0
-
usr/lib/libtaos.so.2.1.
6
.0
-
usr/lib/libtaos.so.1
-
usr/lib/libtaos.so
...
...
src/kit/taosdemo/taosdemo.c
浏览文件 @
e4de1574
...
...
@@ -6319,7 +6319,7 @@ static void printStatPerThread(threadInfo *pThreadInfo)
pThreadInfo
->
totalInsertRows
,
pThreadInfo
->
totalAffectedRows
,
(
pThreadInfo
->
totalDelay
)
?
(
double
)(
pThreadInfo
->
totalAffectedRows
/
(
pThreadInfo
->
totalDelay
/
1000000
.
0
))
:
(
double
)(
pThreadInfo
->
totalAffectedRows
/
(
(
double
)
pThreadInfo
->
totalDelay
/
1000000
.
0
))
:
FLT_MAX
);
}
...
...
@@ -6539,7 +6539,7 @@ static void* syncWriteInterlace(threadInfo *pThreadInfo) {
verbosePrint
(
"[%d] %s() LN%d, buffer=%s
\n
"
,
pThreadInfo
->
threadID
,
__func__
,
__LINE__
,
pThreadInfo
->
buffer
);
startTs
=
taosGetTimestamp
M
s
();
startTs
=
taosGetTimestamp
U
s
();
if
(
recOfBatch
==
0
)
{
errorPrint
(
"[%d] %s() LN%d Failed to insert records of batch %d
\n
"
,
...
...
@@ -6555,10 +6555,10 @@ static void* syncWriteInterlace(threadInfo *pThreadInfo) {
}
int64_t
affectedRows
=
execInsert
(
pThreadInfo
,
recOfBatch
);
endTs
=
taosGetTimestamp
M
s
();
endTs
=
taosGetTimestamp
U
s
();
uint64_t
delay
=
endTs
-
startTs
;
performancePrint
(
"%s() LN%d, insert execution time is %
"
PRIu64
"
ms
\n
"
,
__func__
,
__LINE__
,
delay
);
performancePrint
(
"%s() LN%d, insert execution time is %
10.2f
ms
\n
"
,
__func__
,
__LINE__
,
delay
/
1000
.
0
);
verbosePrint
(
"[%d] %s() LN%d affectedRows=%"
PRId64
"
\n
"
,
pThreadInfo
->
threadID
,
__func__
,
__LINE__
,
affectedRows
);
...
...
@@ -6721,8 +6721,8 @@ static void* syncWriteProgressive(threadInfo *pThreadInfo) {
endTs
=
taosGetTimestampUs
();
uint64_t
delay
=
endTs
-
startTs
;
performancePrint
(
"%s() LN%d, insert execution time is %
"
PRId64
"
ms
\n
"
,
__func__
,
__LINE__
,
delay
);
performancePrint
(
"%s() LN%d, insert execution time is %
10.f
ms
\n
"
,
__func__
,
__LINE__
,
delay
/
1000
.
0
);
verbosePrint
(
"[%d] %s() LN%d affectedRows=%d
\n
"
,
pThreadInfo
->
threadID
,
__func__
,
__LINE__
,
affectedRows
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录