Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小楼昨夜-听风雨
TDengine
提交
f17bc158
T
TDengine
项目概览
小楼昨夜-听风雨
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
f17bc158
编写于
5月 30, 2020
作者:
S
Shengliang Guan
提交者:
GitHub
5月 30, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2078 from taosdata/enhance/clean
clean up some configurations parameters
上级
c3bbb10a
b825a904
变更
64
隐藏空白更改
内联
并排
Showing
64 changed file
with
229 addition
and
259 deletion
+229
-259
src/client/src/tscServer.c
src/client/src/tscServer.c
+2
-3
src/client/src/tscSystem.c
src/client/src/tscSystem.c
+4
-4
src/common/inc/tglobal.h
src/common/inc/tglobal.h
+2
-4
src/common/src/tglobal.c
src/common/src/tglobal.c
+10
-32
src/dnode/src/dnodeShell.c
src/dnode/src/dnodeShell.c
+1
-1
src/inc/taosdef.h
src/inc/taosdef.h
+0
-3
src/inc/taoserror.h
src/inc/taoserror.h
+10
-12
src/mnode/src/mnodeMain.c
src/mnode/src/mnodeMain.c
+2
-2
tests/pytest/util/dnodes.py
tests/pytest/util/dnodes.py
+1
-1
tests/script/general/alter/count.sim
tests/script/general/alter/count.sim
+1
-1
tests/script/general/alter/import.sim
tests/script/general/alter/import.sim
+1
-1
tests/script/general/db/backup/keep.sim
tests/script/general/db/backup/keep.sim
+3
-3
tests/script/general/db/delete_reuse1.sim
tests/script/general/db/delete_reuse1.sim
+4
-4
tests/script/general/db/delete_reuse2.sim
tests/script/general/db/delete_reuse2.sim
+4
-4
tests/script/general/db/delete_writing1.sim
tests/script/general/db/delete_writing1.sim
+4
-4
tests/script/general/import/basic.sim
tests/script/general/import/basic.sim
+4
-4
tests/script/general/import/commit.sim
tests/script/general/import/commit.sim
+4
-4
tests/script/general/import/large.sim
tests/script/general/import/large.sim
+4
-4
tests/script/general/import/replica1.sim
tests/script/general/import/replica1.sim
+4
-4
tests/script/general/table/delete_reuse1.sim
tests/script/general/table/delete_reuse1.sim
+4
-4
tests/script/general/table/delete_reuse2.sim
tests/script/general/table/delete_reuse2.sim
+4
-4
tests/script/general/table/delete_writing.sim
tests/script/general/table/delete_writing.sim
+4
-4
tests/script/sh/clear.sh
tests/script/sh/clear.sh
+1
-1
tests/script/sh/deploy.sh
tests/script/sh/deploy.sh
+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
-4
tests/script/unique/arbitrator/dn3_mn1_replica2_wal1_AddDelDnode.sim
...t/unique/arbitrator/dn3_mn1_replica2_wal1_AddDelDnode.sim
+5
-5
tests/script/unique/arbitrator/replica_changeWithArbitrator.sim
...script/unique/arbitrator/replica_changeWithArbitrator.sim
+3
-3
tests/script/unique/cluster/balance1.sim
tests/script/unique/cluster/balance1.sim
+8
-8
tests/script/unique/cluster/balance2.sim
tests/script/unique/cluster/balance2.sim
+8
-8
tests/script/unique/cluster/balance3.sim
tests/script/unique/cluster/balance3.sim
+8
-8
tests/script/unique/column/replica3.sim
tests/script/unique/column/replica3.sim
+3
-3
tests/script/unique/db/commit.sim
tests/script/unique/db/commit.sim
+3
-3
tests/script/unique/db/delete.sim
tests/script/unique/db/delete.sim
+3
-3
tests/script/unique/db/delete_part.sim
tests/script/unique/db/delete_part.sim
+4
-4
tests/script/unique/db/replica_add12.sim
tests/script/unique/db/replica_add12.sim
+4
-4
tests/script/unique/db/replica_add13.sim
tests/script/unique/db/replica_add13.sim
+4
-4
tests/script/unique/db/replica_add23.sim
tests/script/unique/db/replica_add23.sim
+4
-4
tests/script/unique/db/replica_part.sim
tests/script/unique/db/replica_part.sim
+3
-3
tests/script/unique/db/replica_reduce21.sim
tests/script/unique/db/replica_reduce21.sim
+3
-3
tests/script/unique/db/replica_reduce31.sim
tests/script/unique/db/replica_reduce31.sim
+3
-3
tests/script/unique/db/replica_reduce32.sim
tests/script/unique/db/replica_reduce32.sim
+3
-3
tests/script/unique/dnode/alternativeRole.sim
tests/script/unique/dnode/alternativeRole.sim
+3
-3
tests/script/unique/import/replica2.sim
tests/script/unique/import/replica2.sim
+4
-4
tests/script/unique/import/replica3.sim
tests/script/unique/import/replica3.sim
+4
-4
tests/script/unique/mnode/mgmt22.sim
tests/script/unique/mnode/mgmt22.sim
+3
-3
tests/script/unique/mnode/mgmt23.sim
tests/script/unique/mnode/mgmt23.sim
+4
-4
tests/script/unique/mnode/mgmt24.sim
tests/script/unique/mnode/mgmt24.sim
+3
-3
tests/script/unique/mnode/mgmt25.sim
tests/script/unique/mnode/mgmt25.sim
+3
-3
tests/script/unique/mnode/mgmt26.sim
tests/script/unique/mnode/mgmt26.sim
+4
-4
tests/script/unique/mnode/mgmt33.sim
tests/script/unique/mnode/mgmt33.sim
+4
-4
tests/script/unique/mnode/mgmt34.sim
tests/script/unique/mnode/mgmt34.sim
+5
-5
tests/script/unique/mnode/mgmtr2.sim
tests/script/unique/mnode/mgmtr2.sim
+3
-3
tests/script/unique/stream/metrics_balance.sim
tests/script/unique/stream/metrics_balance.sim
+2
-2
tests/script/unique/stream/metrics_vnode_stop.sim
tests/script/unique/stream/metrics_vnode_stop.sim
+2
-2
tests/script/unique/stream/table_balance.sim
tests/script/unique/stream/table_balance.sim
+2
-2
tests/script/unique/stream/table_move.sim
tests/script/unique/stream/table_move.sim
+4
-4
tests/script/unique/stream/table_vnode_stop.sim
tests/script/unique/stream/table_vnode_stop.sim
+2
-2
tests/script/unique/vnode/many.sim
tests/script/unique/vnode/many.sim
+4
-4
tests/script/unique/vnode/replica2_basic2.sim
tests/script/unique/vnode/replica2_basic2.sim
+4
-4
tests/script/unique/vnode/replica2_repeat.sim
tests/script/unique/vnode/replica2_repeat.sim
+4
-4
tests/script/unique/vnode/replica3_basic.sim
tests/script/unique/vnode/replica3_basic.sim
+3
-3
tests/script/unique/vnode/replica3_repeat.sim
tests/script/unique/vnode/replica3_repeat.sim
+4
-4
tests/script/unique/vnode/replica3_vgroup.sim
tests/script/unique/vnode/replica3_vgroup.sim
+3
-3
未找到文件。
src/client/src/tscServer.c
浏览文件 @
f17bc158
...
...
@@ -238,9 +238,8 @@ void tscProcessMsgFromServer(SRpcMsg *rpcMsg, SRpcIpSet *pIpSet) {
}
else
{
STableMetaInfo
*
pTableMetaInfo
=
tscGetTableMetaInfoFromCmd
(
pCmd
,
pCmd
->
clauseIndex
,
0
);
if
(
rpcMsg
->
code
==
TSDB_CODE_NOT_ACTIVE_TABLE
||
rpcMsg
->
code
==
TSDB_CODE_INVALID_TABLE_ID
||
rpcMsg
->
code
==
TSDB_CODE_INVALID_VNODE_ID
||
rpcMsg
->
code
==
TSDB_CODE_NOT_ACTIVE_VNODE
||
rpcMsg
->
code
==
TSDB_CODE_NETWORK_UNAVAIL
||
rpcMsg
->
code
==
TSDB_CODE_NOT_ACTIVE_TABLE
||
rpcMsg
->
code
==
TSDB_CODE_TABLE_ID_MISMATCH
)
{
rpcMsg
->
code
==
TSDB_CODE_INVALID_VGROUP_ID
||
rpcMsg
->
code
==
TSDB_CODE_NOT_ACTIVE_VNODE
||
rpcMsg
->
code
==
TSDB_CODE_NETWORK_UNAVAIL
||
rpcMsg
->
code
==
TSDB_CODE_TABLE_ID_MISMATCH
)
{
/*
* not_active_table: 1. the virtual node may fail to create table, since the procedure of create table is asynchronized,
* the virtual node may have not create table till now, so try again by using the new metermeta.
...
...
src/client/src/tscSystem.c
浏览文件 @
f17bc158
...
...
@@ -57,9 +57,9 @@ int32_t tscInitRpc(const char *user, const char *secret, void** pDnodeConn) {
memset
(
&
rpcInit
,
0
,
sizeof
(
rpcInit
));
rpcInit
.
localPort
=
0
;
rpcInit
.
label
=
"TSC"
;
rpcInit
.
numOfThreads
=
tscNumOfThreads
;
rpcInit
.
numOfThreads
=
1
;
// every DB connection has only one thread
rpcInit
.
cfp
=
tscProcessMsgFromServer
;
rpcInit
.
sessions
=
tsMax
Vnode
Connections
;
rpcInit
.
sessions
=
tsMaxConnections
;
rpcInit
.
connType
=
TAOS_CONN_CLIENT
;
rpcInit
.
user
=
(
char
*
)
user
;
rpcInit
.
idleTime
=
2000
;
...
...
@@ -121,7 +121,7 @@ void taos_init_imp() {
}
tscInitMsgsFp
();
int
queueSize
=
tsMax
VnodeConnections
+
tsMaxMeterConnections
+
tsMaxMgmtConnections
+
tsMaxMgmtConnections
;
int
queueSize
=
tsMax
Connections
*
2
;
if
(
tscEmbedded
==
0
)
{
tscNumOfThreads
=
tsNumOfCores
*
tsNumOfThreadsPerCore
/
2
.
0
;
...
...
@@ -137,7 +137,7 @@ void taos_init_imp() {
return
;
}
tscTmr
=
taosTmrInit
(
tsMax
Mgmt
Connections
*
2
,
200
,
60000
,
"TSC"
);
tscTmr
=
taosTmrInit
(
tsMaxConnections
*
2
,
200
,
60000
,
"TSC"
);
if
(
0
==
tscEmbedded
){
taosTmrReset
(
tscCheckDiskUsage
,
10
,
NULL
,
tscTmr
,
&
tscCheckDiskUsageTmr
);
}
...
...
src/common/inc/tglobal.h
浏览文件 @
f17bc158
...
...
@@ -87,16 +87,14 @@ extern int16_t tsWAL;
extern
int32_t
tsReplications
;
extern
int16_t
tsAffectedRowsMod
;
extern
int32_t
tsNumOfM
Peer
s
;
extern
int32_t
tsNumOfM
node
s
;
extern
int32_t
tsMaxShellConns
;
extern
int32_t
tsMaxTables
;
extern
char
tsDefaultDB
[];
extern
char
tsDefaultUser
[];
extern
char
tsDefaultPass
[];
extern
int32_t
tsMaxMeterConnections
;
extern
int32_t
tsMaxVnodeConnections
;
extern
int32_t
tsMaxMgmtConnections
;
extern
int32_t
tsMaxConnections
;
extern
int32_t
tsBalanceInterval
;
extern
int32_t
tsOfflineThreshold
;
...
...
src/common/src/tglobal.c
浏览文件 @
f17bc158
...
...
@@ -105,15 +105,13 @@ int32_t tsReplications = TSDB_DEFAULT_REPLICA_NUM;
* 1: affected rows include those duplicate records
*/
int16_t
tsAffectedRowsMod
=
0
;
int32_t
tsNumOfM
Peer
s
=
3
;
int32_t
tsMaxShellConns
=
2
000
;
int32_t
tsNumOfM
node
s
=
3
;
int32_t
tsMaxShellConns
=
5
000
;
char
tsDefaultDB
[
TSDB_DB_NAME_LEN
]
=
{
0
};
char
tsDefaultUser
[
64
]
=
"root"
;
char
tsDefaultPass
[
64
]
=
"taosdata"
;
int32_t
tsMaxMeterConnections
=
10000
;
int32_t
tsMaxMgmtConnections
=
2000
;
int32_t
tsMaxVnodeConnections
=
10000
;
int32_t
tsMaxConnections
=
50
;
int32_t
tsBalanceInterval
=
300
;
// seconds
int32_t
tsOfflineThreshold
=
86400
*
100
;
// seconds 10days
...
...
@@ -407,8 +405,8 @@ static void doInitGlobalConfig() {
cfg
.
unitType
=
TAOS_CFG_UTYPE_NONE
;
taosInitConfigOption
(
cfg
);
cfg
.
option
=
"numOfM
Peer
s"
;
cfg
.
ptr
=
&
tsNumOfM
Peer
s
;
cfg
.
option
=
"numOfM
node
s"
;
cfg
.
ptr
=
&
tsNumOfM
node
s
;
cfg
.
valType
=
TAOS_CFG_VTYPE_INT32
;
cfg
.
cfgType
=
TSDB_CFG_CTYPE_B_CONFIG
|
TSDB_CFG_CTYPE_B_SHOW
;
cfg
.
minValue
=
1
;
...
...
@@ -680,7 +678,7 @@ static void doInitGlobalConfig() {
cfg
.
unitType
=
TAOS_CFG_UTYPE_NONE
;
taosInitConfigOption
(
cfg
);
cfg
.
option
=
"wal
l
evel"
;
cfg
.
option
=
"wal
L
evel"
;
cfg
.
ptr
=
&
tsWAL
;
cfg
.
valType
=
TAOS_CFG_VTYPE_INT16
;
cfg
.
cfgType
=
TSDB_CFG_CTYPE_B_CONFIG
|
TSDB_CFG_CTYPE_B_SHOW
;
...
...
@@ -814,32 +812,12 @@ static void doInitGlobalConfig() {
cfg
.
unitType
=
TAOS_CFG_UTYPE_NONE
;
taosInitConfigOption
(
cfg
);
cfg
.
option
=
"max
Meter
Connections"
;
cfg
.
ptr
=
&
tsMax
Meter
Connections
;
cfg
.
option
=
"maxConnections"
;
cfg
.
ptr
=
&
tsMaxConnections
;
cfg
.
valType
=
TAOS_CFG_VTYPE_INT32
;
cfg
.
cfgType
=
TSDB_CFG_CTYPE_B_CONFIG
|
TSDB_CFG_CTYPE_B_SHOW
;
cfg
.
minValue
=
10
;
cfg
.
maxValue
=
50000000
;
cfg
.
ptrLength
=
0
;
cfg
.
unitType
=
TAOS_CFG_UTYPE_NONE
;
taosInitConfigOption
(
cfg
);
cfg
.
option
=
"maxMgmtConnections"
;
cfg
.
ptr
=
&
tsMaxMgmtConnections
;
cfg
.
valType
=
TAOS_CFG_VTYPE_INT32
;
cfg
.
cfgType
=
TSDB_CFG_CTYPE_B_CONFIG
|
TSDB_CFG_CTYPE_B_SHOW
;
cfg
.
minValue
=
10
;
cfg
.
maxValue
=
50000000
;
cfg
.
ptrLength
=
0
;
cfg
.
unitType
=
TAOS_CFG_UTYPE_NONE
;
taosInitConfigOption
(
cfg
);
cfg
.
option
=
"maxVnodeConnections"
;
cfg
.
ptr
=
&
tsMaxVnodeConnections
;
cfg
.
valType
=
TAOS_CFG_VTYPE_INT32
;
cfg
.
cfgType
=
TSDB_CFG_CTYPE_B_CONFIG
|
TSDB_CFG_CTYPE_B_SHOW
;
cfg
.
minValue
=
10
;
cfg
.
maxValue
=
50000000
;
cfg
.
minValue
=
1
;
cfg
.
maxValue
=
100
;
cfg
.
ptrLength
=
0
;
cfg
.
unitType
=
TAOS_CFG_UTYPE_NONE
;
taosInitConfigOption
(
cfg
);
...
...
src/dnode/src/dnodeShell.c
浏览文件 @
f17bc158
...
...
@@ -84,7 +84,7 @@ int32_t dnodeInitShell() {
rpcInit
.
label
=
"SHELL"
;
rpcInit
.
numOfThreads
=
numOfThreads
;
rpcInit
.
cfp
=
dnodeProcessMsgFromShell
;
rpcInit
.
sessions
=
TSDB_SESSIONS_PER_DNODE
;
rpcInit
.
sessions
=
tsMaxShellConns
;
rpcInit
.
connType
=
TAOS_CONN_SERVER
;
rpcInit
.
idleTime
=
tsShellActivityTimer
*
1000
;
rpcInit
.
afp
=
dnodeRetrieveUserAuthInfo
;
...
...
src/inc/taosdef.h
浏览文件 @
f17bc158
...
...
@@ -338,9 +338,6 @@ void tsDataSwap(void *pLeft, void *pRight, int32_t type, int32_t size);
#define TSDB_ORDER_ASC 1
#define TSDB_ORDER_DESC 2
#define TSDB_SESSIONS_PER_VNODE (300)
#define TSDB_SESSIONS_PER_DNODE (TSDB_SESSIONS_PER_VNODE * TSDB_MAX_VNODES)
#define TSDB_DEFAULT_MNODES_HASH_SIZE 5
#define TSDB_DEFAULT_DNODES_HASH_SIZE 10
#define TSDB_DEFAULT_ACCOUNTS_HASH_SIZE 10
...
...
src/inc/taoserror.h
浏览文件 @
f17bc158
...
...
@@ -72,9 +72,8 @@ TAOS_DEFINE_ERROR(TSDB_CODE_NO_RESOURCE, 0, 0x0018, "no resource"
TAOS_DEFINE_ERROR
(
TSDB_CODE_OPS_NOT_SUPPORT
,
0
,
0x0019
,
"operations not support"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_INVALID_OPTION
,
0
,
0x001A
,
"invalid option"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_NOT_CONFIGURED
,
0
,
0x001B
,
"not configured"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_NODE_OFFLINE
,
0
,
0x001C
,
"node offline"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_NETWORK_UNAVAIL
,
0
,
0x001D
,
"network unavailable"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_AUTH_REQUIRED
,
0
,
0x001E
,
"auth required"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_NETWORK_UNAVAIL
,
0
,
0x001C
,
"network unavailable"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_AUTH_REQUIRED
,
0
,
0x001D
,
"auth required"
)
// db
TAOS_DEFINE_ERROR
(
TSDB_CODE_DB_NOT_SELECTED
,
0
,
0x0100
,
"db not selected"
)
...
...
@@ -148,15 +147,14 @@ TAOS_DEFINE_ERROR(TSDB_CODE_GRANT_CPU_LIMITED, 0, 0x038F, "grant cpu li
// server
TAOS_DEFINE_ERROR
(
TSDB_CODE_INVALID_VGROUP_ID
,
0
,
0x0400
,
"invalid vgroup id"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_INVALID_VNODE_ID
,
0
,
0x0401
,
"invalid vnode id"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_NOT_ACTIVE_VNODE
,
0
,
0x0402
,
"not active vnode"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_VG_INIT_FAILED
,
0
,
0x0403
,
"vg init failed"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_SERV_NO_DISKSPACE
,
0
,
0x0404
,
"server no diskspace"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_SERV_OUT_OF_MEMORY
,
0
,
0x0405
,
"server out of memory"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_NO_DISK_PERMISSIONS
,
0
,
0x0406
,
"no disk permissions"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_FILE_CORRUPTED
,
0
,
0x0407
,
"file corrupted"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_MEMORY_CORRUPTED
,
0
,
0x0408
,
"memory corrupted"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_NOT_SUCH_FILE_OR_DIR
,
0
,
0x0409
,
"no such file or directory"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_NOT_ACTIVE_VNODE
,
0
,
0x0401
,
"not active vnode"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_VG_INIT_FAILED
,
0
,
0x0402
,
"vgroup init failed"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_SERV_NO_DISKSPACE
,
0
,
0x0403
,
"server no diskspace"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_SERV_OUT_OF_MEMORY
,
0
,
0x0404
,
"server out of memory"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_NO_DISK_PERMISSIONS
,
0
,
0x0405
,
"no disk permissions"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_FILE_CORRUPTED
,
0
,
0x0406
,
"file corrupted"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_MEMORY_CORRUPTED
,
0
,
0x0407
,
"memory corrupted"
)
TAOS_DEFINE_ERROR
(
TSDB_CODE_NOT_SUCH_FILE_OR_DIR
,
0
,
0x0408
,
"no such file or directory"
)
// client
TAOS_DEFINE_ERROR
(
TSDB_CODE_INVALID_CLIENT_VERSION
,
0
,
0x0481
,
"invalid client version"
)
...
...
src/mnode/src/mnodeMain.c
浏览文件 @
f17bc158
...
...
@@ -160,7 +160,7 @@ void mnodeStopSystem() {
static
void
mnodeInitTimer
()
{
if
(
tsMnodeTmr
==
NULL
)
{
tsMnodeTmr
=
taosTmrInit
(
(
tsMaxShellConns
)
*
3
,
200
,
3600000
,
"MND"
);
tsMnodeTmr
=
taosTmrInit
(
tsMaxShellConns
,
200
,
3600000
,
"MND"
);
}
}
...
...
@@ -185,4 +185,4 @@ static bool mnodeNeedStart() {
bool
mnodeIsRunning
()
{
return
tsMgmtIsRunning
;
}
\ No newline at end of file
}
tests/pytest/util/dnodes.py
浏览文件 @
f17bc158
...
...
@@ -163,7 +163,7 @@ class TDDnode:
self
.
cfg
(
"clog"
,
"1"
)
self
.
cfg
(
"statusInterval"
,
"1"
)
self
.
cfg
(
"numOfTotalVnodes"
,
"64"
)
self
.
cfg
(
"numOfM
Peer
s"
,
"3"
)
self
.
cfg
(
"numOfM
node
s"
,
"3"
)
self
.
cfg
(
"numOfThreadsPerCore"
,
"2.0"
)
self
.
cfg
(
"monitor"
,
"0"
)
self
.
cfg
(
"maxVnodeConnections"
,
"30000"
)
...
...
tests/script/general/alter/count.sim
浏览文件 @
f17bc158
...
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c wallevel -v 0
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
print ========= start dnode1 as master
...
...
tests/script/general/alter/import.sim
浏览文件 @
f17bc158
...
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c wallevel -v 0
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
print ========= start dnode1 as master
...
...
tests/script/general/db/backup/keep.sim
浏览文件 @
f17bc158
...
...
@@ -9,9 +9,9 @@ system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode3 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/general/db/delete_reuse1.sim
浏览文件 @
f17bc158
...
...
@@ -10,10 +10,10 @@ system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode3 -c walLevel -v 0
system sh/cfg.sh -n dnode4 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/general/db/delete_reuse2.sim
浏览文件 @
f17bc158
...
...
@@ -10,10 +10,10 @@ system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode3 -c walLevel -v 0
system sh/cfg.sh -n dnode4 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/general/db/delete_writing1.sim
浏览文件 @
f17bc158
...
...
@@ -10,10 +10,10 @@ system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode3 -c walLevel -v 0
system sh/cfg.sh -n dnode4 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/general/import/basic.sim
浏览文件 @
f17bc158
...
...
@@ -4,10 +4,10 @@ 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 numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 10
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 10
...
...
tests/script/general/import/commit.sim
浏览文件 @
f17bc158
...
...
@@ -4,10 +4,10 @@ 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 numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 10
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 10
...
...
tests/script/general/import/large.sim
浏览文件 @
f17bc158
...
...
@@ -4,10 +4,10 @@ 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 numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 10
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 10
...
...
tests/script/general/import/replica1.sim
浏览文件 @
f17bc158
...
...
@@ -5,10 +5,10 @@ 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 numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 10
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 10
...
...
tests/script/general/table/delete_reuse1.sim
浏览文件 @
f17bc158
...
...
@@ -9,10 +9,10 @@ system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode3 -c walLevel -v 0
system sh/cfg.sh -n dnode4 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/general/table/delete_reuse2.sim
浏览文件 @
f17bc158
...
...
@@ -9,10 +9,10 @@ system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode3 -c walLevel -v 0
system sh/cfg.sh -n dnode4 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/general/table/delete_writing.sim
浏览文件 @
f17bc158
...
...
@@ -9,10 +9,10 @@ system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode3 -c walLevel -v 0
system sh/cfg.sh -n dnode4 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/sh/clear.sh
浏览文件 @
f17bc158
...
...
@@ -111,7 +111,7 @@ echo "clog 0" >> $TAOS_CFG
echo
"statusInterval 1"
>>
$TAOS_CFG
echo
"numOfTotalVnodes 4"
>>
$TAOS_CFG
echo
"asyncLog 0"
>>
$TAOS_CFG
echo
"numOfM
Peer
s 1"
>>
$TAOS_CFG
echo
"numOfM
node
s 1"
>>
$TAOS_CFG
echo
"locale en_US.UTF-8"
>>
$TAOS_CFG
tests/script/sh/deploy.sh
浏览文件 @
f17bc158
...
...
@@ -119,7 +119,7 @@ echo "clog 2" >> $TAOS_CFG
echo
"statusInterval 1"
>>
$TAOS_CFG
echo
"numOfTotalVnodes 4"
>>
$TAOS_CFG
echo
"asyncLog 0"
>>
$TAOS_CFG
echo
"numOfM
Peer
s 1"
>>
$TAOS_CFG
echo
"numOfM
node
s 1"
>>
$TAOS_CFG
echo
"locale en_US.UTF-8"
>>
$TAOS_CFG
echo
"anyIp 0"
>>
$TAOS_CFG
...
...
tests/script/tmp/mnodes.sim
浏览文件 @
f17bc158
...
...
@@ -2,6 +2,6 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 3
tests/script/tmp/prepare.sim
浏览文件 @
f17bc158
...
...
@@ -10,10 +10,10 @@ system sh/cfg.sh -n dnode2 -c walLevel -v 2
system sh/cfg.sh -n dnode3 -c walLevel -v 2
system sh/cfg.sh -n dnode4 -c walLevel -v 2
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/unique/arbitrator/dn3_mn1_replica2_wal1_AddDelDnode.sim
浏览文件 @
f17bc158
...
...
@@ -5,11 +5,11 @@ system sh/deploy.sh -n dnode3 -i 3
system sh/deploy.sh -n dnode4 -i 4
system sh/deploy.sh -n dnode5 -i 5
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode5 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode5 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/cfg.sh -n dnode2 -c walLevel -v 1
...
...
tests/script/unique/arbitrator/replica_changeWithArbitrator.sim
浏览文件 @
f17bc158
...
...
@@ -3,9 +3,9 @@ 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 numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/cfg.sh -n dnode2 -c walLevel -v 1
...
...
tests/script/unique/cluster/balance1.sim
浏览文件 @
f17bc158
...
...
@@ -17,14 +17,14 @@ system sh/cfg.sh -n dnode6 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode7 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode8 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode4 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode5 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode6 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode7 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode8 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode5 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode6 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode7 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode8 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 0
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 0
...
...
tests/script/unique/cluster/balance2.sim
浏览文件 @
f17bc158
...
...
@@ -17,14 +17,14 @@ system sh/cfg.sh -n dnode6 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode7 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode8 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode5 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode6 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode7 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode8 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode5 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode6 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode7 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode8 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode1 -c wallevel -v 1
system sh/cfg.sh -n dnode2 -c wallevel -v 1
...
...
tests/script/unique/cluster/balance3.sim
浏览文件 @
f17bc158
...
...
@@ -18,14 +18,14 @@ system sh/cfg.sh -n dnode6 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode7 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode8 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode4 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode5 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode6 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode7 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode8 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode5 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode6 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode7 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode8 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 0
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 0
...
...
tests/script/unique/column/replica3.sim
浏览文件 @
f17bc158
...
...
@@ -6,9 +6,9 @@ system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c wallevel -v 2
system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c num
ofMpeer
s -v 3
system sh/cfg.sh -n dnode2 -c num
ofMpeer
s -v 3
system sh/cfg.sh -n dnode3 -c num
ofMpeer
s -v 3
system sh/cfg.sh -n dnode1 -c num
OfMnode
s -v 3
system sh/cfg.sh -n dnode2 -c num
OfMnode
s -v 3
system sh/cfg.sh -n dnode3 -c num
OfMnode
s -v 3
system sh/exec_up.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/db/commit.sim
浏览文件 @
f17bc158
...
...
@@ -6,9 +6,9 @@ system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c walLevel -v 2
system sh/cfg.sh -n dnode2 -c walLevel -v 2
system sh/cfg.sh -n dnode3 -c walLevel -v 2
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/unique/db/delete.sim
浏览文件 @
f17bc158
...
...
@@ -6,9 +6,9 @@ system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c wallevel -v 2
system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 10
system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 10
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 10
...
...
tests/script/unique/db/delete_part.sim
浏览文件 @
f17bc158
...
...
@@ -9,10 +9,10 @@ system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode4 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/unique/db/replica_add12.sim
浏览文件 @
f17bc158
...
...
@@ -10,10 +10,10 @@ system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode4 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/unique/db/replica_add13.sim
浏览文件 @
f17bc158
...
...
@@ -10,10 +10,10 @@ system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode4 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/unique/db/replica_add23.sim
浏览文件 @
f17bc158
...
...
@@ -10,10 +10,10 @@ system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode4 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/unique/db/replica_part.sim
浏览文件 @
f17bc158
...
...
@@ -7,9 +7,9 @@ system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c wallevel -v 2
system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/unique/db/replica_reduce21.sim
浏览文件 @
f17bc158
...
...
@@ -7,9 +7,9 @@ system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c wallevel -v 2
system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/unique/db/replica_reduce31.sim
浏览文件 @
f17bc158
...
...
@@ -7,9 +7,9 @@ system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c wallevel -v 2
system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/unique/db/replica_reduce32.sim
浏览文件 @
f17bc158
...
...
@@ -7,9 +7,9 @@ system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c wallevel -v 2
system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/unique/dnode/alternativeRole.sim
浏览文件 @
f17bc158
...
...
@@ -12,9 +12,9 @@ system sh/cfg.sh -n dnode1 -c wallevel -v 1
system sh/cfg.sh -n dnode2 -c wallevel -v 1
system sh/cfg.sh -n dnode3 -c wallevel -v 1
system sh/cfg.sh -n dnode1 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
peer
s -v 3
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 3
print ========== step1
system sh/exec_up.sh -n dnode1 -s start
...
...
tests/script/unique/import/replica2.sim
浏览文件 @
f17bc158
...
...
@@ -5,10 +5,10 @@ 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 numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 10
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 10
...
...
tests/script/unique/import/replica3.sim
浏览文件 @
f17bc158
...
...
@@ -5,10 +5,10 @@ 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 numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 10
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 10
...
...
tests/script/unique/mnode/mgmt22.sim
浏览文件 @
f17bc158
...
...
@@ -3,9 +3,9 @@ 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 numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 2
print ============== step1
system sh/exec_up.sh -n dnode1 -s start
...
...
tests/script/unique/mnode/mgmt23.sim
浏览文件 @
f17bc158
...
...
@@ -3,9 +3,9 @@ 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 numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 2
print ============== step1
system sh/exec_up.sh -n dnode1 -s start
...
...
@@ -91,7 +91,7 @@ print ============== step5
sleep 2000
sql create dnode $hostname2
system sh/deploy.sh -n dnode2 -i 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 2
system sh/exec_up.sh -n dnode2 -s start
sleep 8000
...
...
tests/script/unique/mnode/mgmt24.sim
浏览文件 @
f17bc158
...
...
@@ -3,9 +3,9 @@ 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 numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 2
print ============== step1
system sh/exec_up.sh -n dnode1 -s start
...
...
tests/script/unique/mnode/mgmt25.sim
浏览文件 @
f17bc158
...
...
@@ -3,9 +3,9 @@ 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 numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 2
print ============== step1
system sh/exec_up.sh -n dnode1 -s start
...
...
tests/script/unique/mnode/mgmt26.sim
浏览文件 @
f17bc158
...
...
@@ -3,9 +3,9 @@ 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 numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 2
print ============== step1
system sh/exec_up.sh -n dnode1 -s start
...
...
@@ -89,7 +89,7 @@ endi
print ============== step5
system sh/exec_up.sh -n dnode2 -s stop
system sh/deploy.sh -n dnode2 -i 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 2
sleep 5000
system sh/exec_up.sh -n dnode2 -s start
sql create dnode $hostname2
...
...
tests/script/unique/mnode/mgmt33.sim
浏览文件 @
f17bc158
...
...
@@ -3,9 +3,9 @@ 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 numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 3
print ============== step1
system sh/exec_up.sh -n dnode1 -s start
...
...
@@ -97,7 +97,7 @@ system sh/exec_up.sh -n dnode2 -s stop
sleep 3000
system sh/deploy.sh -n dnode2 -i 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 3
system sh/exec_up.sh -n dnode2 -s start
print ============== step5
...
...
tests/script/unique/mnode/mgmt34.sim
浏览文件 @
f17bc158
...
...
@@ -5,10 +5,10 @@ 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 numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 3
print ============== step1
system sh/exec_up.sh -n dnode1 -s start
...
...
@@ -145,7 +145,7 @@ system sh/exec_up.sh -n dnode2 -s stop
sleep 3000
system sh/deploy.sh -n dnode2 -i 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 3
system sh/exec_up.sh -n dnode2 -s start
print ============== step6
...
...
tests/script/unique/mnode/mgmtr2.sim
浏览文件 @
f17bc158
...
...
@@ -3,9 +3,9 @@ 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 numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 2
print ============== step1
system sh/exec_up.sh -n dnode1 -s start
...
...
tests/script/unique/stream/metrics_balance.sim
浏览文件 @
f17bc158
...
...
@@ -18,8 +18,8 @@ system sh/cfg.sh -n dnode1 -c maxTablesPerVnode -v 4
system sh/cfg.sh -n dnode2 -c maxTablesPerVnode -v 4
system sh/cfg.sh -n dnode1 -c tableMetaKeepTimer -v 5
system sh/cfg.sh -n dnode2 -c tableMetaKeepTimer -v 5
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 2
$dbPrefix = db
$tbPrefix = tb
...
...
tests/script/unique/stream/metrics_vnode_stop.sim
浏览文件 @
f17bc158
...
...
@@ -6,8 +6,8 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 2
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/stream/table_balance.sim
浏览文件 @
f17bc158
...
...
@@ -16,8 +16,8 @@ system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 0
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 0
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 2
$dbPrefix = tb_db
$tbPrefix = tb_tb
...
...
tests/script/unique/stream/table_move.sim
浏览文件 @
f17bc158
...
...
@@ -40,10 +40,10 @@ system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode3 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode4 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 3
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 3
system sh/cfg.sh -n dnode1 -c maxVnodeConnections -v 1000
system sh/cfg.sh -n dnode1 -c maxMeterConnections -v 1000
...
...
tests/script/unique/stream/table_vnode_stop.sim
浏览文件 @
f17bc158
...
...
@@ -6,8 +6,8 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode2 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 2
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 2
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 2
system sh/exec.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/vnode/many.sim
浏览文件 @
f17bc158
...
...
@@ -8,10 +8,10 @@ system sh/cfg.sh -n dnode1 -c wallevel -v 2
system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode4 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c num
ofMpeer
s -v 1
system sh/cfg.sh -n dnode2 -c num
ofMpeer
s -v 1
system sh/cfg.sh -n dnode3 -c num
ofMpeer
s -v 1
system sh/cfg.sh -n dnode4 -c num
ofMpeer
s -v 1
system sh/cfg.sh -n dnode1 -c num
OfMnode
s -v 1
system sh/cfg.sh -n dnode2 -c num
OfMnode
s -v 1
system sh/cfg.sh -n dnode3 -c num
OfMnode
s -v 1
system sh/cfg.sh -n dnode4 -c num
OfMnode
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/unique/vnode/replica2_basic2.sim
浏览文件 @
f17bc158
...
...
@@ -10,10 +10,10 @@ system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode4 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
Peer
s -v 1
system sh/cfg.sh -n dnode1 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode2 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode3 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode4 -c numOfM
node
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/unique/vnode/replica2_repeat.sim
浏览文件 @
f17bc158
...
...
@@ -8,10 +8,10 @@ system sh/cfg.sh -n dnode1 -c wallevel -v 2
system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode4 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c num
ofMpeer
s -v 1
system sh/cfg.sh -n dnode2 -c num
ofMpeer
s -v 1
system sh/cfg.sh -n dnode3 -c num
ofMpeer
s -v 1
system sh/cfg.sh -n dnode4 -c num
ofMpeer
s -v 1
system sh/cfg.sh -n dnode1 -c num
OfMnode
s -v 1
system sh/cfg.sh -n dnode2 -c num
OfMnode
s -v 1
system sh/cfg.sh -n dnode3 -c num
OfMnode
s -v 1
system sh/cfg.sh -n dnode4 -c num
OfMnode
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/unique/vnode/replica3_basic.sim
浏览文件 @
f17bc158
...
...
@@ -6,9 +6,9 @@ system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c wallevel -v 2
system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c num
ofMpeer
s -v 3
system sh/cfg.sh -n dnode2 -c num
ofMpeer
s -v 3
system sh/cfg.sh -n dnode3 -c num
ofMpeer
s -v 3
system sh/cfg.sh -n dnode1 -c num
OfMnode
s -v 3
system sh/cfg.sh -n dnode2 -c num
OfMnode
s -v 3
system sh/cfg.sh -n dnode3 -c num
OfMnode
s -v 3
system sh/exec_up.sh -n dnode1 -s start
sql connect
...
...
tests/script/unique/vnode/replica3_repeat.sim
浏览文件 @
f17bc158
...
...
@@ -8,10 +8,10 @@ system sh/cfg.sh -n dnode1 -c wallevel -v 2
system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode4 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c num
ofMpeer
s -v 1
system sh/cfg.sh -n dnode2 -c num
ofMpeer
s -v 1
system sh/cfg.sh -n dnode3 -c num
ofMpeer
s -v 1
system sh/cfg.sh -n dnode4 -c num
ofMpeer
s -v 1
system sh/cfg.sh -n dnode1 -c num
OfMnode
s -v 1
system sh/cfg.sh -n dnode2 -c num
OfMnode
s -v 1
system sh/cfg.sh -n dnode3 -c num
OfMnode
s -v 1
system sh/cfg.sh -n dnode4 -c num
OfMnode
s -v 1
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mnodeEqualVnodeNum -v 4
...
...
tests/script/unique/vnode/replica3_vgroup.sim
浏览文件 @
f17bc158
...
...
@@ -6,9 +6,9 @@ system sh/deploy.sh -n dnode3 -i 3
system sh/cfg.sh -n dnode1 -c wallevel -v 2
system sh/cfg.sh -n dnode2 -c wallevel -v 2
system sh/cfg.sh -n dnode3 -c wallevel -v 2
system sh/cfg.sh -n dnode1 -c num
ofMpeer
s -v 3
system sh/cfg.sh -n dnode2 -c num
ofMpeer
s -v 3
system sh/cfg.sh -n dnode3 -c num
ofMpeer
s -v 3
system sh/cfg.sh -n dnode1 -c num
OfMnode
s -v 3
system sh/cfg.sh -n dnode2 -c num
OfMnode
s -v 3
system sh/cfg.sh -n dnode3 -c num
OfMnode
s -v 3
system sh/exec_up.sh -n dnode1 -s start
sql connect
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录