Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
bb075068
T
TDengine
项目概览
慢慢CG
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
bb075068
编写于
5月 07, 2020
作者:
sangshuduo
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop' into hotfix/change-rows-to-maxrows-to-match-2.0s-change
上级
e37bd647
2706bfc7
变更
81
显示空白变更内容
内联
并排
Showing
81 changed file
with
232 addition
and
230 deletion
+232
-230
src/mnode/src/mgmtSdb.c
src/mnode/src/mgmtSdb.c
+0
-1
tests/script/basicSuite.sim
tests/script/basicSuite.sim
+18
-1
tests/script/general/column/testSuite.sim
tests/script/general/column/testSuite.sim
+4
-4
tests/script/general/compress/commitlog.sim
tests/script/general/compress/commitlog.sim
+0
-1
tests/script/general/compress/compress.sim
tests/script/general/compress/compress.sim
+0
-1
tests/script/general/compress/compress2.sim
tests/script/general/compress/compress2.sim
+0
-1
tests/script/general/compress/uncompress.sim
tests/script/general/compress/uncompress.sim
+0
-1
tests/script/general/db/back_insert.sim
tests/script/general/db/back_insert.sim
+2
-0
tests/script/general/db/delete_reuse1.sim
tests/script/general/db/delete_reuse1.sim
+4
-5
tests/script/general/db/delete_reuse2.sim
tests/script/general/db/delete_reuse2.sim
+5
-5
tests/script/general/db/delete_reusevnode.sim
tests/script/general/db/delete_reusevnode.sim
+6
-16
tests/script/general/db/delete_reusevnode2.sim
tests/script/general/db/delete_reusevnode2.sim
+2
-9
tests/script/general/db/delete_writing1.sim
tests/script/general/db/delete_writing1.sim
+1
-6
tests/script/general/db/delete_writing2.sim
tests/script/general/db/delete_writing2.sim
+1
-3
tests/script/general/db/len.sim
tests/script/general/db/len.sim
+1
-1
tests/script/general/db/tables.sim
tests/script/general/db/tables.sim
+26
-11
tests/script/general/db/testSuite.sim
tests/script/general/db/testSuite.sim
+10
-10
tests/script/general/import/basic.sim
tests/script/general/import/basic.sim
+4
-4
tests/script/general/import/commit.sim
tests/script/general/import/commit.sim
+4
-4
tests/script/general/import/large.sim
tests/script/general/import/large.sim
+4
-4
tests/script/general/import/replica1.sim
tests/script/general/import/replica1.sim
+4
-4
tests/script/general/insert/insert_drop.sim
tests/script/general/insert/insert_drop.sim
+1
-1
tests/script/general/metrics/disk.sim
tests/script/general/metrics/disk.sim
+1
-1
tests/script/general/metrics/metrics.sim
tests/script/general/metrics/metrics.sim
+1
-1
tests/script/general/metrics/values.sim
tests/script/general/metrics/values.sim
+1
-1
tests/script/general/metrics/vnode3.sim
tests/script/general/metrics/vnode3.sim
+1
-1
tests/script/general/parser/auto_create_tb.sim
tests/script/general/parser/auto_create_tb.sim
+1
-1
tests/script/general/parser/create_db.sim
tests/script/general/parser/create_db.sim
+1
-1
tests/script/general/parser/first_last.sim
tests/script/general/parser/first_last.sim
+2
-2
tests/script/general/parser/interp.sim
tests/script/general/parser/interp.sim
+2
-2
tests/script/general/parser/lastrow.sim
tests/script/general/parser/lastrow.sim
+2
-2
tests/script/general/parser/limit.sim
tests/script/general/parser/limit.sim
+4
-4
tests/script/general/parser/limit1.sim
tests/script/general/parser/limit1.sim
+4
-4
tests/script/general/parser/limit1_tblocks100.sim
tests/script/general/parser/limit1_tblocks100.sim
+4
-4
tests/script/general/parser/limit2.sim
tests/script/general/parser/limit2.sim
+2
-2
tests/script/general/parser/limit2_tblocks100.sim
tests/script/general/parser/limit2_tblocks100.sim
+2
-2
tests/script/general/parser/repeatAlter.sim
tests/script/general/parser/repeatAlter.sim
+1
-1
tests/script/general/parser/repeatStream.sim
tests/script/general/parser/repeatStream.sim
+1
-1
tests/script/general/parser/select_across_vnodes.sim
tests/script/general/parser/select_across_vnodes.sim
+1
-1
tests/script/general/parser/select_from_cache_disk.sim
tests/script/general/parser/select_from_cache_disk.sim
+1
-1
tests/script/general/parser/single_row_in_tb.sim
tests/script/general/parser/single_row_in_tb.sim
+2
-2
tests/script/general/parser/slimit.sim
tests/script/general/parser/slimit.sim
+3
-3
tests/script/general/parser/slimit1.sim
tests/script/general/parser/slimit1.sim
+3
-3
tests/script/general/parser/slimit_alter_tags.sim
tests/script/general/parser/slimit_alter_tags.sim
+1
-1
tests/script/general/parser/tbnameIn.sim
tests/script/general/parser/tbnameIn.sim
+2
-2
tests/script/general/parser/timestamp.sim
tests/script/general/parser/timestamp.sim
+2
-2
tests/script/general/stream/metrics_del.sim
tests/script/general/stream/metrics_del.sim
+0
-3
tests/script/general/stream/metrics_replica1_vnoden.sim
tests/script/general/stream/metrics_replica1_vnoden.sim
+1
-1
tests/script/general/stream/stream_3.sim
tests/script/general/stream/stream_3.sim
+0
-3
tests/script/general/stream/table_del.sim
tests/script/general/stream/table_del.sim
+0
-3
tests/script/general/stream/table_replica1_vnoden.sim
tests/script/general/stream/table_replica1_vnoden.sim
+1
-1
tests/script/general/table/delete_writing.sim
tests/script/general/table/delete_writing.sim
+1
-1
tests/script/general/table/limit.sim
tests/script/general/table/limit.sim
+2
-2
tests/script/general/user/monitor.sim
tests/script/general/user/monitor.sim
+1
-1
tests/script/jenkins/basic.txt
tests/script/jenkins/basic.txt
+10
-0
tests/script/unique/big/maxvnodes.sim
tests/script/unique/big/maxvnodes.sim
+4
-4
tests/script/unique/big/tcp.sim
tests/script/unique/big/tcp.sim
+1
-1
tests/script/unique/db/delete.sim
tests/script/unique/db/delete.sim
+1
-4
tests/script/unique/import/replica2.sim
tests/script/unique/import/replica2.sim
+4
-4
tests/script/unique/import/replica3.sim
tests/script/unique/import/replica3.sim
+4
-4
tests/script/unique/metrics/balance_replica1.sim
tests/script/unique/metrics/balance_replica1.sim
+2
-2
tests/script/unique/metrics/dnode2.sim
tests/script/unique/metrics/dnode2.sim
+2
-2
tests/script/unique/metrics/dnode2_stop.sim
tests/script/unique/metrics/dnode2_stop.sim
+2
-2
tests/script/unique/metrics/dnode3.sim
tests/script/unique/metrics/dnode3.sim
+3
-3
tests/script/unique/metrics/replica2_dnode4.sim
tests/script/unique/metrics/replica2_dnode4.sim
+4
-4
tests/script/unique/metrics/replica2_vnode3.sim
tests/script/unique/metrics/replica2_vnode3.sim
+2
-2
tests/script/unique/metrics/replica3_dnode6.sim
tests/script/unique/metrics/replica3_dnode6.sim
+6
-6
tests/script/unique/metrics/replica3_vnode3.sim
tests/script/unique/metrics/replica3_vnode3.sim
+4
-4
tests/script/unique/stream/metrics_balance.sim
tests/script/unique/stream/metrics_balance.sim
+2
-2
tests/script/unique/stream/metrics_replica1_dnode2.sim
tests/script/unique/stream/metrics_replica1_dnode2.sim
+2
-2
tests/script/unique/stream/metrics_replica2_dnode2_vnoden.sim
...s/script/unique/stream/metrics_replica2_dnode2_vnoden.sim
+2
-2
tests/script/unique/stream/metrics_replica2_dnode3.sim
tests/script/unique/stream/metrics_replica2_dnode3.sim
+3
-3
tests/script/unique/stream/metrics_replica3_dnode4.sim
tests/script/unique/stream/metrics_replica3_dnode4.sim
+4
-4
tests/script/unique/stream/table_balance.sim
tests/script/unique/stream/table_balance.sim
+2
-2
tests/script/unique/stream/table_move.sim
tests/script/unique/stream/table_move.sim
+4
-4
tests/script/unique/stream/table_replica1_dnode2.sim
tests/script/unique/stream/table_replica1_dnode2.sim
+2
-2
tests/script/unique/stream/table_replica2_dnode2_vnoden.sim
tests/script/unique/stream/table_replica2_dnode2_vnoden.sim
+2
-2
tests/script/unique/stream/table_replica2_dnode3.sim
tests/script/unique/stream/table_replica2_dnode3.sim
+3
-3
tests/script/unique/stream/table_replica3_dnode4.sim
tests/script/unique/stream/table_replica3_dnode4.sim
+4
-4
tests/script/unique/table/delete_part.sim
tests/script/unique/table/delete_part.sim
+4
-4
tests/script/unique/vnode/replica3_vgroup.sim
tests/script/unique/vnode/replica3_vgroup.sim
+1
-1
未找到文件。
src/mnode/src/mgmtSdb.c
浏览文件 @
bb075068
...
...
@@ -324,7 +324,6 @@ void sdbCleanUp() {
tsSdbObj
.
status
=
SDB_STATUS_CLOSING
;
syncStop
(
tsSdbObj
.
sync
);
free
(
tsSdbObj
.
sync
);
walClose
(
tsSdbObj
.
wal
);
sem_destroy
(
&
tsSdbObj
.
sem
);
pthread_mutex_destroy
(
&
tsSdbObj
.
mutex
);
...
...
tests/script/basicSuite.sim
浏览文件 @
bb075068
...
...
@@ -20,9 +20,26 @@ run general/table/tinyint.sim
run general/table/db.table.sim
run general/user/basic1.sim
#
run general/user/pass_alter.sim
run general/user/pass_alter.sim
run general/user/pass_len.sim
run general/user/user_create.sim
run general/user/user_len.sim
# run general/compute/count.sim
# run general/compute/avg.sim
# run general/compute/sum.sim
# run general/compute/min.sim
# run general/compute/max.sim
# run general/compute/first.sim
# run general/compute/last.sim
run general/compute/stddev.sim
# run general/compute/leastsquare.sim
run general/compute/top.sim
run general/compute/bottom.sim
run general/compute/percentile.sim
run general/compute/diff.sim
# run general/compute/interval.sim
run general/compute/null.sim
# run general/compute/diff2.sim
##################################
tests/script/general/column/testSuite.sim
浏览文件 @
bb075068
run
lite
/column/table.sim
run
lite
/column/metrics.sim
run
lite
/column/stream.sim
run
lite
/column/commit.sim
run
general
/column/table.sim
run
general
/column/metrics.sim
run
general
/column/stream.sim
run
general
/column/commit.sim
tests/script/general/compress/commitlog.sim
浏览文件 @
bb075068
...
...
@@ -3,7 +3,6 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/cfg.sh -n dnode1 -c cacheBlockSize -v 1024
system sh/cfg.sh -n dnode1 -c compression -v 1
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/compress/compress.sim
浏览文件 @
bb075068
...
...
@@ -3,7 +3,6 @@ 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/cfg.sh -n dnode1 -c cacheBlockSize -v 1024
system sh/cfg.sh -n dnode1 -c compression -v 1
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/compress/compress2.sim
浏览文件 @
bb075068
...
...
@@ -3,7 +3,6 @@ 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/cfg.sh -n dnode1 -c cacheBlockSize -v 1024
system sh/cfg.sh -n dnode1 -c compression -v 2
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/compress/uncompress.sim
浏览文件 @
bb075068
...
...
@@ -3,7 +3,6 @@ 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/cfg.sh -n dnode1 -c cacheBlockSize -v 1024
system sh/cfg.sh -n dnode1 -c compression -v 1
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/db/back_insert.sim
浏览文件 @
bb075068
sql connect
$x = 1
begin:
sql reset query cache
sleep 1000
sql insert into db.tb values(now, $x ) -x begin
#print ===> insert successed $x
$x = $x + 1
...
...
tests/script/general/db/delete_reuse1.sim
浏览文件 @
bb075068
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
...
...
@@ -31,7 +27,6 @@ system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
print ========= start dnodes
system sh/exec.sh -n dnode1 -s start
sleep 3000
sql connect
print ======== step1
...
...
@@ -78,6 +73,8 @@ sql insert into d1.t1 values(now, 2) -x step2
step2:
print ========= step3
sql reset query cache
sleep 1000
sql create database d1 replica 1
sql create table d1.t1 (ts timestamp, i int)
sql insert into d1.t1 values(now, 2)
...
...
@@ -97,6 +94,8 @@ while $x < 20
step4:
sql create database d1 replica 1
sql reset query cache
sleep 1000
sql create table d1.t1 (ts timestamp, i int)
sql insert into d1.t1 values(now, $x )
sql select * from d1.t1
...
...
tests/script/general/db/delete_reuse2.sim
浏览文件 @
bb075068
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
...
...
@@ -31,7 +27,6 @@ system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
print ========= start dnodes
system sh/exec.sh -n dnode1 -s start
sleep 3000
sql connect
print ======== step1
...
...
@@ -79,6 +74,8 @@ step2:
print ========= step3
sql create database db1 replica 1
sql reset query cache
sleep 1000
sql create table db1.tb1 (ts timestamp, i int)
sql insert into db1.tb1 values(now, 2)
sql select * from db1.tb1
...
...
@@ -104,6 +101,9 @@ while $x < 20
$db = db . $x
$tb = tb . $x
sql reset query cache
sleep 1000
sql create database $db replica 1
sql use $db
sql create table $tb (ts timestamp, i int)
...
...
tests/script/general/db/delete_reusevnode.sim
浏览文件 @
bb075068
...
...
@@ -5,19 +5,16 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 10
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 10
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 10
system sh/cfg.sh -n dnode1 -c cacheBlockSize -v 200
system sh/cfg.sh -n dnode2 -c cacheBlockSize -v 200
system sh/cfg.sh -n dnode3 -c cacheBlockSize -v 200
print ========= start dnodes
system sh/exec.sh -n dnode1 -s start
s
leep 3000
s
ql connect
print ======== step1
$tbPrefix = t
$i = 0
while $i <
100
0
while $i <
3
0
$db = db . $i
sql create database $db
sql use $db
...
...
@@ -37,38 +34,32 @@ endw
print ======== step2
sleep 1000
sql drop database $db
sql show databases
if $rows != 0 then
return -1
endi
system sh/stop_dnodes.sh
sleep 3000
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 10
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 10
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 10
system sh/cfg.sh -n dnode1 -c cacheBlockSize -v 200
system sh/cfg.sh -n dnode2 -c cacheBlockSize -v 200
system sh/cfg.sh -n dnode3 -c cacheBlockSize -v 200
print ========= start dnodes
system sh/exec.sh -n dnode1 -s start
s
leep 3000
s
ql connect
print ======== step1
$tbPrefix = t
$i = 0
while $i < 10
00
while $i < 10
$db = db . $i
sql create database $db maxTables 4
sql use $db
sql create table st (ts times
e
tamp, i int) tags(j int);
sql create table st (ts timestamp, i int) tags(j int);
$tb = $tbPrefix . $i
$tb = $tb . a
...
...
@@ -114,7 +105,6 @@ endw
print ======== step2
sleep 1000
sql drop database $db
sql show databases
if $rows != 0 then
return -1
...
...
tests/script/general/db/delete_reusevnode2.sim
浏览文件 @
bb075068
...
...
@@ -5,26 +5,19 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 10
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 10
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 10
system sh/cfg.sh -n dnode1 -c cacheBlockSize -v 200
system sh/cfg.sh -n dnode2 -c cacheBlockSize -v 200
system sh/cfg.sh -n dnode3 -c cacheBlockSize -v 200
print ========= start dnodes
system sh/exec.sh -n dnode1 -s start
sleep 3000
sql connect
print ======== step1
sql create database db maxTables 4;
sql use db
$tbPrefix = t
$i = 0
while $i < 1000
while $i < 10
sql create table st (ts timestamp, i int) tags(j int);
$tb = $tbPrefix . $i
...
...
tests/script/general/db/delete_writing1.sim
浏览文件 @
bb075068
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
...
...
@@ -31,7 +27,6 @@ system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
print ========= start dnodes
system sh/exec.sh -n dnode1 -s start
sleep 3000
sql connect
sql create database db
...
...
@@ -39,7 +34,7 @@ sql create table db.tb (ts timestamp, i int)
sql insert into db.tb values(now, 1)
print ======== start back
run_back
lite
/db/back_insert.sim
run_back
general
/db/back_insert.sim
sleep 1000
print ======== step1
...
...
tests/script/general/db/delete_writing2.sim
浏览文件 @
bb075068
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/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
print ========= start dnodes
system sh/exec.sh -n dnode1 -s start
sleep 3000
sql connect
sql create database db
...
...
@@ -27,7 +25,7 @@ sql create table db4.tb4 (ts timestamp, i int)
sql insert into db4.tb4 values(now, 1)
print ======== start back
run_back
lite
/db/back_insert.sim
run_back
general
/db/back_insert.sim
sleep 1000
print ======== step1
...
...
tests/script/general/db/len.sim
浏览文件 @
bb075068
...
...
@@ -4,7 +4,7 @@ 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/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/db/tables.sim
浏览文件 @
bb075068
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/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/exec.sh -n dnode1 -s start
sleep 3000
sql connect
print =============== step2
sql create database db
tables 2
sql create database db
maxtables 4
sql show databases
print $rows $data07
...
...
@@ -19,7 +18,7 @@ if $rows != 1 then
return -1
endi
if $data07 !=
2
then
if $data07 !=
4
then
return -1
endi
...
...
@@ -30,9 +29,17 @@ sql create table t2 (ts timestamp, i int)
sql create table t3 (ts timestamp, i int)
sql create table t4 (ts timestamp, i int)
sql create table t11 (ts timestamp, i int)
sql create table t12 (ts timestamp, i int)
sql create table t13 (ts timestamp, i int)
sql create table t14 (ts timestamp, i int)
sql create table t21 (ts timestamp, i int)
sql create table t22 (ts timestamp, i int)
sql create table t23 (ts timestamp, i int)
sql create table t24 (ts timestamp, i int)
sql create table t31 (ts timestamp, i int)
sql create table t32 (ts timestamp, i int)
sql create table t33 (ts timestamp, i int)
sql create table t
4
4 (ts timestamp, i int)
sql create table t
3
4 (ts timestamp, i int)
print =============== step4
sql insert into t1 values(now, 1)
...
...
@@ -42,7 +49,7 @@ sql insert into t4 values(now, 4)
sql insert into t11 values(now, 1)
sql insert into t22 values(now, 2)
sql insert into t33 values(now, 3)
sql insert into t
4
4 values(now, 4)
sql insert into t
3
4 values(now, 4)
print =============== step5
sql select * from t1
...
...
@@ -68,10 +75,10 @@ endi
print =============== step6
sql drop database db
sql reset query cache
sleep
20
000
sleep
4
000
print =============== step7
sql create database db
tables 2
sql create database db
maxtables 4
sql show databases
print $rows $data07
...
...
@@ -79,7 +86,7 @@ if $rows != 1 then
return -1
endi
if $data07 !=
2
then
if $data07 !=
4
then
return -1
endi
...
...
@@ -90,9 +97,17 @@ sql create table t2 (ts timestamp, i int)
sql create table t3 (ts timestamp, i int)
sql create table t4 (ts timestamp, i int)
sql create table t11 (ts timestamp, i int)
sql create table t12 (ts timestamp, i int)
sql create table t13 (ts timestamp, i int)
sql create table t14 (ts timestamp, i int)
sql create table t21 (ts timestamp, i int)
sql create table t22 (ts timestamp, i int)
sql create table t23 (ts timestamp, i int)
sql create table t24 (ts timestamp, i int)
sql create table t31 (ts timestamp, i int)
sql create table t32 (ts timestamp, i int)
sql create table t33 (ts timestamp, i int)
sql create table t
4
4 (ts timestamp, i int)
sql create table t
3
4 (ts timestamp, i int)
print =============== step9
sql insert into t1 values(now, 1)
...
...
@@ -102,7 +117,7 @@ sql insert into t4 values(now, 4)
sql insert into t11 values(now, 1)
sql insert into t22 values(now, 2)
sql insert into t33 values(now, 3)
sql insert into t
4
4 values(now, 4)
sql insert into t
3
4 values(now, 4)
print =============== step10
sql select * from t1
...
...
tests/script/general/db/testSuite.sim
浏览文件 @
bb075068
#
run general//db/basic.sim
run general//db/basic.sim
run general/db/basic1.sim
run general/db/basic2.sim
run general/db/basic3.sim
run general/db/basic4.sim
run general/db/basic5.sim
#run general/db/delete_reuse1
.sim
#run general/db/delete_reuse2
.sim
#run general/db/delete_
writing1
.sim
#run general/db/delete_writing2
.sim
#
run general/db/len.sim
#
run general/db/repeat.sim
#
run general/db/tables.sim
run general/db/delete_reuse1.sim
run general/db/delete_reuse2
.sim
run general/db/delete_reusevnode
.sim
#run general/db/delete_
reusevnode2
.sim
run general/db/delete_writing1
.sim
run general/db/delete_writing2.sim
run general/db/len.sim
run general/db/repeat.sim
run general/db/tables.sim
tests/script/general/import/basic.sim
浏览文件 @
bb075068
...
...
@@ -20,10 +20,10 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c commitlog -v 0
system sh/cfg.sh -n dnode2 -c commitlog -v 0
...
...
tests/script/general/import/commit.sim
浏览文件 @
bb075068
...
...
@@ -20,10 +20,10 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c commitlog -v 0
system sh/cfg.sh -n dnode2 -c commitlog -v 0
...
...
tests/script/general/import/large.sim
浏览文件 @
bb075068
...
...
@@ -20,10 +20,10 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c commitlog -v 0
system sh/cfg.sh -n dnode2 -c commitlog -v 0
...
...
tests/script/general/import/replica1.sim
浏览文件 @
bb075068
...
...
@@ -20,10 +20,10 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c commitlog -v 0
system sh/cfg.sh -n dnode2 -c commitlog -v 0
...
...
tests/script/general/insert/insert_drop.sim
浏览文件 @
bb075068
...
...
@@ -19,7 +19,7 @@ $stb = stb
sql drop database $db -x step1
step1:
sql create database $db tables 10 ctime 30
sql create database $db
max
tables 10 ctime 30
print ====== create tables
sql use $db
sql create table $stb (ts timestamp, c1 int) tags(t1 int)
...
...
tests/script/general/metrics/disk.sim
浏览文件 @
bb075068
...
...
@@ -4,7 +4,7 @@ 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/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/metrics/metrics.sim
浏览文件 @
bb075068
...
...
@@ -4,7 +4,7 @@ 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/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/metrics/values.sim
浏览文件 @
bb075068
...
...
@@ -4,7 +4,7 @@ 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/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/metrics/vnode3.sim
浏览文件 @
bb075068
...
...
@@ -4,7 +4,7 @@ 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/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/parser/auto_create_tb.sim
浏览文件 @
bb075068
...
...
@@ -3,7 +3,7 @@ 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/cfg.sh -n dnode1 -c
session
sPerVnode -v 2
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/parser/create_db.sim
浏览文件 @
bb075068
...
...
@@ -163,7 +163,7 @@ sql_error create database $db rows 199
sql_error create database $db cache 99
#sql_error create database $db cache 10485761
# ablocks [overwriten by 4*
session
sPerVnode, 409600]
# ablocks [overwriten by 4*
maxtable
sPerVnode, 409600]
sql_error create database $db ablocks -1
#sql_error create database $db ablocks 409601
...
...
tests/script/general/parser/first_last.sim
浏览文件 @
bb075068
...
...
@@ -69,7 +69,7 @@ sql import into $tb (ts) values ( $ts )
print ====== test data created
run
lite
/parser/first_last_query.sim
run
general
/parser/first_last_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
...
...
@@ -79,5 +79,5 @@ print ================== server restart completed
sql connect
sleep 3000
run
lite
/parser/first_last_query.sim
run
general
/parser/first_last_query.sim
tests/script/general/parser/interp.sim
浏览文件 @
bb075068
...
...
@@ -56,7 +56,7 @@ while $i < $halfNum
endw
print ====== tables created
run
lite
/parser/interp_test.sim
run
general
/parser/interp_test.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
...
...
@@ -64,4 +64,4 @@ sleep 2000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
run
lite
/parser/interp_test.sim
run
general
/parser/interp_test.sim
tests/script/general/parser/lastrow.sim
浏览文件 @
bb075068
...
...
@@ -57,7 +57,7 @@ endw
print ====== test data created
run
lite
/parser/lastrow_query.sim
run
general
/parser/lastrow_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
...
...
@@ -67,4 +67,4 @@ print ================== server restart completed
sql connect
sleep 3000
run
lite
/parser/lastrow_query.sim
run
general
/parser/lastrow_query.sim
tests/script/general/parser/limit.sim
浏览文件 @
bb075068
...
...
@@ -56,8 +56,8 @@ while $i < $halfNum
endw
print ====== tables created
run
lite
/parser/limit_tb.sim
run
lite
/parser/limit_stb.sim
run
general
/parser/limit_tb.sim
run
general
/parser/limit_stb.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
...
...
@@ -67,5 +67,5 @@ print ================== server restart completed
sql connect
sleep 3000
run
lite
/parser/limit_tb.sim
run
lite
/parser/limit_stb.sim
run
general
/parser/limit_tb.sim
run
general
/parser/limit_stb.sim
tests/script/general/parser/limit1.sim
浏览文件 @
bb075068
...
...
@@ -56,8 +56,8 @@ while $i < $halfNum
endw
print ====== tables created
run
lite
/parser/limit1_tb.sim
run
lite
/parser/limit1_stb.sim
run
general
/parser/limit1_tb.sim
run
general
/parser/limit1_stb.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
...
...
@@ -65,5 +65,5 @@ sleep 2000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
run
lite
/parser/limit1_tb.sim
run
lite
/parser/limit1_stb.sim
run
general
/parser/limit1_tb.sim
run
general
/parser/limit1_stb.sim
tests/script/general/parser/limit1_tblocks100.sim
浏览文件 @
bb075068
...
...
@@ -56,8 +56,8 @@ while $i < $halfNum
endw
print ====== tables created
run
lite
/parser/limit1_tb.sim
run
lite
/parser/limit1_stb.sim
run
general
/parser/limit1_tb.sim
run
general
/parser/limit1_stb.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
...
...
@@ -65,5 +65,5 @@ sleep 2000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
run
lite
/parser/limit1_tb.sim
run
lite
/parser/limit1_stb.sim
run
general
/parser/limit1_tb.sim
run
general
/parser/limit1_stb.sim
tests/script/general/parser/limit2.sim
浏览文件 @
bb075068
...
...
@@ -65,7 +65,7 @@ while $i < $halfNum
endw
print ====== tables created
#run
lite
/parser/limit2_query.sim
#run
general
/parser/limit2_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
...
...
@@ -73,4 +73,4 @@ sleep 3000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
run
lite
/parser/limit2_query.sim
run
general
/parser/limit2_query.sim
tests/script/general/parser/limit2_tblocks100.sim
浏览文件 @
bb075068
...
...
@@ -65,7 +65,7 @@ while $i < $halfNum
endw
print ====== tables created
#run
lite
/parser/limit2_query.sim
#run
general
/parser/limit2_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
...
...
@@ -73,4 +73,4 @@ sleep 3000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
run
lite
/parser/limit2_query.sim
run
general
/parser/limit2_query.sim
tests/script/general/parser/repeatAlter.sim
浏览文件 @
bb075068
...
...
@@ -2,6 +2,6 @@ $i = 1
$loops = 10
while $i <= $loops
print ====== repeat: $i
run
lite
/parser/alter.sim
run
general
/parser/alter.sim
$i = $i + 1
endw
tests/script/general/parser/repeatStream.sim
浏览文件 @
bb075068
...
...
@@ -2,6 +2,6 @@ $i = 1
$repeats = 5
while $i <= $repeats
print ====== repeat: $i
run
lite
/parser/stream.sim
run
general
/parser/stream.sim
$i = $i + 1
endw
tests/script/general/parser/select_across_vnodes.sim
浏览文件 @
bb075068
...
...
@@ -2,7 +2,7 @@ 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/cfg.sh -n dnode1 -c
session
sPerVnode -v 5
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 5
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/parser/select_from_cache_disk.sim
浏览文件 @
bb075068
...
...
@@ -2,7 +2,7 @@ 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/cfg.sh -n dnode1 -c
session
sPerVnode -v 2
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/parser/single_row_in_tb.sim
浏览文件 @
bb075068
...
...
@@ -27,7 +27,7 @@ sql create table $tb1 using $stb tags( 1 )
sql insert into $tb1 values ( $ts0 , 1, 2, 3, 4, true, 'binay10', '涛思nchar10' )
print ====== tables created
run
lite
/parser/single_row_in_tb_query.sim
run
general
/parser/single_row_in_tb_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
...
...
@@ -35,4 +35,4 @@ sleep 2000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
run
lite
/parser/single_row_in_tb_query.sim
run
general
/parser/single_row_in_tb_query.sim
tests/script/general/parser/slimit.sim
浏览文件 @
bb075068
...
...
@@ -2,7 +2,7 @@ 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/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
@@ -94,7 +94,7 @@ while $i < $tbNum
endw
print ====== $db tables created
run
lite
/parser/slimit_query.sim
run
general
/parser/slimit_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
...
...
@@ -104,4 +104,4 @@ print ================== server restart completed
sql connect
sleep 3000
run
lite
/parser/slimit_query.sim
run
general
/parser/slimit_query.sim
tests/script/general/parser/slimit1.sim
浏览文件 @
bb075068
...
...
@@ -2,7 +2,7 @@ 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/cfg.sh -n dnode1 -c
session
sPerVnode -v 2
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 10
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
@@ -53,7 +53,7 @@ endw
print ================== tables and data created
run
lite
/parser/slimit1_query.sim
run
general
/parser/slimit1_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
...
...
@@ -63,4 +63,4 @@ print ================== server restart completed
sql connect
sleep 3000
run
lite
/parser/slimit1_query.sim
run
general
/parser/slimit1_query.sim
tests/script/general/parser/slimit_alter_tags.sim
浏览文件 @
bb075068
...
...
@@ -2,7 +2,7 @@ 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/cfg.sh -n dnode1 -c
session
sPerVnode -v 2
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 10
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/parser/tbnameIn.sim
浏览文件 @
bb075068
...
...
@@ -64,7 +64,7 @@ while $i < $halfNum
endw
print ====== tables created
run
lite
/parser/tbnameIn_query.sim
run
general
/parser/tbnameIn_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
...
...
@@ -72,4 +72,4 @@ sleep 2000
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
run
lite
/parser/tbnameIn_query.sim
run
general
/parser/tbnameIn_query.sim
tests/script/general/parser/timestamp.sim
浏览文件 @
bb075068
...
...
@@ -54,7 +54,7 @@ while $i < $tbNum
endw
print ====== $db tables created
run
lite
/parser/timestamp_query.sim
run
general
/parser/timestamp_query.sim
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
...
...
@@ -64,4 +64,4 @@ print ================== server restart completed
sql connect
sleep 3000
run
lite
/parser/timestamp_query.sim
run
general
/parser/timestamp_query.sim
tests/script/general/stream/metrics_del.sim
浏览文件 @
bb075068
...
...
@@ -2,9 +2,6 @@ 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/cfg.sh -n dnode1 -c numOfBlocksPerMeter -v 4
system sh/cfg.sh -n dnode1 -c pointsPerCompBlock -v 100
system sh/cfg.sh -n dnode1 -c cacheBlockSize -v 1024
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/stream/metrics_replica1_vnoden.sim
浏览文件 @
bb075068
...
...
@@ -4,7 +4,7 @@ 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/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/stream/stream_3.sim
浏览文件 @
bb075068
...
...
@@ -109,9 +109,6 @@ print =============== step7
system sh/exec.sh -n dnode1 -s stop
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfBlocksPerMeter -v 4
system sh/cfg.sh -n dnode1 -c pointsPerCompBlock -v 100
system sh/cfg.sh -n dnode1 -c cacheBlockSize -v 1024
system sh/exec.sh -n dnode1 -s start
sleep 4000
...
...
tests/script/general/stream/table_del.sim
浏览文件 @
bb075068
...
...
@@ -2,9 +2,6 @@ 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/cfg.sh -n dnode1 -c numOfBlocksPerMeter -v 4
system sh/cfg.sh -n dnode1 -c pointsPerCompBlock -v 100
system sh/cfg.sh -n dnode1 -c cacheBlockSize -v 1024
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/stream/table_replica1_vnoden.sim
浏览文件 @
bb075068
...
...
@@ -4,7 +4,7 @@ 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/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/table/delete_writing.sim
浏览文件 @
bb075068
...
...
@@ -40,7 +40,7 @@ sql create table db.tb (ts timestamp, i int)
sql insert into db.tb values(now, 1)
print ======== start back
run_back
lite
/table/back_insert.sim
run_back
general
/table/back_insert.sim
sleep 1000
print ======== step1
...
...
tests/script/general/table/limit.sim
浏览文件 @
bb075068
...
...
@@ -4,7 +4,7 @@ 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/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 129
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 129
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
@@ -19,7 +19,7 @@ $db = $dbPrefix . $i
$tb = $tbPrefix . $i
print =================== step 0
sql create database $db tables 129
sql create database $db
max
tables 129
sql use $db
sql show vgroups
if $rows != 0 then
...
...
tests/script/general/user/monitor.sim
浏览文件 @
bb075068
...
...
@@ -4,7 +4,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
print ========== step1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
walLevel
-v 0
system sh/cfg.sh -n dnode1 -c monitor -v 1
system sh/cfg.sh -n dnode1 -c monitorInterval -v 1
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/jenkins/basic.txt
浏览文件 @
bb075068
...
...
@@ -9,11 +9,21 @@ cd ../../../debug; make
#general
./test.sh -f general//db/basic.sim
./test.sh -f general/db/basic1.sim
./test.sh -f general/db/basic2.sim
./test.sh -f general/db/basic3.sim
./test.sh -f general/db/basic4.sim
./test.sh -f general/db/basic5.sim
./test.sh -f general/db/delete_reuse1.sim
./test.sh -f general/db/delete_reuse2.sim
./test.sh -f general/db/delete_reusevnode.sim
#./test.sh -f general/db/delete_reusevnode2.sim
./test.sh -f general/db/delete_writing1.sim
./test.sh -f general/db/delete_writing2.sim
./test.sh -f general/db/len.sim
./test.sh -f general/db/repeat.sim
./test.sh -f general/db/tables.sim
./test.sh -f general/table/autocreate.sim
./test.sh -f general/table/basic1.sim
...
...
tests/script/unique/big/maxvnodes.sim
浏览文件 @
bb075068
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c
clog
-v 0
system sh/cfg.sh -n dnode1 -c
tables
-v 100
system sh/cfg.sh -n dnode1 -c
walLevel
-v 0
system sh/cfg.sh -n dnode1 -c
maxtablesPerVnode
-v 100
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode1 -c maxVnodeConnections -v 100000
system sh/cfg.sh -n dnode1 -c maxMeterConnections -v 100000
...
...
@@ -39,8 +39,8 @@ endi
system sh/deploy.sh -n dnode2 -i 2
system sh/cfg.sh -n dnode2 -c
clog
-v 0
system sh/cfg.sh -n dnode2 -c
tables
-v 100
system sh/cfg.sh -n dnode2 -c
walLevel
-v 0
system sh/cfg.sh -n dnode2 -c
maxtablesPerVnode
-v 100
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode2 -c maxVnodeConnections -v 100000
system sh/cfg.sh -n dnode2 -c maxMeterConnections -v 100000
...
...
tests/script/unique/big/tcp.sim
浏览文件 @
bb075068
...
...
@@ -2,7 +2,7 @@ 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/cfg.sh -n dnode1 -c
tables
-v 30000
system sh/cfg.sh -n dnode1 -c
maxtablesPerVnode
-v 30000
system sh/cfg.sh -n dnode1 -c dDebugFlag -v 131
system sh/cfg.sh -n dnode1 -c mDebugFlag -v 131
...
...
tests/script/unique/db/delete.sim
浏览文件 @
bb075068
...
...
@@ -15,9 +15,6 @@ system sh/cfg.sh -n dnode3 -c numOfMPeers -v 3
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 10
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 10
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 10
system sh/cfg.sh -n dnode1 -c cacheBlockSize -v 200
system sh/cfg.sh -n dnode2 -c cacheBlockSize -v 200
system sh/cfg.sh -n dnode3 -c cacheBlockSize -v 200
print ========= start dnodes
system sh/exec_up.sh -n dnode1 -s start
...
...
@@ -29,7 +26,7 @@ system sh/exec_up.sh -n dnode3 -s start
sleep 3000
print ======== step1
sql create database db replica 3 ablocks 2 tblocks 5 tables 10000
sql create database db replica 3 ablocks 2 tblocks 5
max
tables 10000
sql create table db.mt (ts timestamp, tbcol int) TAGS(tgcol int)
$tbPrefix = db.t
...
...
tests/script/unique/import/replica2.sim
浏览文件 @
bb075068
...
...
@@ -15,10 +15,10 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c commitlog -v 0
system sh/cfg.sh -n dnode2 -c commitlog -v 0
...
...
tests/script/unique/import/replica3.sim
浏览文件 @
bb075068
...
...
@@ -15,10 +15,10 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 10
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 2000
system sh/cfg.sh -n dnode1 -c commitlog -v 0
system sh/cfg.sh -n dnode2 -c commitlog -v 0
...
...
tests/script/unique/metrics/balance_replica1.sim
浏览文件 @
bb075068
...
...
@@ -14,8 +14,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
$dbPrefix = br1_db
$tbPrefix = br1_tb
...
...
tests/script/unique/metrics/dnode2.sim
浏览文件 @
bb075068
...
...
@@ -8,8 +8,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/metrics/dnode2_stop.sim
浏览文件 @
bb075068
...
...
@@ -8,8 +8,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/metrics/dnode3.sim
浏览文件 @
bb075068
...
...
@@ -12,9 +12,9 @@ system sh/cfg.sh -n dnode3 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/metrics/replica2_dnode4.sim
浏览文件 @
bb075068
...
...
@@ -16,10 +16,10 @@ system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/metrics/replica2_vnode3.sim
浏览文件 @
bb075068
...
...
@@ -8,8 +8,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/metrics/replica3_dnode6.sim
浏览文件 @
bb075068
...
...
@@ -28,12 +28,12 @@ system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode5 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode6 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode5 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode6 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode5 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode6 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/metrics/replica3_vnode3.sim
浏览文件 @
bb075068
...
...
@@ -16,10 +16,10 @@ system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/metrics_balance.sim
浏览文件 @
bb075068
...
...
@@ -14,8 +14,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c meterMetaKeepTimer -v 5
system sh/cfg.sh -n dnode2 -c meterMetaKeepTimer -v 5
system sh/cfg.sh -n dnode1 -c metricMetaKeepTimer -v 5
...
...
tests/script/unique/stream/metrics_replica1_dnode2.sim
浏览文件 @
bb075068
...
...
@@ -8,8 +8,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/metrics_replica2_dnode2_vnoden.sim
浏览文件 @
bb075068
...
...
@@ -8,8 +8,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/metrics_replica2_dnode3.sim
浏览文件 @
bb075068
...
...
@@ -12,9 +12,9 @@ system sh/cfg.sh -n dnode3 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/metrics_replica3_dnode4.sim
浏览文件 @
bb075068
...
...
@@ -16,10 +16,10 @@ system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/table_balance.sim
浏览文件 @
bb075068
...
...
@@ -14,8 +14,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 2
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 2
...
...
tests/script/unique/stream/table_move.sim
浏览文件 @
bb075068
...
...
@@ -35,10 +35,10 @@ system sh/cfg.sh -n dnode2 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode3 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode4 -c mgmtEqualVnodeNum -v 0
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 3
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 3
...
...
tests/script/unique/stream/table_replica1_dnode2.sim
浏览文件 @
bb075068
...
...
@@ -8,8 +8,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/table_replica2_dnode2_vnoden.sim
浏览文件 @
bb075068
...
...
@@ -8,8 +8,8 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/table_replica2_dnode3.sim
浏览文件 @
bb075068
...
...
@@ -12,9 +12,9 @@ system sh/cfg.sh -n dnode3 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/unique/stream/table_replica3_dnode4.sim
浏览文件 @
bb075068
...
...
@@ -16,10 +16,10 @@ system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 8
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/table/delete_part.sim
浏览文件 @
bb075068
...
...
@@ -29,10 +29,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
session
sPerVnode -v 4
system sh/cfg.sh -n dnode1 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode2 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode3 -c
maxtable
sPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
maxtable
sPerVnode -v 4
print ========= start dnodes
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/unique/vnode/replica3_vgroup.sim
浏览文件 @
bb075068
...
...
@@ -26,7 +26,7 @@ sleep 3000
print =================== step 1
sql create database $db replica 3 tables 100
sql create database $db replica 3
max
tables 100
sql use $db
sql create table st (ts timestamp, speed int) tags (t1 int)
sleep 3001
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录