Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
eb30aa35
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
eb30aa35
编写于
5月 08, 2020
作者:
S
slguan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
scripts
上级
ab25f882
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
47 addition
and
28 deletion
+47
-28
src/dnode/src/dnodePeer.c
src/dnode/src/dnodePeer.c
+1
-1
src/vnode/inc/vnodeLog.h
src/vnode/inc/vnodeLog.h
+6
-6
tests/script/general/insert/basic.sim
tests/script/general/insert/basic.sim
+8
-7
tests/script/general/insert/insert_drop.sim
tests/script/general/insert/insert_drop.sim
+2
-0
tests/script/general/insert/query_block1_file.sim
tests/script/general/insert/query_block1_file.sim
+2
-0
tests/script/general/insert/query_block1_memory.sim
tests/script/general/insert/query_block1_memory.sim
+1
-0
tests/script/general/insert/query_block2_file.sim
tests/script/general/insert/query_block2_file.sim
+1
-0
tests/script/general/insert/query_block2_memory.sim
tests/script/general/insert/query_block2_memory.sim
+2
-0
tests/script/general/insert/query_file_memory.sim
tests/script/general/insert/query_file_memory.sim
+1
-1
tests/script/general/insert/query_multi_file.sim
tests/script/general/insert/query_multi_file.sim
+1
-0
tests/script/general/insert/tcp.sim
tests/script/general/insert/tcp.sim
+2
-5
tests/script/general/insert/testSuite.sim
tests/script/general/insert/testSuite.sim
+8
-7
tests/script/jenkins/basic.txt
tests/script/jenkins/basic.txt
+12
-1
未找到文件。
src/dnode/src/dnodePeer.c
浏览文件 @
eb30aa35
...
...
@@ -133,7 +133,7 @@ int32_t dnodeInitClient() {
return
-
1
;
}
dPrint
(
"inter-dn
do
es rpc client is opened"
);
dPrint
(
"inter-dn
od
es rpc client is opened"
);
return
0
;
}
...
...
src/vnode/inc/vnodeLog.h
浏览文件 @
eb30aa35
...
...
@@ -22,19 +22,19 @@ extern "C" {
#include "tlog.h"
extern
int32_t
d
d
ebugFlag
;
extern
int32_t
d
D
ebugFlag
;
#define dError(...) \
if (d
d
ebugFlag & DEBUG_ERROR) { \
if (d
D
ebugFlag & DEBUG_ERROR) { \
taosPrintLog("ERROR DND ", 255, __VA_ARGS__); \
}
#define dWarn(...) \
if (d
d
ebugFlag & DEBUG_WARN) { \
taosPrintLog("WARN DND ", d
d
ebugFlag, __VA_ARGS__); \
if (d
D
ebugFlag & DEBUG_WARN) { \
taosPrintLog("WARN DND ", d
D
ebugFlag, __VA_ARGS__); \
}
#define dTrace(...) \
if (d
d
ebugFlag & DEBUG_TRACE) { \
taosPrintLog("DND ", d
d
ebugFlag, __VA_ARGS__); \
if (d
D
ebugFlag & DEBUG_TRACE) { \
taosPrintLog("DND ", d
D
ebugFlag, __VA_ARGS__); \
}
#define dPrint(...) \
{ taosPrintLog("DND ", 255, __VA_ARGS__); }
...
...
tests/script/general/insert/basic.sim
浏览文件 @
eb30aa35
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
...
...
@@ -29,21 +28,23 @@ while $x < 10
endw
print =============== step 2
sql insert into $tb values (now - 5m , 10) -x error_insert
sql insert into $tb values (now - 6m , 10) -x error_insert
sql insert into $tb values (now - 7m , 10) -x error_insert
sql insert into $tb values (now - 8m , 10) -x error_insert
error_insert:
sql insert into $tb values (now - 5m , 10)
sql insert into $tb values (now - 6m , 10)
sql insert into $tb values (now - 7m , 10)
sql insert into $tb values (now - 8m , 10)
sql select * from $tb
print $rows points data are retrieved
if $rows != 1
0
then
if $rows != 1
4
then
return -1
endi
sql drop database $db
sleep 1000
sql show databases
if $rows != 0 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
tests/script/general/insert/insert_drop.sim
浏览文件 @
eb30aa35
...
...
@@ -75,9 +75,11 @@ sql connect
sleep 3000
sql use $db
sql create table tb5 using $stb tags(5)
sql select * from tb5
if $rows != 0 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
tests/script/general/insert/query_block1_file.sim
浏览文件 @
eb30aa35
...
...
@@ -193,3 +193,5 @@ sql show databases
if $rows != 0 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
tests/script/general/insert/query_block1_memory.sim
浏览文件 @
eb30aa35
...
...
@@ -175,3 +175,4 @@ if $rows != 0 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
tests/script/general/insert/query_block2_file.sim
浏览文件 @
eb30aa35
...
...
@@ -208,3 +208,4 @@ if $rows != 0 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
tests/script/general/insert/query_block2_memory.sim
浏览文件 @
eb30aa35
...
...
@@ -170,3 +170,5 @@ sql show databases
if $rows != 0 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
tests/script/general/insert/query_file_memory.sim
浏览文件 @
eb30aa35
...
...
@@ -206,4 +206,4 @@ if $rows != 0 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
tests/script/general/insert/query_multi_file.sim
浏览文件 @
eb30aa35
...
...
@@ -53,3 +53,4 @@ if $rows != 0 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
tests/script/general/insert/tcp.sim
浏览文件 @
eb30aa35
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
...
...
@@ -20,7 +19,6 @@ sql create database db
sql use db
sql create table tb (ts timestamp, test binary(1000))
$x = 0
while $x < 10000
$ms = $x . s
...
...
@@ -30,11 +28,10 @@ endw
sql select * from tb
return
sql drop database $db
sql show databases
if $rows != 0 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
tests/script/general/insert/testSuite.sim
浏览文件 @
eb30aa35
#
run general/insert/basic.sim
run general/insert/basic.sim
#run general/insert/insert_drop.sim
#run general/insert/query_block1_memory.sim
#run general/insert/query_block2_memory.sim
#run general/insert/query_block1_file.sim
#run general/insert/query_block2_file.sim
#run general/insert/query_file_memory.sim
#run general/insert/query_multi_file.sim
run general/insert/query_block1_memory.sim
run general/insert/query_block2_memory.sim
run general/insert/query_block1_file.sim
run general/insert/query_block2_file.sim
run general/insert/query_file_memory.sim
run general/insert/query_multi_file.sim
run general/insert/tcp.sim
tests/script/jenkins/basic.txt
浏览文件 @
eb30aa35
...
...
@@ -50,7 +50,18 @@ cd ../../../debug; make
#import
#insert
./test.sh -f general/insert/basic.sim
#./test.sh -f general/insert/insert_drop.sim
./test.sh -f general/insert/query_block1_memory.sim
./test.sh -f general/insert/query_block2_memory.sim
./test.sh -f general/insert/query_block1_file.sim
./test.sh -f general/insert/query_block2_file.sim
./test.sh -f general/insert/query_file_memory.sim
./test.sh -f general/insert/query_multi_file.sim
./test.sh -f general/insert/tcp.sim
#metrics
#parser
#stream
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录