Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
497a9799
TDengine
项目概览
taosdata
/
TDengine
大约 1 年 前同步成功
通知
1184
Star
22015
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
497a9799
编写于
4月 30, 2020
作者:
H
hzcheng
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop' into feature/2.0tsdb
上级
bba49636
14243057
变更
360
展开全部
隐藏空白更改
内联
并排
Showing
360 changed file
with
2094 addition
and
4941 deletion
+2094
-4941
src/client/src/tscSQLParser.c
src/client/src/tscSQLParser.c
+4
-3
src/client/src/tscServer.c
src/client/src/tscServer.c
+1
-1
src/client/src/tscSql.c
src/client/src/tscSql.c
+2
-2
src/client/src/tscSystem.c
src/client/src/tscSystem.c
+2
-2
src/common/inc/tglobal.h
src/common/inc/tglobal.h
+1
-1
src/common/src/tglobal.c
src/common/src/tglobal.c
+9
-8
src/dnode/src/dnodeMClient.c
src/dnode/src/dnodeMClient.c
+3
-3
src/dnode/src/dnodeMain.c
src/dnode/src/dnodeMain.c
+3
-1
src/inc/taosdef.h
src/inc/taosdef.h
+1
-1
src/inc/tsdb.h
src/inc/tsdb.h
+4
-3
src/mnode/inc/mgmtSdb.h
src/mnode/inc/mgmtSdb.h
+1
-0
src/mnode/src/mgmtDServer.c
src/mnode/src/mgmtDServer.c
+1
-0
src/mnode/src/mgmtDnode.c
src/mnode/src/mgmtDnode.c
+1
-1
src/mnode/src/mgmtMain.c
src/mnode/src/mgmtMain.c
+1
-1
src/mnode/src/mgmtSdb.c
src/mnode/src/mgmtSdb.c
+6
-1
src/query/src/sql.c
src/query/src/sql.c
+107
-106
src/tsdb/src/tsdbMain.c
src/tsdb/src/tsdbMain.c
+9
-0
src/util/src/hash.c
src/util/src/hash.c
+1
-0
src/util/src/tsocket.c
src/util/src/tsocket.c
+7
-2
tests/script/general/agg/fill.sim
tests/script/general/agg/fill.sim
+2
-2
tests/script/general/agg/stream.sim
tests/script/general/agg/stream.sim
+2
-2
tests/script/general/alter/cached_schema_after_alter.sim
tests/script/general/alter/cached_schema_after_alter.sim
+2
-2
tests/script/general/alter/count.sim
tests/script/general/alter/count.sim
+2
-2
tests/script/general/alter/import.sim
tests/script/general/alter/import.sim
+2
-2
tests/script/general/alter/insert1.sim
tests/script/general/alter/insert1.sim
+2
-2
tests/script/general/alter/insert2.sim
tests/script/general/alter/insert2.sim
+2
-2
tests/script/general/alter/metrics.sim
tests/script/general/alter/metrics.sim
+2
-2
tests/script/general/alter/table.sim
tests/script/general/alter/table.sim
+2
-2
tests/script/general/cache/cache_balance.sim
tests/script/general/cache/cache_balance.sim
+4
-4
tests/script/general/cache/new_metrics.sim
tests/script/general/cache/new_metrics.sim
+2
-2
tests/script/general/cache/new_stream.sim
tests/script/general/cache/new_stream.sim
+2
-2
tests/script/general/cache/restart_metrics.sim
tests/script/general/cache/restart_metrics.sim
+3
-3
tests/script/general/cache/restart_stream.sim
tests/script/general/cache/restart_stream.sim
+3
-3
tests/script/general/cache/restart_table.sim
tests/script/general/cache/restart_table.sim
+3
-3
tests/script/general/column/commit.sim
tests/script/general/column/commit.sim
+2
-2
tests/script/general/column/metrics.sim
tests/script/general/column/metrics.sim
+2
-2
tests/script/general/column/stream.sim
tests/script/general/column/stream.sim
+2
-2
tests/script/general/column/table.sim
tests/script/general/column/table.sim
+2
-2
tests/script/general/compress/commitlog.sim
tests/script/general/compress/commitlog.sim
+2
-2
tests/script/general/compress/compress.sim
tests/script/general/compress/compress.sim
+2
-2
tests/script/general/compress/compress2.sim
tests/script/general/compress/compress2.sim
+2
-2
tests/script/general/compress/uncompress.sim
tests/script/general/compress/uncompress.sim
+2
-2
tests/script/general/compute/avg.sim
tests/script/general/compute/avg.sim
+2
-2
tests/script/general/compute/bottom.sim
tests/script/general/compute/bottom.sim
+2
-2
tests/script/general/compute/count.sim
tests/script/general/compute/count.sim
+2
-2
tests/script/general/compute/diff.sim
tests/script/general/compute/diff.sim
+2
-2
tests/script/general/compute/diff2.sim
tests/script/general/compute/diff2.sim
+2
-2
tests/script/general/compute/first.sim
tests/script/general/compute/first.sim
+2
-2
tests/script/general/compute/interval.sim
tests/script/general/compute/interval.sim
+2
-2
tests/script/general/compute/last.sim
tests/script/general/compute/last.sim
+2
-2
tests/script/general/compute/leastsquare.sim
tests/script/general/compute/leastsquare.sim
+2
-2
tests/script/general/compute/max.sim
tests/script/general/compute/max.sim
+2
-2
tests/script/general/compute/min.sim
tests/script/general/compute/min.sim
+2
-2
tests/script/general/compute/null.sim
tests/script/general/compute/null.sim
+2
-2
tests/script/general/compute/percentile.sim
tests/script/general/compute/percentile.sim
+2
-2
tests/script/general/compute/stddev.sim
tests/script/general/compute/stddev.sim
+2
-2
tests/script/general/compute/sum.sim
tests/script/general/compute/sum.sim
+2
-2
tests/script/general/compute/top.sim
tests/script/general/compute/top.sim
+2
-2
tests/script/general/db/backup/keep.sim
tests/script/general/db/backup/keep.sim
+6
-6
tests/script/general/db/basic.sim
tests/script/general/db/basic.sim
+2
-2
tests/script/general/db/basic1.sim
tests/script/general/db/basic1.sim
+1
-1
tests/script/general/db/basic2.sim
tests/script/general/db/basic2.sim
+1
-1
tests/script/general/db/basic3.sim
tests/script/general/db/basic3.sim
+1
-1
tests/script/general/db/basic4.sim
tests/script/general/db/basic4.sim
+1
-1
tests/script/general/db/basic5.sim
tests/script/general/db/basic5.sim
+1
-1
tests/script/general/db/delete_reuse1.sim
tests/script/general/db/delete_reuse1.sim
+9
-9
tests/script/general/db/delete_reuse2.sim
tests/script/general/db/delete_reuse2.sim
+9
-9
tests/script/general/db/delete_reusevnode.sim
tests/script/general/db/delete_reusevnode.sim
+4
-4
tests/script/general/db/delete_reusevnode2.sim
tests/script/general/db/delete_reusevnode2.sim
+2
-2
tests/script/general/db/delete_writing1.sim
tests/script/general/db/delete_writing1.sim
+9
-9
tests/script/general/db/delete_writing2.sim
tests/script/general/db/delete_writing2.sim
+2
-2
tests/script/general/db/len.sim
tests/script/general/db/len.sim
+2
-2
tests/script/general/db/repeat.sim
tests/script/general/db/repeat.sim
+2
-2
tests/script/general/db/tables.sim
tests/script/general/db/tables.sim
+2
-2
tests/script/general/field/2.sim
tests/script/general/field/2.sim
+2
-2
tests/script/general/field/3.sim
tests/script/general/field/3.sim
+2
-2
tests/script/general/field/4.sim
tests/script/general/field/4.sim
+2
-2
tests/script/general/field/5.sim
tests/script/general/field/5.sim
+2
-2
tests/script/general/field/6.sim
tests/script/general/field/6.sim
+2
-2
tests/script/general/field/bigint.sim
tests/script/general/field/bigint.sim
+2
-2
tests/script/general/field/binary.sim
tests/script/general/field/binary.sim
+2
-2
tests/script/general/field/bool.sim
tests/script/general/field/bool.sim
+2
-2
tests/script/general/field/double.sim
tests/script/general/field/double.sim
+2
-2
tests/script/general/field/float.sim
tests/script/general/field/float.sim
+2
-2
tests/script/general/field/int.sim
tests/script/general/field/int.sim
+2
-2
tests/script/general/field/single.sim
tests/script/general/field/single.sim
+2
-2
tests/script/general/field/smallint.sim
tests/script/general/field/smallint.sim
+2
-2
tests/script/general/field/tinyint.sim
tests/script/general/field/tinyint.sim
+2
-2
tests/script/general/http/grafana.sim
tests/script/general/http/grafana.sim
+2
-2
tests/script/general/http/grafana_bug.sim
tests/script/general/http/grafana_bug.sim
+2
-2
tests/script/general/http/prepare.sim
tests/script/general/http/prepare.sim
+2
-2
tests/script/general/http/restful.sim
tests/script/general/http/restful.sim
+2
-2
tests/script/general/http/restful_full.sim
tests/script/general/http/restful_full.sim
+2
-2
tests/script/general/http/restful_insert.sim
tests/script/general/http/restful_insert.sim
+2
-2
tests/script/general/http/restful_limit.sim
tests/script/general/http/restful_limit.sim
+2
-2
tests/script/general/http/telegraf.sim
tests/script/general/http/telegraf.sim
+2
-2
tests/script/general/import/basic.sim
tests/script/general/import/basic.sim
+8
-13
tests/script/general/import/commit.sim
tests/script/general/import/commit.sim
+8
-13
tests/script/general/import/large.sim
tests/script/general/import/large.sim
+8
-13
tests/script/general/import/replica1.sim
tests/script/general/import/replica1.sim
+8
-13
tests/script/general/insert/basic.sim
tests/script/general/insert/basic.sim
+2
-2
tests/script/general/insert/insert_drop.sim
tests/script/general/insert/insert_drop.sim
+2
-2
tests/script/general/insert/query_block1_file.sim
tests/script/general/insert/query_block1_file.sim
+2
-2
tests/script/general/insert/query_block1_memory.sim
tests/script/general/insert/query_block1_memory.sim
+2
-2
tests/script/general/insert/query_block2_file.sim
tests/script/general/insert/query_block2_file.sim
+2
-2
tests/script/general/insert/query_block2_memory.sim
tests/script/general/insert/query_block2_memory.sim
+2
-2
tests/script/general/insert/query_file_memory.sim
tests/script/general/insert/query_file_memory.sim
+2
-2
tests/script/general/insert/query_multi_file.sim
tests/script/general/insert/query_multi_file.sim
+2
-2
tests/script/general/insert/tcp.sim
tests/script/general/insert/tcp.sim
+2
-2
tests/script/general/metrics/disk.sim
tests/script/general/metrics/disk.sim
+2
-2
tests/script/general/metrics/metrics.sim
tests/script/general/metrics/metrics.sim
+2
-2
tests/script/general/metrics/values.sim
tests/script/general/metrics/values.sim
+2
-2
tests/script/general/metrics/vnode3.sim
tests/script/general/metrics/vnode3.sim
+2
-2
tests/script/general/parser/alter.sim
tests/script/general/parser/alter.sim
+2
-2
tests/script/general/parser/alter1.sim
tests/script/general/parser/alter1.sim
+2
-2
tests/script/general/parser/alter_stable.sim
tests/script/general/parser/alter_stable.sim
+2
-2
tests/script/general/parser/auto_create_tb.sim
tests/script/general/parser/auto_create_tb.sim
+2
-2
tests/script/general/parser/auto_create_tb_drop_tb.sim
tests/script/general/parser/auto_create_tb_drop_tb.sim
+2
-2
tests/script/general/parser/binary_escapeCharacter.sim
tests/script/general/parser/binary_escapeCharacter.sim
+2
-2
tests/script/general/parser/bug.sim
tests/script/general/parser/bug.sim
+2
-2
tests/script/general/parser/col_arithmetic_operation.sim
tests/script/general/parser/col_arithmetic_operation.sim
+2
-2
tests/script/general/parser/columnValue.sim
tests/script/general/parser/columnValue.sim
+2
-2
tests/script/general/parser/commit.sim
tests/script/general/parser/commit.sim
+2
-2
tests/script/general/parser/create_db.sim
tests/script/general/parser/create_db.sim
+2
-2
tests/script/general/parser/create_mt.sim
tests/script/general/parser/create_mt.sim
+2
-2
tests/script/general/parser/create_tb.sim
tests/script/general/parser/create_tb.sim
+2
-2
tests/script/general/parser/dbtbnameValidate.sim
tests/script/general/parser/dbtbnameValidate.sim
+2
-2
tests/script/general/parser/fill.sim
tests/script/general/parser/fill.sim
+2
-2
tests/script/general/parser/fill_stb.sim
tests/script/general/parser/fill_stb.sim
+2
-2
tests/script/general/parser/first_last.sim
tests/script/general/parser/first_last.sim
+2
-2
tests/script/general/parser/groupby.sim
tests/script/general/parser/groupby.sim
+2
-2
tests/script/general/parser/import.sim
tests/script/general/parser/import.sim
+2
-2
tests/script/general/parser/import_commit1.sim
tests/script/general/parser/import_commit1.sim
+2
-2
tests/script/general/parser/import_commit2.sim
tests/script/general/parser/import_commit2.sim
+2
-2
tests/script/general/parser/import_commit3.sim
tests/script/general/parser/import_commit3.sim
+2
-2
tests/script/general/parser/import_file.sim
tests/script/general/parser/import_file.sim
+2
-2
tests/script/general/parser/insert_multiTbl.sim
tests/script/general/parser/insert_multiTbl.sim
+2
-2
tests/script/general/parser/insert_tb.sim
tests/script/general/parser/insert_tb.sim
+2
-2
tests/script/general/parser/interp.sim
tests/script/general/parser/interp.sim
+2
-2
tests/script/general/parser/join.sim
tests/script/general/parser/join.sim
+2
-2
tests/script/general/parser/join_multivnode.sim
tests/script/general/parser/join_multivnode.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
+2
-2
tests/script/general/parser/limit1.sim
tests/script/general/parser/limit1.sim
+2
-2
tests/script/general/parser/limit1_tblocks100.sim
tests/script/general/parser/limit1_tblocks100.sim
+2
-2
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/mixed_blocks.sim
tests/script/general/parser/mixed_blocks.sim
+2
-2
tests/script/general/parser/nchar.sim
tests/script/general/parser/nchar.sim
+2
-2
tests/script/general/parser/null_char.sim
tests/script/general/parser/null_char.sim
+2
-2
tests/script/general/parser/projection_limit_offset.sim
tests/script/general/parser/projection_limit_offset.sim
+2
-2
tests/script/general/parser/selectResNum.sim
tests/script/general/parser/selectResNum.sim
+2
-2
tests/script/general/parser/select_across_vnodes.sim
tests/script/general/parser/select_across_vnodes.sim
+2
-2
tests/script/general/parser/select_from_cache_disk.sim
tests/script/general/parser/select_from_cache_disk.sim
+2
-2
tests/script/general/parser/select_with_tags.sim
tests/script/general/parser/select_with_tags.sim
+2
-2
tests/script/general/parser/set_tag_vals.sim
tests/script/general/parser/set_tag_vals.sim
+2
-2
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
+2
-2
tests/script/general/parser/slimit1.sim
tests/script/general/parser/slimit1.sim
+2
-2
tests/script/general/parser/slimit_alter_tags.sim
tests/script/general/parser/slimit_alter_tags.sim
+2
-2
tests/script/general/parser/stream.sim
tests/script/general/parser/stream.sim
+2
-2
tests/script/general/parser/stream_on_sys.sim
tests/script/general/parser/stream_on_sys.sim
+2
-2
tests/script/general/parser/tags_dynamically_specifiy.sim
tests/script/general/parser/tags_dynamically_specifiy.sim
+2
-2
tests/script/general/parser/tags_filter.sim
tests/script/general/parser/tags_filter.sim
+2
-2
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/parser/where.sim
tests/script/general/parser/where.sim
+2
-2
tests/script/general/show/dnodes.sim
tests/script/general/show/dnodes.sim
+1
-1
tests/script/general/stream/metrics_1.sim
tests/script/general/stream/metrics_1.sim
+1
-1
tests/script/general/stream/metrics_del.sim
tests/script/general/stream/metrics_del.sim
+1
-1
tests/script/general/stream/metrics_n.sim
tests/script/general/stream/metrics_n.sim
+1
-1
tests/script/general/stream/metrics_replica1_vnoden.sim
tests/script/general/stream/metrics_replica1_vnoden.sim
+2
-2
tests/script/general/stream/stream_1.sim
tests/script/general/stream/stream_1.sim
+1
-1
tests/script/general/stream/stream_2.sim
tests/script/general/stream/stream_2.sim
+1
-1
tests/script/general/stream/stream_3.sim
tests/script/general/stream/stream_3.sim
+2
-2
tests/script/general/stream/stream_restart.sim
tests/script/general/stream/stream_restart.sim
+1
-1
tests/script/general/stream/table_1.sim
tests/script/general/stream/table_1.sim
+1
-1
tests/script/general/stream/table_del.sim
tests/script/general/stream/table_del.sim
+1
-1
tests/script/general/stream/table_n.sim
tests/script/general/stream/table_n.sim
+1
-1
tests/script/general/stream/table_replica1_vnoden.sim
tests/script/general/stream/table_replica1_vnoden.sim
+2
-2
tests/script/general/table/autocreate.sim
tests/script/general/table/autocreate.sim
+1
-1
tests/script/general/table/basic1.sim
tests/script/general/table/basic1.sim
+1
-1
tests/script/general/table/basic2.sim
tests/script/general/table/basic2.sim
+1
-1
tests/script/general/table/basic3.sim
tests/script/general/table/basic3.sim
+1
-1
tests/script/general/table/bigint.sim
tests/script/general/table/bigint.sim
+2
-2
tests/script/general/table/binary.sim
tests/script/general/table/binary.sim
+2
-2
tests/script/general/table/bool.sim
tests/script/general/table/bool.sim
+2
-2
tests/script/general/table/column2.sim
tests/script/general/table/column2.sim
+2
-2
tests/script/general/table/column_name.sim
tests/script/general/table/column_name.sim
+2
-2
tests/script/general/table/column_num.sim
tests/script/general/table/column_num.sim
+2
-2
tests/script/general/table/column_value.sim
tests/script/general/table/column_value.sim
+2
-2
tests/script/general/table/date.sim
tests/script/general/table/date.sim
+2
-2
tests/script/general/table/db.table.sim
tests/script/general/table/db.table.sim
+2
-2
tests/script/general/table/delete_reuse1.sim
tests/script/general/table/delete_reuse1.sim
+9
-9
tests/script/general/table/delete_reuse2.sim
tests/script/general/table/delete_reuse2.sim
+9
-9
tests/script/general/table/delete_writing.sim
tests/script/general/table/delete_writing.sim
+9
-9
tests/script/general/table/describe.sim
tests/script/general/table/describe.sim
+2
-2
tests/script/general/table/double.sim
tests/script/general/table/double.sim
+2
-2
tests/script/general/table/float.sim
tests/script/general/table/float.sim
+2
-2
tests/script/general/table/int.sim
tests/script/general/table/int.sim
+2
-2
tests/script/general/table/limit.sim
tests/script/general/table/limit.sim
+2
-2
tests/script/general/table/smallint.sim
tests/script/general/table/smallint.sim
+2
-2
tests/script/general/table/table.sim
tests/script/general/table/table.sim
+2
-2
tests/script/general/table/table_len.sim
tests/script/general/table/table_len.sim
+2
-2
tests/script/general/table/tinyint.sim
tests/script/general/table/tinyint.sim
+2
-2
tests/script/general/table/vgroup.sim
tests/script/general/table/vgroup.sim
+2
-2
tests/script/general/tag/3.sim
tests/script/general/tag/3.sim
+2
-2
tests/script/general/tag/4.sim
tests/script/general/tag/4.sim
+2
-2
tests/script/general/tag/5.sim
tests/script/general/tag/5.sim
+2
-2
tests/script/general/tag/6.sim
tests/script/general/tag/6.sim
+2
-2
tests/script/general/tag/add.sim
tests/script/general/tag/add.sim
+2
-2
tests/script/general/tag/bigint.sim
tests/script/general/tag/bigint.sim
+2
-2
tests/script/general/tag/binary.sim
tests/script/general/tag/binary.sim
+2
-2
tests/script/general/tag/binary_binary.sim
tests/script/general/tag/binary_binary.sim
+2
-2
tests/script/general/tag/bool.sim
tests/script/general/tag/bool.sim
+2
-2
tests/script/general/tag/bool_binary.sim
tests/script/general/tag/bool_binary.sim
+2
-2
tests/script/general/tag/bool_int.sim
tests/script/general/tag/bool_int.sim
+2
-2
tests/script/general/tag/change.sim
tests/script/general/tag/change.sim
+2
-2
tests/script/general/tag/column.sim
tests/script/general/tag/column.sim
+2
-2
tests/script/general/tag/commit.sim
tests/script/general/tag/commit.sim
+2
-2
tests/script/general/tag/create.sim
tests/script/general/tag/create.sim
+2
-2
tests/script/general/tag/delete.sim
tests/script/general/tag/delete.sim
+2
-2
tests/script/general/tag/double.sim
tests/script/general/tag/double.sim
+2
-2
tests/script/general/tag/filter.sim
tests/script/general/tag/filter.sim
+2
-2
tests/script/general/tag/float.sim
tests/script/general/tag/float.sim
+2
-2
tests/script/general/tag/int.sim
tests/script/general/tag/int.sim
+2
-2
tests/script/general/tag/int_binary.sim
tests/script/general/tag/int_binary.sim
+2
-2
tests/script/general/tag/int_float.sim
tests/script/general/tag/int_float.sim
+2
-2
tests/script/general/tag/set.sim
tests/script/general/tag/set.sim
+2
-2
tests/script/general/tag/smallint.sim
tests/script/general/tag/smallint.sim
+2
-2
tests/script/general/tag/tinyint.sim
tests/script/general/tag/tinyint.sim
+2
-2
tests/script/general/user/basic1.sim
tests/script/general/user/basic1.sim
+1
-1
tests/script/general/user/monitor.sim
tests/script/general/user/monitor.sim
+2
-2
tests/script/general/user/pass_alter.sim
tests/script/general/user/pass_alter.sim
+2
-2
tests/script/general/user/pass_len.sim
tests/script/general/user/pass_len.sim
+2
-2
tests/script/general/user/user_create.sim
tests/script/general/user/user_create.sim
+2
-2
tests/script/general/user/user_len.sim
tests/script/general/user/user_len.sim
+2
-2
tests/script/general/vector/metrics_field.sim
tests/script/general/vector/metrics_field.sim
+2
-2
tests/script/general/vector/metrics_mix.sim
tests/script/general/vector/metrics_mix.sim
+2
-2
tests/script/general/vector/metrics_query.sim
tests/script/general/vector/metrics_query.sim
+2
-2
tests/script/general/vector/metrics_tag.sim
tests/script/general/vector/metrics_tag.sim
+2
-2
tests/script/general/vector/metrics_time.sim
tests/script/general/vector/metrics_time.sim
+2
-2
tests/script/general/vector/multi.sim
tests/script/general/vector/multi.sim
+2
-2
tests/script/general/vector/single.sim
tests/script/general/vector/single.sim
+2
-2
tests/script/general/vector/table_field.sim
tests/script/general/vector/table_field.sim
+2
-2
tests/script/general/vector/table_mix.sim
tests/script/general/vector/table_mix.sim
+2
-2
tests/script/general/vector/table_query.sim
tests/script/general/vector/table_query.sim
+2
-2
tests/script/general/vector/table_time.sim
tests/script/general/vector/table_time.sim
+2
-2
tests/script/sh/deploy.sh
tests/script/sh/deploy.sh
+29
-23
tests/script/test.sh
tests/script/test.sh
+21
-13
tests/script/tmp/dnode1.sim
tests/script/tmp/dnode1.sim
+1
-1
tests/script/tmp/mnodes.sim
tests/script/tmp/mnodes.sim
+3
-3
tests/script/tmp/prepare.sim
tests/script/tmp/prepare.sim
+4
-8
tests/script/unique/account/account_create.sim
tests/script/unique/account/account_create.sim
+1
-3
tests/script/unique/account/account_delete.sim
tests/script/unique/account/account_delete.sim
+4
-5
tests/script/unique/account/account_len.sim
tests/script/unique/account/account_len.sim
+1
-3
tests/script/unique/account/authority.sim
tests/script/unique/account/authority.sim
+1
-3
tests/script/unique/account/basic.sim
tests/script/unique/account/basic.sim
+1
-1
tests/script/unique/account/paras.sim
tests/script/unique/account/paras.sim
+1
-1
tests/script/unique/account/pass_alter.sim
tests/script/unique/account/pass_alter.sim
+1
-3
tests/script/unique/account/pass_len.sim
tests/script/unique/account/pass_len.sim
+1
-3
tests/script/unique/account/testSuite.sim
tests/script/unique/account/testSuite.sim
+5
-6
tests/script/unique/account/usage.sim
tests/script/unique/account/usage.sim
+1
-1
tests/script/unique/account/user_create.sim
tests/script/unique/account/user_create.sim
+1
-3
tests/script/unique/account/user_len.sim
tests/script/unique/account/user_len.sim
+1
-3
tests/script/unique/big/balance.sim
tests/script/unique/big/balance.sim
+19
-19
tests/script/unique/big/maxvnodes.sim
tests/script/unique/big/maxvnodes.sim
+6
-6
tests/script/unique/big/tcp.sim
tests/script/unique/big/tcp.sim
+1
-1
tests/script/unique/cluster/backup/balance4.sim
tests/script/unique/cluster/backup/balance4.sim
+81
-81
tests/script/unique/cluster/backup/balance5.sim
tests/script/unique/cluster/backup/balance5.sim
+33
-33
tests/script/unique/cluster/backup/balancex.sim
tests/script/unique/cluster/backup/balancex.sim
+32
-32
tests/script/unique/cluster/balance1.sim
tests/script/unique/cluster/balance1.sim
+89
-103
tests/script/unique/cluster/balance1_bug.sim
tests/script/unique/cluster/balance1_bug.sim
+85
-96
tests/script/unique/cluster/balance1_single.sim
tests/script/unique/cluster/balance1_single.sim
+47
-60
tests/script/unique/cluster/balance2.sim
tests/script/unique/cluster/balance2.sim
+99
-116
tests/script/unique/cluster/balance3.sim
tests/script/unique/cluster/balance3.sim
+69
-69
tests/script/unique/column/replica3.sim
tests/script/unique/column/replica3.sim
+6
-6
tests/script/unique/db/commit.sim
tests/script/unique/db/commit.sim
+6
-6
tests/script/unique/db/delete.sim
tests/script/unique/db/delete.sim
+6
-6
tests/script/unique/db/delete_part.sim
tests/script/unique/db/delete_part.sim
+9
-9
tests/script/unique/db/replica_add12.sim
tests/script/unique/db/replica_add12.sim
+9
-9
tests/script/unique/db/replica_add13.sim
tests/script/unique/db/replica_add13.sim
+9
-9
tests/script/unique/db/replica_add23.sim
tests/script/unique/db/replica_add23.sim
+9
-9
tests/script/unique/db/replica_part.sim
tests/script/unique/db/replica_part.sim
+6
-6
tests/script/unique/db/replica_reduce21.sim
tests/script/unique/db/replica_reduce21.sim
+6
-6
tests/script/unique/db/replica_reduce31.sim
tests/script/unique/db/replica_reduce31.sim
+6
-6
tests/script/unique/db/replica_reduce32.sim
tests/script/unique/db/replica_reduce32.sim
+6
-6
tests/script/unique/dnode/backup/balance4.sim
tests/script/unique/dnode/backup/balance4.sim
+0
-435
tests/script/unique/dnode/backup/balance5.sim
tests/script/unique/dnode/backup/balance5.sim
+0
-469
tests/script/unique/dnode/backup/unremove.sim
tests/script/unique/dnode/backup/unremove.sim
+0
-149
tests/script/unique/dnode/balance1.sim
tests/script/unique/dnode/balance1.sim
+33
-33
tests/script/unique/dnode/balance2.sim
tests/script/unique/dnode/balance2.sim
+35
-35
tests/script/unique/dnode/balance3.sim
tests/script/unique/dnode/balance3.sim
+41
-41
tests/script/unique/dnode/balancex.sim
tests/script/unique/dnode/balancex.sim
+19
-19
tests/script/unique/dnode/basic1.sim
tests/script/unique/dnode/basic1.sim
+2
-2
tests/script/unique/dnode/monitor_bug.sim
tests/script/unique/dnode/monitor_bug.sim
+7
-7
tests/script/unique/dnode/offline1.sim
tests/script/unique/dnode/offline1.sim
+6
-6
tests/script/unique/dnode/offline2.sim
tests/script/unique/dnode/offline2.sim
+6
-6
tests/script/unique/dnode/remove1.sim
tests/script/unique/dnode/remove1.sim
+20
-20
tests/script/unique/dnode/remove2.sim
tests/script/unique/dnode/remove2.sim
+16
-16
tests/script/unique/dnode/vnode_clean.sim
tests/script/unique/dnode/vnode_clean.sim
+29
-30
tests/script/unique/http/admin.sim
tests/script/unique/http/admin.sim
+2
-2
tests/script/unique/http/opentsdb.sim
tests/script/unique/http/opentsdb.sim
+2
-2
tests/script/unique/import/replica2.sim
tests/script/unique/import/replica2.sim
+8
-13
tests/script/unique/import/replica3.sim
tests/script/unique/import/replica3.sim
+8
-13
tests/script/unique/metrics/balance_replica1.sim
tests/script/unique/metrics/balance_replica1.sim
+8
-8
tests/script/unique/metrics/dnode2.sim
tests/script/unique/metrics/dnode2.sim
+4
-4
tests/script/unique/metrics/dnode2_stop.sim
tests/script/unique/metrics/dnode2_stop.sim
+4
-4
tests/script/unique/metrics/dnode3.sim
tests/script/unique/metrics/dnode3.sim
+9
-9
tests/script/unique/metrics/replica2_dnode4.sim
tests/script/unique/metrics/replica2_dnode4.sim
+8
-8
tests/script/unique/metrics/replica2_vnode3.sim
tests/script/unique/metrics/replica2_vnode3.sim
+4
-4
tests/script/unique/metrics/replica3_dnode6.sim
tests/script/unique/metrics/replica3_dnode6.sim
+13
-13
tests/script/unique/metrics/replica3_vnode3.sim
tests/script/unique/metrics/replica3_vnode3.sim
+8
-8
tests/script/unique/mnode/backup/mgmt44.sim
tests/script/unique/mnode/backup/mgmt44.sim
+0
-240
tests/script/unique/mnode/backup/mgmt45.sim
tests/script/unique/mnode/backup/mgmt45.sim
+0
-336
tests/script/unique/mnode/backup/mgmt55.sim
tests/script/unique/mnode/backup/mgmt55.sim
+0
-328
tests/script/unique/mnode/backup/mgmt56.sim
tests/script/unique/mnode/backup/mgmt56.sim
+0
-394
tests/script/unique/mnode/backup/mgmt57.sim
tests/script/unique/mnode/backup/mgmt57.sim
+0
-408
tests/script/unique/mnode/mgmt22.sim
tests/script/unique/mnode/mgmt22.sim
+20
-29
tests/script/unique/mnode/mgmt23.sim
tests/script/unique/mnode/mgmt23.sim
+20
-30
tests/script/unique/mnode/mgmt24.sim
tests/script/unique/mnode/mgmt24.sim
+14
-23
tests/script/unique/mnode/mgmt25.sim
tests/script/unique/mnode/mgmt25.sim
+16
-25
tests/script/unique/mnode/mgmt26.sim
tests/script/unique/mnode/mgmt26.sim
+20
-30
tests/script/unique/mnode/mgmt33.sim
tests/script/unique/mnode/mgmt33.sim
+26
-36
tests/script/unique/mnode/mgmt34.sim
tests/script/unique/mnode/mgmt34.sim
+41
-42
tests/script/unique/mnode/mgmtr2.sim
tests/script/unique/mnode/mgmtr2.sim
+9
-18
tests/script/unique/mnode/secondIp.sim
tests/script/unique/mnode/secondIp.sim
+6
-10
tests/script/unique/stream/metrics_balance.sim
tests/script/unique/stream/metrics_balance.sim
+8
-8
tests/script/unique/stream/metrics_replica1_dnode2.sim
tests/script/unique/stream/metrics_replica1_dnode2.sim
+4
-4
tests/script/unique/stream/metrics_replica2_dnode2.sim
tests/script/unique/stream/metrics_replica2_dnode2.sim
+4
-4
tests/script/unique/stream/metrics_replica2_dnode2_vnoden.sim
...s/script/unique/stream/metrics_replica2_dnode2_vnoden.sim
+4
-4
tests/script/unique/stream/metrics_replica2_dnode3.sim
tests/script/unique/stream/metrics_replica2_dnode3.sim
+6
-6
tests/script/unique/stream/metrics_replica3_dnode4.sim
tests/script/unique/stream/metrics_replica3_dnode4.sim
+8
-8
tests/script/unique/stream/metrics_vnode_stop.sim
tests/script/unique/stream/metrics_vnode_stop.sim
+6
-6
tests/script/unique/stream/table_balance.sim
tests/script/unique/stream/table_balance.sim
+8
-8
tests/script/unique/stream/table_move.sim
tests/script/unique/stream/table_move.sim
+14
-14
tests/script/unique/stream/table_replica1_dnode2.sim
tests/script/unique/stream/table_replica1_dnode2.sim
+4
-4
tests/script/unique/stream/table_replica2_dnode2.sim
tests/script/unique/stream/table_replica2_dnode2.sim
+4
-4
tests/script/unique/stream/table_replica2_dnode2_vnoden.sim
tests/script/unique/stream/table_replica2_dnode2_vnoden.sim
+4
-4
tests/script/unique/stream/table_replica2_dnode3.sim
tests/script/unique/stream/table_replica2_dnode3.sim
+6
-6
tests/script/unique/stream/table_replica3_dnode4.sim
tests/script/unique/stream/table_replica3_dnode4.sim
+8
-8
tests/script/unique/stream/table_vnode_stop.sim
tests/script/unique/stream/table_vnode_stop.sim
+6
-6
tests/script/unique/table/delete_part.sim
tests/script/unique/table/delete_part.sim
+9
-9
tests/script/unique/vnode/backup/replica4.sim
tests/script/unique/vnode/backup/replica4.sim
+9
-9
tests/script/unique/vnode/backup/replica5.sim
tests/script/unique/vnode/backup/replica5.sim
+11
-11
tests/script/unique/vnode/commit.sim
tests/script/unique/vnode/commit.sim
+4
-4
tests/script/unique/vnode/many.sim
tests/script/unique/vnode/many.sim
+8
-8
tests/script/unique/vnode/replica2_basic.sim
tests/script/unique/vnode/replica2_basic.sim
+8
-8
tests/script/unique/vnode/replica2_basic2.sim
tests/script/unique/vnode/replica2_basic2.sim
+9
-9
tests/script/unique/vnode/replica2_repeat.sim
tests/script/unique/vnode/replica2_repeat.sim
+8
-8
tests/script/unique/vnode/replica3_basic.sim
tests/script/unique/vnode/replica3_basic.sim
+6
-6
tests/script/unique/vnode/replica3_repeat.sim
tests/script/unique/vnode/replica3_repeat.sim
+8
-8
tests/script/unique/vnode/replica3_vgroup.sim
tests/script/unique/vnode/replica3_vgroup.sim
+6
-6
tests/test-all.sh
tests/test-all.sh
+0
-1
tests/test/c/importOneRow.c
tests/test/c/importOneRow.c
+1
-1
tests/test/c/importPerTabe.c
tests/test/c/importPerTabe.c
+2
-2
tests/test/c/insertPerRow.c
tests/test/c/insertPerRow.c
+2
-2
tests/test/c/insertPerTable.c
tests/test/c/insertPerTable.c
+2
-2
tests/tsim/src/simExe.c
tests/tsim/src/simExe.c
+5
-0
tests/tsim/src/simSystem.c
tests/tsim/src/simSystem.c
+43
-0
未找到文件。
src/client/src/tscSQLParser.c
浏览文件 @
497a9799
...
...
@@ -304,10 +304,11 @@ int32_t tscToSQLCmd(SSqlObj* pSql, struct SSqlInfo* pInfo) {
}
SSQLToken
*
pIpAddr
=
&
pInfo
->
pDCLInfo
->
a
[
0
];
if
(
!
validateIpAddress
(
pIpAddr
->
z
,
pIpAddr
->
n
))
{
return
invalidSqlErrMsg
(
tscGetErrorMsgPayload
(
pCmd
),
msg
);
}
//
if (!validateIpAddress(pIpAddr->z, pIpAddr->n)) {
//
return invalidSqlErrMsg(tscGetErrorMsgPayload(pCmd), msg);
//
}
pIpAddr
->
n
=
strdequote
(
pIpAddr
->
z
);
break
;
}
...
...
src/client/src/tscServer.c
浏览文件 @
497a9799
...
...
@@ -79,7 +79,7 @@ void tscSetMgmtIpListFromEdge() {
if
(
tscMgmtIpSet
.
numOfIps
!=
1
)
{
tscMgmtIpSet
.
numOfIps
=
1
;
tscMgmtIpSet
.
inUse
=
0
;
taosGetFqdnPortFromEp
(
ts
Master
,
tscMgmtIpSet
.
fqdn
[
0
],
&
tscMgmtIpSet
.
port
[
0
]);
taosGetFqdnPortFromEp
(
ts
First
,
tscMgmtIpSet
.
fqdn
[
0
],
&
tscMgmtIpSet
.
port
[
0
]);
tscTrace
(
"edge mgmt IP list:"
);
tscPrintMgmtIp
();
}
...
...
src/client/src/tscSql.c
浏览文件 @
497a9799
...
...
@@ -80,8 +80,8 @@ STscObj *taosConnectImpl(const char *ip, const char *user, const char *pass, con
strcpy
(
tscMgmtIpSet
.
fqdn
[
0
],
ip
);
tscMgmtIpSet
.
port
[
0
]
=
port
?
port
:
tsMnodeShellPort
;
}
else
{
if
(
ts
Master
[
0
]
!=
0
)
{
taosGetFqdnPortFromEp
(
ts
Master
,
tscMgmtIpSet
.
fqdn
[
tscMgmtIpSet
.
numOfIps
],
&
tscMgmtIpSet
.
port
[
tscMgmtIpSet
.
numOfIps
]);
if
(
ts
First
[
0
]
!=
0
)
{
taosGetFqdnPortFromEp
(
ts
First
,
tscMgmtIpSet
.
fqdn
[
tscMgmtIpSet
.
numOfIps
],
&
tscMgmtIpSet
.
port
[
tscMgmtIpSet
.
numOfIps
]);
tscMgmtIpSet
.
numOfIps
++
;
}
...
...
src/client/src/tscSystem.c
浏览文件 @
497a9799
...
...
@@ -136,9 +136,9 @@ void taos_init_imp() {
tscMgmtIpSet
.
inUse
=
0
;
tscMgmtIpSet
.
numOfIps
=
1
;
taosGetFqdnPortFromEp
(
ts
Master
,
tscMgmtIpSet
.
fqdn
[
0
],
&
tscMgmtIpSet
.
port
[
0
]);
taosGetFqdnPortFromEp
(
ts
First
,
tscMgmtIpSet
.
fqdn
[
0
],
&
tscMgmtIpSet
.
port
[
0
]);
if
(
tsSecond
[
0
]
&&
strcmp
(
tsSecond
,
ts
Master
)
!=
0
)
{
if
(
tsSecond
[
0
]
&&
strcmp
(
tsSecond
,
ts
First
)
!=
0
)
{
tscMgmtIpSet
.
numOfIps
=
2
;
taosGetFqdnPortFromEp
(
tsSecond
,
tscMgmtIpSet
.
fqdn
[
1
],
&
tscMgmtIpSet
.
port
[
1
]);
}
...
...
src/common/inc/tglobal.h
浏览文件 @
497a9799
...
...
@@ -51,7 +51,7 @@ extern int32_t tsVersion;
extern
int32_t
tscEmbedded
;
extern
int64_t
tsMsPerDay
[
2
];
extern
char
ts
Master
[];
extern
char
ts
First
[];
extern
char
tsSecond
[];
extern
char
tsLocalEp
[];
extern
uint16_t
tsServerPort
;
...
...
src/common/src/tglobal.c
浏览文件 @
497a9799
...
...
@@ -61,7 +61,7 @@ int32_t tscEmbedded = 0;
*/
int64_t
tsMsPerDay
[]
=
{
86400000L
,
86400000000L
};
char
ts
Master
[
TSDB_FQDN_LEN
]
=
{
0
};
char
ts
First
[
TSDB_FQDN_LEN
]
=
{
0
};
char
tsSecond
[
TSDB_FQDN_LEN
]
=
{
0
};
char
tsArbitrator
[
TSDB_FQDN_LEN
]
=
{
0
};
char
tsLocalEp
[
TSDB_FQDN_LEN
]
=
{
0
};
// Local End Point, hostname:port
...
...
@@ -272,9 +272,9 @@ static void doInitGlobalConfig() {
SGlobalCfg
cfg
=
{
0
};
// ip address
cfg
.
option
=
"
master
"
;
cfg
.
ptr
=
ts
Master
;
cfg
.
valType
=
TAOS_CFG_VTYPE_
IPSTR
;
cfg
.
option
=
"
first
"
;
cfg
.
ptr
=
ts
First
;
cfg
.
valType
=
TAOS_CFG_VTYPE_
STRING
;
cfg
.
cfgType
=
TSDB_CFG_CTYPE_B_CONFIG
|
TSDB_CFG_CTYPE_B_CLIENT
;
cfg
.
minValue
=
0
;
cfg
.
maxValue
=
0
;
...
...
@@ -284,7 +284,7 @@ static void doInitGlobalConfig() {
cfg
.
option
=
"second"
;
cfg
.
ptr
=
tsSecond
;
cfg
.
valType
=
TAOS_CFG_VTYPE_
IPSTR
;
cfg
.
valType
=
TAOS_CFG_VTYPE_
STRING
;
cfg
.
cfgType
=
TSDB_CFG_CTYPE_B_CONFIG
|
TSDB_CFG_CTYPE_B_CLIENT
;
cfg
.
minValue
=
0
;
cfg
.
maxValue
=
0
;
...
...
@@ -346,7 +346,7 @@ static void doInitGlobalConfig() {
cfg
.
option
=
"arbitrator"
;
cfg
.
ptr
=
tsArbitrator
;
cfg
.
valType
=
TAOS_CFG_VTYPE_
IPSTR
;
cfg
.
valType
=
TAOS_CFG_VTYPE_
STRING
;
cfg
.
cfgType
=
TSDB_CFG_CTYPE_B_CONFIG
|
TSDB_CFG_CTYPE_B_CLIENT
;
cfg
.
minValue
=
0
;
cfg
.
maxValue
=
0
;
...
...
@@ -1204,9 +1204,10 @@ void taosInitGlobalCfg() {
bool
taosCheckGlobalCfg
()
{
taosGetFqdn
(
tsLocalEp
);
sprintf
(
tsLocalEp
+
strlen
(
tsLocalEp
),
":%d"
,
tsServerPort
);
uPrint
(
"localEp is %s"
,
tsLocalEp
);
if
(
ts
Master
[
0
]
==
0
)
{
strcpy
(
ts
Master
,
tsLocalEp
);
if
(
ts
First
[
0
]
==
0
)
{
strcpy
(
ts
First
,
tsLocalEp
);
}
if
(
tsSecond
[
0
]
==
0
)
{
...
...
src/dnode/src/dnodeMClient.c
浏览文件 @
497a9799
...
...
@@ -83,12 +83,12 @@ int32_t dnodeInitMClient() {
memset
(
&
tsMnodeIpSet
,
0
,
sizeof
(
SRpcIpSet
));
memset
(
&
tsMnodeInfos
,
0
,
sizeof
(
SDMMnodeInfos
));
tsMnodeIpSet
.
numOfIps
=
1
;
taosGetFqdnPortFromEp
(
ts
Master
,
tsMnodeIpSet
.
fqdn
[
0
],
&
tsMnodeIpSet
.
port
[
0
]);
taosGetFqdnPortFromEp
(
ts
First
,
tsMnodeIpSet
.
fqdn
[
0
],
&
tsMnodeIpSet
.
port
[
0
]);
tsMnodeIpSet
.
port
[
0
]
+=
TSDB_PORT_MNODEDNODE
;
if
(
strcmp
(
tsSecond
,
ts
Master
)
!=
0
)
{
if
(
strcmp
(
tsSecond
,
ts
First
)
!=
0
)
{
tsMnodeIpSet
.
numOfIps
=
2
;
taosGetFqdnPortFromEp
(
tsSecond
,
tsMnodeIpSet
.
fqdn
[
1
],
&
tsMnodeIpSet
.
port
[
1
]);
tsMnodeIpSet
.
port
[
0
]
+=
TSDB_PORT_MNODEDNODE
;
tsMnodeIpSet
.
port
[
1
]
+=
TSDB_PORT_MNODEDNODE
;
}
}
else
{
tsMnodeIpSet
.
inUse
=
tsMnodeInfos
.
inUse
;
...
...
src/dnode/src/dnodeMain.c
浏览文件 @
497a9799
...
...
@@ -15,6 +15,7 @@
#define _DEFAULT_SOURCE
#include "os.h"
#include "taos.h"
#include "tglobal.h"
#include "trpc.h"
#include "tutil.h"
...
...
@@ -190,6 +191,7 @@ static void dnodeCleanUpSystem() {
dnodeCleanupWrite
();
dnodeCleanupRead
();
dnodeCleanUpModules
();
taos_cleanup
();
dnodeCleanupStorage
();
taosCloseLog
();
}
...
...
@@ -236,5 +238,5 @@ static int32_t dnodeInitStorage() {
static
void
dnodeCleanupStorage
()
{}
bool
dnodeIsFirstDeploy
()
{
return
strcmp
(
ts
Master
,
tsLocalEp
)
==
0
;
return
strcmp
(
ts
First
,
tsLocalEp
)
==
0
;
}
src/inc/taosdef.h
浏览文件 @
497a9799
...
...
@@ -194,7 +194,7 @@ void tsDataSwap(void *pLeft, void *pRight, int32_t type, int32_t size);
#define TSDB_LOCALE_LEN 64
#define TSDB_TIMEZONE_LEN 64
#define TSDB_FQDN_LEN
64
#define TSDB_FQDN_LEN
72
#define TSDB_IPv4ADDR_LEN 16
#define TSDB_FILENAME_LEN 128
#define TSDB_METER_VNODE_BITS 20
...
...
src/inc/tsdb.h
浏览文件 @
497a9799
...
...
@@ -104,9 +104,10 @@ void tsdbClearTableCfg(STableCfg *config);
int32_t
tsdbGetTableTagVal
(
TsdbRepoT
*
repo
,
STableId
id
,
int32_t
col
,
int16_t
*
type
,
int16_t
*
bytes
,
char
**
val
);
int32_t
tsdbTableGetName
(
TsdbRepoT
*
repo
,
STableId
id
,
char
**
name
);
int
tsdbCreateTable
(
TsdbRepoT
*
repo
,
STableCfg
*
pCfg
);
int
tsdbDropTable
(
TsdbRepoT
*
pRepo
,
STableId
tableId
);
int
tsdbAlterTable
(
TsdbRepoT
*
repo
,
STableCfg
*
pCfg
);
int
tsdbCreateTable
(
TsdbRepoT
*
repo
,
STableCfg
*
pCfg
);
int
tsdbDropTable
(
TsdbRepoT
*
pRepo
,
STableId
tableId
);
int
tsdbAlterTable
(
TsdbRepoT
*
repo
,
STableCfg
*
pCfg
);
TSKEY
tsdbGetTableLastKey
(
TsdbRepoT
*
repo
,
int64_t
uid
);
// the TSDB repository info
typedef
struct
STsdbRepoInfo
{
...
...
src/mnode/inc/mgmtSdb.h
浏览文件 @
497a9799
...
...
@@ -72,6 +72,7 @@ void sdbCleanUp();
void
*
sdbOpenTable
(
SSdbTableDesc
*
desc
);
void
sdbCloseTable
(
void
*
handle
);
bool
sdbIsMaster
();
bool
sdbIsServing
();
void
sdbUpdateMnodeRoles
();
int32_t
sdbInsertRow
(
SSdbOper
*
pOper
);
...
...
src/mnode/src/mgmtDServer.c
浏览文件 @
497a9799
...
...
@@ -107,6 +107,7 @@ static void mgmtProcessMsgFromDnode(SRpcMsg *rpcMsg) {
SRpcIpSet
ipSet
=
{
0
};
dnodeGetMnodeDnodeIpSet
(
&
ipSet
);
mTrace
(
"conn from dnode ip:%s user:%s redirect msg, inUse:%d"
,
taosIpStr
(
connInfo
.
clientIp
),
connInfo
.
user
,
ipSet
.
inUse
);
for
(
int32_t
i
=
0
;
i
<
ipSet
.
numOfIps
;
++
i
)
{
mTrace
(
"index:%d %s:%d"
,
i
,
ipSet
.
fqdn
[
i
],
ipSet
.
port
[
i
]);
...
...
src/mnode/src/mgmtDnode.c
浏览文件 @
497a9799
...
...
@@ -324,7 +324,7 @@ void mgmtProcessDnodeStatusMsg(SRpcMsg *rpcMsg) {
if
(
pStatus
->
dnodeId
==
0
)
{
mTrace
(
"dnode:%d %s, first access"
,
pDnode
->
dnodeId
,
pDnode
->
dnodeEp
);
}
else
{
mTrace
(
"dnode:%d, status received, access times %d"
,
pDnode
->
dnodeId
,
pDnode
->
lastAccess
);
//
mTrace("dnode:%d, status received, access times %d", pDnode->dnodeId, pDnode->lastAccess);
}
int32_t
openVnodes
=
htons
(
pStatus
->
openVnodes
);
...
...
src/mnode/src/mgmtMain.c
浏览文件 @
497a9799
...
...
@@ -130,7 +130,7 @@ int32_t mgmtInitSystem() {
struct
stat
dirstat
;
bool
fileExist
=
(
stat
(
tsMnodeDir
,
&
dirstat
)
==
0
);
bool
asMaster
=
(
strcmp
(
ts
Master
,
tsLocalEp
)
==
0
);
bool
asMaster
=
(
strcmp
(
ts
First
,
tsLocalEp
)
==
0
);
if
(
asMaster
||
fileExist
)
{
if
(
mgmtStartSystem
()
!=
0
)
{
...
...
src/mnode/src/mgmtSdb.c
浏览文件 @
497a9799
...
...
@@ -40,7 +40,7 @@ typedef enum {
typedef
enum
{
SDB_STATUS_OFFLINE
,
SDB_STATUS_SERVING
,
SDB_
ACTION
_CLOSING
SDB_
STATUS
_CLOSING
}
ESdbStatus
;
typedef
struct
_SSdbTable
{
...
...
@@ -107,6 +107,10 @@ bool sdbIsMaster() {
return
tsSdbObj
.
role
==
TAOS_SYNC_ROLE_MASTER
;
}
bool
sdbIsServing
()
{
return
tsSdbObj
.
status
==
SDB_STATUS_SERVING
;
}
static
char
*
sdbGetActionStr
(
int32_t
action
)
{
switch
(
action
)
{
case
SDB_ACTION_INSERT
:
...
...
@@ -314,6 +318,7 @@ int32_t sdbInit() {
void
sdbCleanUp
()
{
if
(
tsSdbObj
.
status
!=
SDB_STATUS_SERVING
)
return
;
tsSdbObj
.
status
=
SDB_STATUS_CLOSING
;
syncStop
(
tsSdbObj
.
sync
);
free
(
tsSdbObj
.
sync
);
walClose
(
tsSdbObj
.
wal
);
...
...
src/query/src/sql.c
浏览文件 @
497a9799
...
...
@@ -27,7 +27,6 @@
#include <assert.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "qsqlparser.h"
...
...
@@ -203,61 +202,62 @@ typedef union {
** yy_default[] Default action for each state.
**
*********** Begin parsing tables **********************************************/
#define YY_ACTTAB_COUNT (5
29
)
#define YY_ACTTAB_COUNT (5
31
)
static
const
YYACTIONTYPE
yy_action
[]
=
{
/* 0 */
752
,
440
,
13
2
,
150
,
244
,
10
,
616
,
246
,
132
,
441
,
/* 10 */
13
2
,
155
,
821
,
41
,
43
,
20
,
35
,
36
,
820
,
154
,
/* 20 */
821
,
29
,
741
,
440
,
20
0
,
39
,
37
,
40
,
38
,
131
,
/* 30 */
499
,
441
,
9
6
,
34
,
33
,
100
,
151
,
32
,
31
,
30
,
/* 40 */
41
,
43
,
741
,
35
,
36
,
15
2
,
136
,
163
,
29
,
727
,
/* 50 */
749
,
20
0
,
39
,
37
,
40
,
38
,
185
,
100
,
225
,
224
,
/* 60 */
34
,
33
,
16
2
,
730
,
32
,
31
,
30
,
400
,
401
,
402
,
/* 0 */
752
,
440
,
13
3
,
151
,
244
,
10
,
616
,
246
,
133
,
441
,
/* 10 */
13
3
,
156
,
821
,
41
,
43
,
20
,
35
,
36
,
820
,
155
,
/* 20 */
821
,
29
,
741
,
440
,
20
1
,
39
,
37
,
40
,
38
,
132
,
/* 30 */
499
,
441
,
9
7
,
34
,
33
,
101
,
152
,
32
,
31
,
30
,
/* 40 */
41
,
43
,
741
,
35
,
36
,
15
3
,
137
,
164
,
29
,
727
,
/* 50 */
749
,
20
1
,
39
,
37
,
40
,
38
,
186
,
101
,
225
,
224
,
/* 60 */
34
,
33
,
16
3
,
730
,
32
,
31
,
30
,
400
,
401
,
402
,
/* 70 */
403
,
404
,
405
,
406
,
407
,
408
,
409
,
410
,
411
,
245
,
/* 80 */
730
,
41
,
43
,
18
8
,
35
,
36
,
215
,
236
,
197
,
29
,
/* 90 */
58
,
20
,
20
0
,
39
,
37
,
40
,
38
,
32
,
31
,
30
,
/* 100 */
56
,
34
,
33
,
7
5
,
730
,
32
,
31
,
30
,
43
,
236
,
/* 110 */
35
,
36
,
776
,
817
,
19
5
,
29
,
20
,
20
,
200
,
39
,
/* 120 */
37
,
40
,
38
,
16
4
,
570
,
727
,
227
,
34
,
33
,
440
,
/* 130 */
16
7
,
32
,
31
,
30
,
238
,
35
,
36
,
441
,
7
,
816
,
/* 140 */
29
,
61
,
11
0
,
200
,
39
,
37
,
40
,
38
,
223
,
228
,
/* 80 */
730
,
41
,
43
,
18
9
,
35
,
36
,
216
,
236
,
198
,
29
,
/* 90 */
58
,
20
,
20
1
,
39
,
37
,
40
,
38
,
32
,
31
,
30
,
/* 100 */
56
,
34
,
33
,
7
6
,
730
,
32
,
31
,
30
,
43
,
236
,
/* 110 */
35
,
36
,
776
,
817
,
19
6
,
29
,
20
,
20
,
201
,
39
,
/* 120 */
37
,
40
,
38
,
16
5
,
570
,
727
,
227
,
34
,
33
,
440
,
/* 130 */
16
8
,
32
,
31
,
30
,
238
,
35
,
36
,
441
,
7
,
816
,
/* 140 */
29
,
61
,
11
1
,
201
,
39
,
37
,
40
,
38
,
223
,
228
,
/* 150 */
727
,
727
,
34
,
33
,
50
,
728
,
32
,
31
,
30
,
15
,
/* 160 */
21
4
,
237
,
213
,
212
,
211
,
210
,
209
,
208
,
207
,
206
,
/* 160 */
21
5
,
237
,
214
,
213
,
212
,
211
,
210
,
209
,
208
,
207
,
/* 170 */
712
,
51
,
701
,
702
,
703
,
704
,
705
,
706
,
707
,
708
,
/* 180 */
709
,
710
,
711
,
1
59
,
583
,
11
,
815
,
574
,
100
,
577
,
/* 190 */
10
0
,
580
,
168
,
159
,
583
,
222
,
221
,
574
,
16
,
577
,
/* 200 */
20
,
580
,
34
,
33
,
14
5
,
26
,
32
,
31
,
30
,
238
,
/* 210 */
8
6
,
85
,
139
,
174
,
657
,
156
,
157
,
123
,
144
,
199
,
/* 220 */
18
2
,
715
,
179
,
714
,
148
,
156
,
157
,
159
,
583
,
531
,
/* 230 */
60
,
574
,
1
49
,
577
,
726
,
580
,
237
,
16
,
39
,
37
,
/* 180 */
709
,
710
,
711
,
1
60
,
583
,
11
,
815
,
574
,
101
,
577
,
/* 190 */
10
1
,
580
,
169
,
160
,
583
,
222
,
221
,
574
,
16
,
577
,
/* 200 */
20
,
580
,
34
,
33
,
14
6
,
26
,
32
,
31
,
30
,
238
,
/* 210 */
8
7
,
86
,
140
,
175
,
657
,
157
,
158
,
124
,
145
,
200
,
/* 220 */
18
3
,
715
,
180
,
714
,
149
,
157
,
158
,
160
,
583
,
531
,
/* 230 */
60
,
574
,
1
50
,
577
,
726
,
580
,
237
,
16
,
39
,
37
,
/* 240 */
40
,
38
,
27
,
775
,
26
,
59
,
34
,
33
,
551
,
552
,
/* 250 */
32
,
31
,
30
,
13
7
,
113
,
114
,
219
,
64
,
67
,
156
,
/* 260 */
15
7
,
95
,
515
,
666
,
184
,
512
,
123
,
513
,
26
,
514
,
/* 270 */
523
,
14
7
,
127
,
125
,
240
,
88
,
87
,
187
,
42
,
158
,
/* 280 */
7
3
,
77
,
239
,
84
,
76
,
572
,
528
,
729
,
42
,
582
,
/* 290 */
79
,
17
,
658
,
165
,
166
,
123
,
243
,
242
,
92
,
582
,
/* 250 */
32
,
31
,
30
,
13
8
,
114
,
115
,
68
,
64
,
67
,
157
,
/* 260 */
15
8
,
96
,
515
,
666
,
185
,
512
,
124
,
513
,
26
,
514
,
/* 270 */
523
,
14
8
,
128
,
126
,
240
,
89
,
88
,
188
,
42
,
159
,
/* 280 */
7
4
,
78
,
239
,
85
,
77
,
572
,
528
,
729
,
42
,
582
,
/* 290 */
80
,
17
,
658
,
166
,
167
,
124
,
243
,
242
,
93
,
582
,
/* 300 */
47
,
542
,
543
,
600
,
581
,
45
,
13
,
12
,
584
,
576
,
/* 310 */
138
,
579
,
12
,
575
,
581
,
578
,
2
,
72
,
71
,
48
,
/* 320 */
505
,
573
,
42
,
743
,
45
,
504
,
204
,
9
,
8
,
21
,
/* 330 */
21
,
140
,
519
,
582
,
520
,
517
,
141
,
518
,
83
,
82
,
/* 340 */
142
,
143
,
134
,
130
,
135
,
830
,
133
,
786
,
581
,
785
,
/* 350 */
160
,
782
,
781
,
161
,
751
,
721
,
768
,
226
,
97
,
767
,
/* 360 */
111
,
112
,
516
,
668
,
205
,
109
,
128
,
24
,
218
,
220
,
/* 370 */
829
,
69
,
26
,
828
,
826
,
115
,
186
,
686
,
25
,
22
,
/* 380 */
90
,
129
,
655
,
78
,
653
,
80
,
651
,
650
,
169
,
538
,
/* 390 */
124
,
648
,
189
,
647
,
646
,
644
,
636
,
193
,
52
,
740
,
/* 400 */
126
,
642
,
640
,
638
,
49
,
755
,
756
,
101
,
769
,
44
,
/* 410 */
198
,
196
,
194
,
28
,
192
,
190
,
217
,
74
,
229
,
230
,
/* 420 */
202
,
232
,
231
,
614
,
233
,
234
,
53
,
235
,
241
,
170
,
/* 430 */
146
,
62
,
171
,
65
,
173
,
172
,
613
,
176
,
175
,
178
,
/* 440 */
649
,
177
,
612
,
89
,
91
,
117
,
687
,
118
,
116
,
119
,
/* 450 */
120
,
643
,
104
,
102
,
122
,
725
,
106
,
103
,
105
,
121
,
/* 460 */
107
,
1
,
108
,
23
,
180
,
181
,
605
,
183
,
187
,
525
,
/* 470 */
55
,
539
,
153
,
98
,
57
,
191
,
18
,
63
,
4
,
544
,
/* 480 */
99
,
5
,
585
,
3
,
19
,
14
,
201
,
6
,
203
,
480
,
/* 490 */
479
,
478
,
477
,
476
,
475
,
474
,
473
,
471
,
45
,
444
,
/* 500 */
66
,
446
,
21
,
501
,
216
,
68
,
500
,
498
,
54
,
465
,
/* 510 */
46
,
463
,
455
,
70
,
461
,
457
,
459
,
453
,
451
,
472
,
/* 520 */
470
,
81
,
426
,
442
,
93
,
415
,
94
,
413
,
618
,
/* 310 */
139
,
579
,
12
,
575
,
581
,
578
,
2
,
73
,
72
,
48
,
/* 320 */
505
,
573
,
42
,
743
,
45
,
504
,
205
,
9
,
8
,
21
,
/* 330 */
21
,
141
,
519
,
582
,
520
,
517
,
142
,
518
,
84
,
83
,
/* 340 */
143
,
144
,
135
,
131
,
136
,
830
,
134
,
786
,
581
,
785
,
/* 350 */
161
,
782
,
781
,
162
,
751
,
721
,
768
,
226
,
98
,
767
,
/* 360 */
112
,
113
,
516
,
668
,
206
,
110
,
129
,
24
,
219
,
665
,
/* 370 */
220
,
829
,
26
,
70
,
828
,
826
,
187
,
116
,
686
,
25
,
/* 380 */
91
,
22
,
130
,
655
,
79
,
653
,
81
,
651
,
650
,
538
,
/* 390 */
170
,
125
,
190
,
648
,
647
,
646
,
644
,
194
,
52
,
740
,
/* 400 */
636
,
127
,
642
,
640
,
638
,
49
,
755
,
102
,
756
,
44
,
/* 410 */
769
,
199
,
197
,
195
,
193
,
191
,
28
,
218
,
75
,
229
,
/* 420 */
230
,
231
,
232
,
233
,
234
,
235
,
203
,
53
,
241
,
614
,
/* 430 */
171
,
172
,
147
,
62
,
65
,
174
,
613
,
177
,
173
,
179
,
/* 440 */
612
,
176
,
649
,
178
,
181
,
643
,
123
,
687
,
117
,
119
,
/* 450 */
118
,
120
,
121
,
90
,
103
,
725
,
108
,
104
,
105
,
122
,
/* 460 */
106
,
107
,
109
,
92
,
1
,
23
,
182
,
188
,
605
,
184
,
/* 470 */
525
,
55
,
539
,
57
,
99
,
154
,
192
,
18
,
63
,
4
,
/* 480 */
544
,
100
,
480
,
585
,
3
,
19
,
5
,
14
,
202
,
6
,
/* 490 */
204
,
479
,
478
,
477
,
476
,
475
,
474
,
473
,
471
,
45
,
/* 500 */
217
,
444
,
66
,
21
,
501
,
500
,
46
,
498
,
54
,
465
,
/* 510 */
463
,
455
,
461
,
457
,
69
,
459
,
71
,
453
,
451
,
472
,
/* 520 */
470
,
82
,
426
,
442
,
94
,
415
,
413
,
618
,
617
,
617
,
/* 530 */
95
,
};
static
const
YYCODETYPE
yy_lookahead
[]
=
{
/* 0 */
207
,
1
,
256
,
206
,
207
,
256
,
204
,
205
,
256
,
9
,
...
...
@@ -300,20 +300,20 @@ static const YYCODETYPE yy_lookahead[] = {
/* 370 */
207
,
207
,
103
,
207
,
207
,
207
,
240
,
207
,
207
,
207
,
/* 380 */
59
,
207
,
207
,
207
,
207
,
207
,
207
,
207
,
207
,
107
,
/* 390 */
207
,
207
,
259
,
207
,
207
,
207
,
207
,
259
,
117
,
253
,
/* 400 */
207
,
207
,
207
,
207
,
119
,
208
,
208
,
252
,
208
,
116
,
/* 410 */
111
,
115
,
110
,
121
,
109
,
108
,
75
,
84
,
83
,
49
,
/* 420 */
208
,
82
,
80
,
5
,
53
,
81
,
208
,
79
,
75
,
132
,
/* 430 */
208
,
212
,
5
,
212
,
58
,
132
,
5
,
5
,
132
,
58
,
/* 440 */
208
,
132
,
5
,
209
,
209
,
220
,
222
,
216
,
221
,
219
,
/* 450 */
2
17
,
208
,
249
,
251
,
215
,
240
,
247
,
250
,
248
,
218
,
/* 460 */
24
6
,
213
,
245
,
210
,
132
,
58
,
86
,
124
,
104
,
97
,
/* 470 */
105
,
97
,
1
,
96
,
101
,
96
,
101
,
72
,
112
,
97
,
/* 480 */
9
6
,
112
,
97
,
96
,
101
,
96
,
98
,
96
,
98
,
9
,
/* 490 */
5
,
5
,
5
,
5
,
1
,
5
,
5
,
5
,
101
,
76
,
/* 500 */
72
,
58
,
101
,
5
,
15
,
127
,
5
,
97
,
96
,
5
,
/* 510 */
16
,
5
,
5
,
127
,
5
,
5
,
5
,
5
,
5
,
5
,
/* 520 */
5
,
58
,
58
,
76
,
21
,
59
,
21
,
58
,
0
,
267
,
/* 530 */
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
/* 400 */
207
,
207
,
207
,
207
,
207
,
119
,
208
,
252
,
208
,
116
,
/* 410 */
208
,
111
,
115
,
110
,
109
,
108
,
121
,
75
,
84
,
83
,
/* 420 */
49
,
80
,
82
,
53
,
81
,
79
,
208
,
208
,
75
,
5
,
/* 430 */
132
,
5
,
208
,
212
,
212
,
58
,
5
,
5
,
132
,
58
,
/* 440 */
5
,
132
,
208
,
132
,
132
,
208
,
215
,
222
,
221
,
216
,
/* 450 */
2
20
,
219
,
217
,
209
,
251
,
240
,
246
,
250
,
249
,
218
,
/* 460 */
24
8
,
247
,
245
,
209
,
213
,
210
,
58
,
104
,
86
,
124
,
/* 470 */
97
,
105
,
97
,
101
,
96
,
1
,
96
,
101
,
72
,
112
,
/* 480 */
9
7
,
96
,
9
,
97
,
96
,
101
,
112
,
96
,
98
,
96
,
/* 490 */
98
,
5
,
5
,
5
,
5
,
1
,
5
,
5
,
5
,
101
,
/* 500 */
15
,
76
,
72
,
101
,
5
,
5
,
16
,
97
,
96
,
5
,
/* 510 */
5
,
5
,
5
,
5
,
127
,
5
,
127
,
5
,
5
,
5
,
/* 520 */
5
,
58
,
58
,
76
,
21
,
59
,
58
,
0
,
267
,
267
,
/* 530 */
21
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
/* 540 */
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
/* 550 */
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
/* 560 */
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
...
...
@@ -333,41 +333,41 @@ static const YYCODETYPE yy_lookahead[] = {
/* 700 */
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
/* 710 */
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
/* 720 */
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
267
,
/* 730 */
267
,
267
,
/* 730 */
267
,
267
,
267
,
267
,
};
#define YY_SHIFT_COUNT (246)
#define YY_SHIFT_MIN (0)
#define YY_SHIFT_MAX (52
8
)
#define YY_SHIFT_MAX (52
7
)
static
const
unsigned
short
int
yy_shift_ofst
[]
=
{
/* 0 */
141
,
74
,
182
,
226
,
128
,
128
,
128
,
128
,
128
,
128
,
/* 10 */
0
,
22
,
226
,
260
,
260
,
260
,
102
,
128
,
128
,
128
,
/* 20 */
128
,
128
,
31
,
149
,
9
,
9
,
5
29
,
192
,
226
,
226
,
/* 20 */
128
,
128
,
31
,
149
,
9
,
9
,
5
31
,
192
,
226
,
226
,
/* 30 */
226
,
226
,
226
,
226
,
226
,
226
,
226
,
226
,
226
,
226
,
/* 40 */
226
,
226
,
226
,
226
,
226
,
260
,
260
,
25
,
25
,
25
,
/* 50 */
25
,
25
,
25
,
42
,
25
,
165
,
128
,
128
,
135
,
135
,
/* 60 */
185
,
128
,
128
,
128
,
128
,
128
,
128
,
128
,
128
,
128
,
/* 70 */
128
,
128
,
128
,
128
,
128
,
128
,
128
,
128
,
128
,
128
,
/* 80 */
128
,
128
,
128
,
128
,
128
,
128
,
128
,
128
,
128
,
128
,
/* 90 */
128
,
128
,
128
,
128
,
128
,
269
,
321
,
321
,
282
,
282
,
/* 100 */
321
,
281
,
285
,
293
,
299
,
296
,
302
,
305
,
307
,
292
,
/* 110 */
2
69
,
321
,
321
,
341
,
341
,
321
,
333
,
335
,
370
,
342
,
/* 120 */
3
39
,
371
,
344
,
348
,
321
,
353
,
321
,
353
,
529
,
529
,
/* 130 */
27
,
68
,
68
,
68
,
94
,
119
,
213
,
213
,
213
,
216
,
/* 140 */
169
,
169
,
169
,
169
,
190
,
208
,
67
,
89
,
60
,
60
,
/* 150 */
236
,
173
,
204
,
205
,
206
,
211
,
304
,
308
,
284
,
220
,
/* 160 */
199
,
53
,
223
,
228
,
229
,
327
,
330
,
191
,
201
,
266
,
/* 170 */
418
,
297
,
427
,
303
,
376
,
431
,
306
,
432
,
309
,
38
1
,
/* 180 */
437
,
332
,
407
,
380
,
343
,
364
,
372
,
365
,
373
,
374
,
/* 190 */
37
7
,
471
,
379
,
382
,
384
,
375
,
366
,
383
,
369
,
385
,
/* 200 */
38
7
,
389
,
388
,
391
,
390
,
405
,
480
,
485
,
486
,
487
,
/* 210 */
488
,
4
93
,
490
,
491
,
492
,
397
,
423
,
489
,
428
,
443
,
/* 220 */
49
4
,
378
,
386
,
401
,
498
,
501
,
410
,
412
,
401
,
504
,
/* 230 */
50
6
,
507
,
509
,
510
,
511
,
512
,
513
,
514
,
515
,
463
,
/* 240 */
464
,
447
,
503
,
50
5
,
466
,
469
,
528
,
/* 90 */
128
,
128
,
128
,
128
,
128
,
128
,
269
,
321
,
321
,
282
,
/* 100 */
282
,
321
,
281
,
286
,
293
,
300
,
297
,
303
,
305
,
307
,
/* 110 */
2
95
,
269
,
321
,
321
,
342
,
342
,
321
,
334
,
336
,
371
,
/* 120 */
3
41
,
340
,
370
,
343
,
346
,
321
,
353
,
321
,
353
,
531
,
/* 130 */
531
,
27
,
68
,
68
,
68
,
94
,
119
,
213
,
213
,
213
,
/* 140 */
216
,
169
,
169
,
169
,
169
,
190
,
208
,
67
,
89
,
60
,
/* 150 */
60
,
236
,
173
,
204
,
205
,
206
,
211
,
304
,
308
,
284
,
/* 160 */
220
,
199
,
53
,
223
,
228
,
229
,
327
,
330
,
191
,
201
,
/* 170 */
266
,
424
,
298
,
426
,
306
,
377
,
431
,
309
,
432
,
31
1
,
/* 180 */
381
,
435
,
312
,
408
,
382
,
345
,
363
,
373
,
366
,
372
,
/* 190 */
37
5
,
378
,
474
,
380
,
383
,
385
,
376
,
367
,
384
,
374
,
/* 200 */
38
6
,
388
,
391
,
390
,
393
,
392
,
406
,
473
,
486
,
487
,
/* 210 */
488
,
4
89
,
494
,
491
,
492
,
493
,
398
,
425
,
485
,
430
,
/* 220 */
49
0
,
387
,
389
,
402
,
499
,
500
,
410
,
412
,
402
,
504
,
/* 230 */
50
5
,
506
,
507
,
508
,
510
,
512
,
513
,
514
,
515
,
463
,
/* 240 */
464
,
447
,
503
,
50
9
,
466
,
468
,
527
,
};
#define YY_REDUCE_COUNT (1
29
)
#define YY_REDUCE_COUNT (1
30
)
#define YY_REDUCE_MIN (-254)
#define YY_REDUCE_MAX (25
3
)
#define YY_REDUCE_MAX (25
5
)
static
const
short
yy_reduce_ofst
[]
=
{
/* 0 */
-
198
,
-
53
,
-
254
,
-
246
,
-
150
,
-
172
,
-
192
,
-
116
,
-
91
,
-
90
,
/* 10 */
-
207
,
-
203
,
-
248
,
-
179
,
-
162
,
-
138
,
-
218
,
-
175
,
-
19
,
-
17
,
...
...
@@ -378,10 +378,11 @@ static const short yy_reduce_ofst[] = {
/* 60 */
121
,
153
,
154
,
156
,
157
,
159
,
160
,
161
,
162
,
163
,
/* 70 */
164
,
166
,
167
,
168
,
170
,
171
,
172
,
174
,
175
,
176
,
/* 80 */
177
,
178
,
179
,
180
,
181
,
183
,
184
,
186
,
187
,
188
,
/* 90 */
189
,
193
,
194
,
195
,
196
,
136
,
197
,
198
,
133
,
138
,
/* 100 */
200
,
146
,
155
,
202
,
207
,
203
,
210
,
209
,
214
,
217
,
/* 110 */
215
,
212
,
218
,
219
,
221
,
222
,
224
,
227
,
225
,
231
,
/* 120 */
230
,
233
,
241
,
239
,
232
,
234
,
243
,
235
,
248
,
253
,
/* 90 */
189
,
193
,
194
,
195
,
196
,
197
,
136
,
198
,
200
,
133
,
/* 100 */
138
,
202
,
146
,
155
,
203
,
207
,
209
,
212
,
214
,
210
,
/* 110 */
217
,
215
,
218
,
219
,
221
,
222
,
224
,
225
,
227
,
230
,
/* 120 */
233
,
232
,
235
,
241
,
231
,
234
,
244
,
237
,
254
,
251
,
/* 130 */
255
,
};
static
const
YYACTIONTYPE
yy_default
[]
=
{
/* 0 */
615
,
667
,
823
,
823
,
615
,
615
,
615
,
615
,
615
,
615
,
...
...
@@ -391,21 +392,21 @@ static const YYACTIONTYPE yy_default[] = {
/* 40 */
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
/* 50 */
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
772
,
772
,
/* 60 */
746
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
/* 70 */
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
6
54
,
615
,
/* 80 */
6
52
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
/* 90 */
615
,
615
,
6
41
,
615
,
615
,
615
,
635
,
635
,
61
5
,
615
,
/* 100 */
6
35
,
779
,
783
,
777
,
765
,
773
,
764
,
760
,
759
,
787
,
/* 110 */
615
,
635
,
635
,
664
,
664
,
635
,
685
,
683
,
681
,
673
,
/* 120 */
67
9
,
675
,
677
,
671
,
635
,
662
,
635
,
662
,
700
,
713
,
/* 130 */
615
,
788
,
822
,
778
,
806
,
805
,
818
,
812
,
811
,
615
,
/* 140 */
810
,
809
,
808
,
807
,
615
,
615
,
615
,
615
,
814
,
813
,
/* 150 */
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
790
,
/* 160 */
7
84
,
780
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
/* 70 */
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
6
15
,
654
,
/* 80 */
6
15
,
652
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
/* 90 */
615
,
615
,
6
15
,
641
,
615
,
615
,
615
,
635
,
63
5
,
615
,
/* 100 */
6
15
,
635
,
779
,
783
,
777
,
765
,
773
,
764
,
760
,
759
,
/* 110 */
787
,
615
,
635
,
635
,
664
,
664
,
635
,
685
,
683
,
681
,
/* 120 */
67
3
,
679
,
675
,
677
,
671
,
635
,
662
,
635
,
662
,
700
,
/* 130 */
713
,
615
,
788
,
822
,
778
,
806
,
805
,
818
,
812
,
811
,
/* 140 */
615
,
810
,
809
,
808
,
807
,
615
,
615
,
615
,
615
,
814
,
/* 150 */
813
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
/* 160 */
7
90
,
784
,
780
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
/* 170 */
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
/* 180 */
615
,
615
,
615
,
615
,
615
,
745
,
615
,
615
,
754
,
615
,
/* 190 */
615
,
615
,
615
,
615
,
615
,
774
,
615
,
766
,
615
,
615
,
/* 200 */
615
,
615
,
615
,
615
,
722
,
615
,
615
,
615
,
615
,
615
,
/* 210 */
615
,
615
,
615
,
615
,
615
,
6
88
,
615
,
615
,
615
,
615
,
/* 180 */
615
,
615
,
615
,
615
,
615
,
615
,
745
,
615
,
615
,
754
,
/* 190 */
615
,
615
,
615
,
615
,
615
,
615
,
774
,
615
,
766
,
615
,
/* 200 */
615
,
615
,
615
,
615
,
615
,
722
,
615
,
615
,
615
,
615
,
/* 210 */
615
,
615
,
615
,
615
,
615
,
6
15
,
688
,
615
,
615
,
615
,
/* 220 */
615
,
615
,
615
,
827
,
615
,
615
,
615
,
716
,
825
,
615
,
/* 230 */
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
615
,
/* 240 */
615
,
615
,
639
,
637
,
615
,
631
,
615
,
...
...
@@ -1038,7 +1039,7 @@ static const char *const yyRuleName[] = {
/* 44 */
"ifexists ::="
,
/* 45 */
"ifnotexists ::= IF NOT EXISTS"
,
/* 46 */
"ifnotexists ::="
,
/* 47 */
"cmd ::= CREATE DNODE
IPTOKEN
"
,
/* 47 */
"cmd ::= CREATE DNODE
ids
"
,
/* 48 */
"cmd ::= CREATE ACCOUNT ids PASS ids acct_optr"
,
/* 49 */
"cmd ::= CREATE DATABASE ifnotexists ids db_optr"
,
/* 50 */
"cmd ::= CREATE USER ids PASS ids"
,
...
...
@@ -1711,7 +1712,7 @@ static const struct {
{
209
,
0
},
/* (44) ifexists ::= */
{
212
,
-
3
},
/* (45) ifnotexists ::= IF NOT EXISTS */
{
212
,
0
},
/* (46) ifnotexists ::= */
{
205
,
-
3
},
/* (47) cmd ::= CREATE DNODE
IPTOKEN
*/
{
205
,
-
3
},
/* (47) cmd ::= CREATE DNODE
ids
*/
{
205
,
-
6
},
/* (48) cmd ::= CREATE ACCOUNT ids PASS ids acct_optr */
{
205
,
-
5
},
/* (49) cmd ::= CREATE DATABASE ifnotexists ids db_optr */
{
205
,
-
5
},
/* (50) cmd ::= CREATE USER ids PASS ids */
...
...
@@ -2122,7 +2123,7 @@ static void yy_reduce(
case
45
:
/* ifnotexists ::= IF NOT EXISTS */
{
yymsp
[
-
2
].
minor
.
yy0
.
n
=
1
;}
break
;
case
47
:
/* cmd ::= CREATE DNODE
IPTOKEN
*/
case
47
:
/* cmd ::= CREATE DNODE
ids
*/
{
setDCLSQLElems
(
pInfo
,
TSDB_SQL_CREATE_DNODE
,
1
,
&
yymsp
[
0
].
minor
.
yy0
);}
break
;
case
48
:
/* cmd ::= CREATE ACCOUNT ids PASS ids acct_optr */
...
...
src/tsdb/src/tsdbMain.c
浏览文件 @
497a9799
...
...
@@ -368,6 +368,15 @@ int tsdbAlterTable(TsdbRepoT *pRepo, STableCfg *pCfg) {
return
0
;
}
TSKEY
tsdbGetTableLastKey
(
TsdbRepoT
*
repo
,
int64_t
uid
)
{
STsdbRepo
*
pRepo
=
(
STsdbRepo
*
)
repo
;
STable
*
pTable
=
tsdbGetTableByUid
(
pRepo
->
tsdbMeta
,
uid
);
if
(
pTable
==
NULL
)
return
-
1
;
return
TSDB_GET_TABLE_LAST_KEY
(
pTable
);
}
int
tsdbDropTable
(
TsdbRepoT
*
repo
,
STableId
tableId
)
{
if
(
repo
==
NULL
)
return
-
1
;
STsdbRepo
*
pRepo
=
(
STsdbRepo
*
)
repo
;
...
...
src/util/src/hash.c
浏览文件 @
497a9799
...
...
@@ -522,6 +522,7 @@ static SHashNode *getNextHashNode(SHashMutableIterator *pIter) {
assert
(
pIter
!=
NULL
);
pIter
->
entryIndex
++
;
pIter
->
entryIndex
++
;
while
(
pIter
->
entryIndex
<
pIter
->
pHashObj
->
capacity
)
{
SHashEntry
*
pEntry
=
pIter
->
pHashObj
->
hashList
[
pIter
->
entryIndex
];
if
(
pEntry
->
next
==
NULL
)
{
...
...
src/util/src/tsocket.c
浏览文件 @
497a9799
...
...
@@ -25,8 +25,13 @@ int taosGetFqdn(char *fqdn) {
struct
hostent
*
h
;
h
=
gethostbyname
(
hostname
);
strcpy
(
fqdn
,
h
->
h_name
);
return
0
;
if
(
h
!=
NULL
)
{
strcpy
(
fqdn
,
h
->
h_name
);
return
0
;
}
else
{
uError
(
"failed to get host name"
);
return
-
1
;
}
}
uint32_t
taosGetIpFromFqdn
(
const
char
*
fqdn
)
{
...
...
tests/script/general/agg/fill.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/agg/stream.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c clog -v 0
print ========== step1
...
...
tests/script/general/alter/cached_schema_after_alter.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c clog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/alter/count.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
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 numOfMPeers -v 1
...
...
tests/script/general/alter/import.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
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 numOfMPeers -v 1
...
...
tests/script/general/alter/insert1.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c clog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/alter/insert2.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c clog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/alter/metrics.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/alter/table.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/cache/cache_balance.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/ip.sh -i 2 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode2 -
m 192.168.0.1 -i 192.168.0.
2
system sh/deploy.sh -n dnode1 -
i
1
system sh/deploy.sh -n dnode2 -
i
2
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode2 -c commitLog -v 0
...
...
tests/script/general/cache/new_metrics.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c meterMetaKeepTimer -v 10
system sh/cfg.sh -n dnode1 -c metricMetaKeepTimer -v 10
...
...
tests/script/general/cache/new_stream.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c meterMetaKeepTimer -v 10
system sh/cfg.sh -n dnode1 -c metricMetaKeepTimer -v 10
...
...
tests/script/general/cache/restart_metrics.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c meterMetaKeepTimer -v 10
system sh/cfg.sh -n dnode1 -c metricMetaKeepTimer -v 10
...
...
@@ -47,7 +47,7 @@ endi
print =============== step2
system sh/exec.sh -n dnode1 -s stop
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c meterMetaKeepTimer -v 10
system sh/cfg.sh -n dnode1 -c metricMetaKeepTimer -v 10
...
...
tests/script/general/cache/restart_stream.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c meterMetaKeepTimer -v 1
system sh/cfg.sh -n dnode1 -c metricMetaKeepTimer -v 1
...
...
@@ -97,7 +97,7 @@ endi
print =============== step4
system sh/exec.sh -n dnode1 -s stop
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c meterMetaKeepTimer -v 1
system sh/cfg.sh -n dnode1 -c metricMetaKeepTimer -v 1
...
...
tests/script/general/cache/restart_table.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c meterMetaKeepTimer -v 10
system sh/cfg.sh -n dnode1 -c metricMetaKeepTimer -v 10
...
...
@@ -35,7 +35,7 @@ endi
print =============== step2
system sh/exec.sh -n dnode1 -s stop
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c meterMetaKeepTimer -v 10
system sh/cfg.sh -n dnode1 -c metricMetaKeepTimer -v 10
...
...
tests/script/general/column/commit.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/column/metrics.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/column/stream.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c clog -v 0
print ========== step1
...
...
tests/script/general/column/table.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/compress/commitlog.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 1
system sh/cfg.sh -n dnode1 -c cacheBlockSize -v 1024
system sh/cfg.sh -n dnode1 -c compression -v 1
...
...
tests/script/general/compress/compress.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c cacheBlockSize -v 1024
system sh/cfg.sh -n dnode1 -c compression -v 1
...
...
tests/script/general/compress/compress2.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c cacheBlockSize -v 1024
system sh/cfg.sh -n dnode1 -c compression -v 2
...
...
tests/script/general/compress/uncompress.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c cacheBlockSize -v 1024
system sh/cfg.sh -n dnode1 -c compression -v 1
...
...
tests/script/general/compute/avg.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/compute/bottom.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/compute/count.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/compute/diff.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/compute/diff2.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/compute/first.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/compute/interval.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/compute/last.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/compute/leastsquare.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/compute/max.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/compute/min.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/compute/null.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/compute/percentile.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/compute/stddev.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/compute/sum.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/compute/top.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/db/backup/keep.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/ip.sh -i 2 -s up
system sh/ip.sh -i 3 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode2 -
m 192.168.0.1 -i 192.168.0.
2
system sh/deploy.sh -n dnode3 -
m 192.168.0.1 -i 192.168.0.
3
system sh/deploy.sh -n dnode1 -
i
1
system sh/deploy.sh -n dnode2 -
i
2
system sh/deploy.sh -n dnode3 -
i
3
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode2 -c commitLog -v 0
...
...
tests/script/general/db/basic.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
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 numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c tables -v 1000
...
...
tests/script/general/db/basic1.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/general/db/basic2.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/general/db/basic3.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/general/db/basic4.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/general/db/basic5.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/general/db/delete_reuse1.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/ip.sh -i 2 -s up
system sh/ip.sh -i 3 -s up
system sh/ip.sh -i 4 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode2 -
m 192.168.0.1 -i 192.168.0.
2
system sh/deploy.sh -n dnode3 -
m 192.168.0.1 -i 192.168.0.
3
system sh/deploy.sh -n dnode
3 -m 192.168.0.1 -i 192.168.0.
4
system sh/deploy.sh -n dnode1 -
i
1
system sh/deploy.sh -n dnode2 -
i
2
system sh/deploy.sh -n dnode3 -
i
3
system sh/deploy.sh -n dnode
4 -i
4
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode2 -c commitLog -v 0
...
...
tests/script/general/db/delete_reuse2.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/ip.sh -i 2 -s up
system sh/ip.sh -i 3 -s up
system sh/ip.sh -i 4 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode2 -
m 192.168.0.1 -i 192.168.0.
2
system sh/deploy.sh -n dnode3 -
m 192.168.0.1 -i 192.168.0.
3
system sh/deploy.sh -n dnode
3 -m 192.168.0.1 -i 192.168.0.
4
system sh/deploy.sh -n dnode1 -
i
1
system sh/deploy.sh -n dnode2 -
i
2
system sh/deploy.sh -n dnode3 -
i
3
system sh/deploy.sh -n dnode
4 -i
4
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode2 -c commitLog -v 0
...
...
tests/script/general/db/delete_reusevnode.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
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
...
...
@@ -45,8 +45,8 @@ endi
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
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
...
...
tests/script/general/db/delete_reusevnode2.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
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
...
...
tests/script/general/db/delete_writing1.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/ip.sh -i 2 -s up
system sh/ip.sh -i 3 -s up
system sh/ip.sh -i 4 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode2 -
m 192.168.0.1 -i 192.168.0.
2
system sh/deploy.sh -n dnode3 -
m 192.168.0.1 -i 192.168.0.
3
system sh/deploy.sh -n dnode
3 -m 192.168.0.1 -i 192.168.0.
4
system sh/deploy.sh -n dnode1 -
i
1
system sh/deploy.sh -n dnode2 -
i
2
system sh/deploy.sh -n dnode3 -
i
3
system sh/deploy.sh -n dnode
4 -i
4
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode2 -c commitLog -v 0
...
...
tests/script/general/db/delete_writing2.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -m 192.168.0.1 -i 192.168.0.1
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 numOfTotalVnodes -v 4
...
...
tests/script/general/db/len.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c sessionsPerVnode -v 2000
...
...
tests/script/general/db/repeat.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
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 numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c tables -v 4
...
...
tests/script/general/db/tables.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c sessionsPerVnode -v 2000
...
...
tests/script/general/field/2.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/field/3.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/field/4.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/field/5.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/field/6.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/field/bigint.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/field/binary.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/field/bool.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/field/double.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/field/float.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/field/int.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/field/single.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/field/smallint.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/field/tinyint.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/http/grafana.sim
浏览文件 @
497a9799
...
...
@@ -2,8 +2,8 @@ system sh/stop_dnodes.sh
sleep 5000
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
#system sh/cfg.sh -n dnode1 -c adminRowLimit -v 10
system sh/cfg.sh -n dnode1 -c httpDebugFlag -v 135
...
...
tests/script/general/http/grafana_bug.sim
浏览文件 @
497a9799
...
...
@@ -2,8 +2,8 @@ system sh/stop_dnodes.sh
sleep 2000
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
#system sh/cfg.sh -n dnode1 -c adminRowLimit -v 10
system sh/cfg.sh -n dnode1 -c httpDebugFlag -v 135
...
...
tests/script/general/http/prepare.sim
浏览文件 @
497a9799
...
...
@@ -2,8 +2,8 @@ system sh/stop_dnodes.sh
sleep 5000
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/http/restful.sim
浏览文件 @
497a9799
...
...
@@ -2,8 +2,8 @@ system sh/stop_dnodes.sh
sleep 5000
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c httpEnableRecordSql -v 1
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/http/restful_full.sim
浏览文件 @
497a9799
...
...
@@ -2,8 +2,8 @@ system sh/stop_dnodes.sh
#sleep 5000
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c clog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/http/restful_insert.sim
浏览文件 @
497a9799
...
...
@@ -2,8 +2,8 @@ system sh/stop_dnodes.sh
sleep 5000
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c httpEnableRecordSql -v 1
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/http/restful_limit.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/exec.sh -n dnode1 -s start
...
...
tests/script/general/http/telegraf.sim
浏览文件 @
497a9799
...
...
@@ -2,8 +2,8 @@ system sh/stop_dnodes.sh
sleep 5000
system sh/ip.sh -i 1 -s up
system sh/deploy.sh -n dnode1 -
m 192.168.0.1 -i 192.168.0.
1
system sh/deploy.sh -n dnode1 -
i
1
system sh/cfg.sh -n dnode1 -c commitLog -v 0
system sh/cfg.sh -n dnode1 -c httpEnableRecordSql -v 1
system sh/cfg.sh -n dnode1 -c telegrafUseFieldNum -v 0
...
...
tests/script/general/import/basic.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/ip.sh -i 2 -s up
system sh/ip.sh -i 3 -s up
system sh/ip.sh -i 4 -s up
system sh/deploy.sh -n dnode1 -m 192.168.0.1 -i 192.168.0.1
system sh/deploy.sh -n dnode2 -m 192.168.0.1 -i 192.168.0.2
system sh/deploy.sh -n dnode3 -m 192.168.0.1 -i 192.168.0.3
system sh/deploy.sh -n dnode4 -m 192.168.0.1 -i 192.168.0.4
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/deploy.sh -n dnode4 -i 4
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 1
...
...
@@ -30,11 +30,6 @@ system sh/cfg.sh -n dnode2 -c commitlog -v 0
system sh/cfg.sh -n dnode3 -c commitlog -v 0
system sh/cfg.sh -n dnode4 -c commitlog -v 0
system sh/cfg.sh -n dnode1 -c secondIp -v 192.168.0.2
system sh/cfg.sh -n dnode2 -c secondIp -v 192.168.0.2
system sh/cfg.sh -n dnode3 -c secondIp -v 192.168.0.2
system sh/cfg.sh -n dnode4 -c secondIp -v 192.168.0.2
print ========= start dnode1
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/import/commit.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/ip.sh -i 2 -s up
system sh/ip.sh -i 3 -s up
system sh/ip.sh -i 4 -s up
system sh/deploy.sh -n dnode1 -m 192.168.0.1 -i 192.168.0.1
system sh/deploy.sh -n dnode2 -m 192.168.0.1 -i 192.168.0.2
system sh/deploy.sh -n dnode3 -m 192.168.0.1 -i 192.168.0.3
system sh/deploy.sh -n dnode4 -m 192.168.0.1 -i 192.168.0.4
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/deploy.sh -n dnode4 -i 4
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 1
...
...
@@ -30,11 +30,6 @@ system sh/cfg.sh -n dnode2 -c commitlog -v 0
system sh/cfg.sh -n dnode3 -c commitlog -v 0
system sh/cfg.sh -n dnode4 -c commitlog -v 0
system sh/cfg.sh -n dnode1 -c secondIp -v 192.168.0.2
system sh/cfg.sh -n dnode2 -c secondIp -v 192.168.0.2
system sh/cfg.sh -n dnode3 -c secondIp -v 192.168.0.2
system sh/cfg.sh -n dnode4 -c secondIp -v 192.168.0.2
print ========= start dnode1
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/import/large.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/ip.sh -i 2 -s up
system sh/ip.sh -i 3 -s up
system sh/ip.sh -i 4 -s up
system sh/deploy.sh -n dnode1 -m 192.168.0.1 -i 192.168.0.1
system sh/deploy.sh -n dnode2 -m 192.168.0.1 -i 192.168.0.2
system sh/deploy.sh -n dnode3 -m 192.168.0.1 -i 192.168.0.3
system sh/deploy.sh -n dnode4 -m 192.168.0.1 -i 192.168.0.4
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/deploy.sh -n dnode4 -i 4
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 1
...
...
@@ -30,11 +30,6 @@ system sh/cfg.sh -n dnode2 -c commitlog -v 0
system sh/cfg.sh -n dnode3 -c commitlog -v 0
system sh/cfg.sh -n dnode4 -c commitlog -v 0
system sh/cfg.sh -n dnode1 -c secondIp -v 192.168.0.2
system sh/cfg.sh -n dnode2 -c secondIp -v 192.168.0.2
system sh/cfg.sh -n dnode3 -c secondIp -v 192.168.0.2
system sh/cfg.sh -n dnode4 -c secondIp -v 192.168.0.2
print ========= start dnode1
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/import/replica1.sim
浏览文件 @
497a9799
system sh/stop_dnodes.sh
system sh/ip.sh -i 1 -s up
system sh/ip.sh -i 2 -s up
system sh/ip.sh -i 3 -s up
system sh/ip.sh -i 4 -s up
system sh/deploy.sh -n dnode1 -m 192.168.0.1 -i 192.168.0.1
system sh/deploy.sh -n dnode2 -m 192.168.0.1 -i 192.168.0.2
system sh/deploy.sh -n dnode3 -m 192.168.0.1 -i 192.168.0.3
system sh/deploy.sh -n dnode4 -m 192.168.0.1 -i 192.168.0.4
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/deploy.sh -n dnode4 -i 4
system sh/cfg.sh -n dnode1 -c numOfMPeers -v 1
system sh/cfg.sh -n dnode2 -c numOfMPeers -v 1
...
...
@@ -30,11 +30,6 @@ system sh/cfg.sh -n dnode2 -c commitlog -v 0
system sh/cfg.sh -n dnode3 -c commitlog -v 0
system sh/cfg.sh -n dnode4 -c commitlog -v 0
system sh/cfg.sh -n dnode1 -c secondIp -v 192.168.0.2
system sh/cfg.sh -n dnode2 -c secondIp -v 192.168.0.2
system sh/cfg.sh -n dnode3 -c secondIp -v 192.168.0.2
system sh/cfg.sh -n dnode4 -c secondIp -v 192.168.0.2
print ========= start dnode1
system sh/exec.sh -n dnode1 -s start
sleep 3000
...
...
tests/script/general/insert/basic.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/insert/insert_drop.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/insert/query_block1_file.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/insert/query_block1_memory.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/insert/query_block2_file.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/insert/query_block2_memory.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/insert/query_file_memory.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/insert/query_multi_file.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/insert/tcp.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/metrics/disk.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/metrics/metrics.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/metrics/values.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/metrics/vnode3.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/alter.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/alter1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/alter_stable.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/auto_create_tb.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/auto_create_tb_drop_tb.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/binary_escapeCharacter.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/bug.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/col_arithmetic_operation.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/columnValue.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/commit.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/create_db.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/create_mt.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/create_tb.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/dbtbnameValidate.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/fill.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/fill_stb.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/first_last.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/groupby.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/import.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/import_commit1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/import_commit2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/import_commit3.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/import_file.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/insert_multiTbl.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/insert_tb.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/interp.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/join.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/join_multivnode.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/lastrow.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/limit.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/limit1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/limit1_tblocks100.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/limit2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/limit2_tblocks100.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/mixed_blocks.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/nchar.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/null_char.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/projection_limit_offset.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/selectResNum.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/select_across_vnodes.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/select_from_cache_disk.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/select_with_tags.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/set_tag_vals.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/single_row_in_tb.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/slimit.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/slimit1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/slimit_alter_tags.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/stream.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/stream_on_sys.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/tags_dynamically_specifiy.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/tags_filter.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/tbnameIn.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/timestamp.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/parser/where.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/show/dnodes.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/stream/metrics_1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/stream/metrics_del.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/stream/metrics_n.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/stream/metrics_replica1_vnoden.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/stream/stream_1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/stream/stream_2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/stream/stream_3.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/stream/stream_restart.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/stream/table_1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/stream/table_del.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/stream/table_n.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/stream/table_replica1_vnoden.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/autocreate.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/basic1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/basic2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/basic3.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/bigint.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/binary.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/bool.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/column2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/column_name.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/column_num.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/column_value.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/date.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/db.table.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/delete_reuse1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/delete_reuse2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/delete_writing.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/describe.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/double.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/float.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/int.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/limit.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/smallint.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/table.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/table_len.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/tinyint.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/table/vgroup.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/3.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/4.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/5.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/6.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/add.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/bigint.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/binary.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/binary_binary.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/bool.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/bool_binary.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/bool_int.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/change.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/column.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/commit.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/create.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/delete.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/double.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/filter.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/float.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/int.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/int_binary.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/int_float.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/set.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/smallint.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/tag/tinyint.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/user/basic1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/user/monitor.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/user/pass_alter.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/user/pass_len.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/user/user_create.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/user/user_len.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/vector/metrics_field.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/vector/metrics_mix.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/vector/metrics_query.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/vector/metrics_tag.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/vector/metrics_time.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/vector/multi.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/vector/single.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/vector/table_field.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/vector/table_mix.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/vector/table_query.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/general/vector/table_time.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/sh/deploy.sh
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/test.sh
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/tmp/dnode1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/tmp/mnodes.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/tmp/prepare.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/account/account_create.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/account/account_delete.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/account/account_len.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/account/authority.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/account/basic.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/account/paras.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/account/pass_alter.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/account/pass_len.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/account/testSuite.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/account/usage.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/account/user_create.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/account/user_len.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/big/balance.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/big/maxvnodes.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/big/tcp.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/cluster/backup/balance4.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/cluster/backup/balance5.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/cluster/backup/balancex.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/cluster/balance1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/cluster/balance1_bug.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/cluster/balance1_single.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/cluster/balance2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/cluster/balance3.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/column/replica3.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/db/commit.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/db/delete.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/db/delete_part.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/db/replica_add12.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/db/replica_add13.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/db/replica_add23.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/db/replica_part.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/db/replica_reduce21.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/db/replica_reduce31.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/db/replica_reduce32.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/dnode/backup/balance4.sim
已删除
100644 → 0
浏览文件 @
bba49636
此差异已折叠。
点击以展开。
tests/script/unique/dnode/backup/balance5.sim
已删除
100644 → 0
浏览文件 @
bba49636
此差异已折叠。
点击以展开。
tests/script/unique/dnode/backup/unremove.sim
已删除
100644 → 0
浏览文件 @
bba49636
此差异已折叠。
点击以展开。
tests/script/unique/dnode/balance1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/dnode/balance2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/dnode/balance3.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/dnode/balancex.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/dnode/basic1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/dnode/monitor_bug.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/dnode/offline1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/dnode/offline2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/dnode/remove1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/dnode/remove2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/dnode/vnode_clean.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/http/admin.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/http/opentsdb.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/import/replica2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/import/replica3.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/metrics/balance_replica1.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/metrics/dnode2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/metrics/dnode2_stop.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/metrics/dnode3.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/metrics/replica2_dnode4.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/metrics/replica2_vnode3.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/metrics/replica3_dnode6.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/metrics/replica3_vnode3.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/mnode/backup/mgmt44.sim
已删除
100644 → 0
浏览文件 @
bba49636
此差异已折叠。
点击以展开。
tests/script/unique/mnode/backup/mgmt45.sim
已删除
100644 → 0
浏览文件 @
bba49636
此差异已折叠。
点击以展开。
tests/script/unique/mnode/backup/mgmt55.sim
已删除
100644 → 0
浏览文件 @
bba49636
此差异已折叠。
点击以展开。
tests/script/unique/mnode/backup/mgmt56.sim
已删除
100644 → 0
浏览文件 @
bba49636
此差异已折叠。
点击以展开。
tests/script/unique/mnode/backup/mgmt57.sim
已删除
100644 → 0
浏览文件 @
bba49636
此差异已折叠。
点击以展开。
tests/script/unique/mnode/mgmt22.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/mnode/mgmt23.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/mnode/mgmt24.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/mnode/mgmt25.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/mnode/mgmt26.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/mnode/mgmt33.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/mnode/mgmt34.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/mnode/mgmtr2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/mnode/secondIp.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/metrics_balance.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/metrics_replica1_dnode2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/metrics_replica2_dnode2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/metrics_replica2_dnode2_vnoden.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/metrics_replica2_dnode3.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/metrics_replica3_dnode4.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/metrics_vnode_stop.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/table_balance.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/table_move.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/table_replica1_dnode2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/table_replica2_dnode2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/table_replica2_dnode2_vnoden.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/table_replica2_dnode3.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/table_replica3_dnode4.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/stream/table_vnode_stop.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/table/delete_part.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/vnode/backup/replica4.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/vnode/backup/replica5.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/vnode/commit.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/vnode/many.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/vnode/replica2_basic.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/vnode/replica2_basic2.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/vnode/replica2_repeat.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/vnode/replica3_basic.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/vnode/replica3_repeat.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/script/unique/vnode/replica3_vgroup.sim
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/test-all.sh
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/test/c/importOneRow.c
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/test/c/importPerTabe.c
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/test/c/insertPerRow.c
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/test/c/insertPerTable.c
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/tsim/src/simExe.c
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
tests/tsim/src/simSystem.c
浏览文件 @
497a9799
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录