Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
d896fc19
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
d896fc19
编写于
7月 17, 2020
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[TD-913]
上级
25eb73d3
变更
59
隐藏空白更改
内联
并排
Showing
59 changed file
with
226 addition
and
252 deletion
+226
-252
src/common/inc/tglobal.h
src/common/inc/tglobal.h
+0
-2
src/common/src/tglobal.c
src/common/src/tglobal.c
+1
-20
src/dnode/src/dnodeMgmt.c
src/dnode/src/dnodeMgmt.c
+0
-1
src/inc/taosdef.h
src/inc/taosdef.h
+1
-2
src/inc/taosmsg.h
src/inc/taosmsg.h
+2
-2
src/mnode/inc/mnodeDef.h
src/mnode/inc/mnodeDef.h
+3
-3
src/mnode/src/mnodeDnode.c
src/mnode/src/mnodeDnode.c
+5
-8
src/mnode/src/mnodeVgroup.c
src/mnode/src/mnodeVgroup.c
+6
-5
tests/script/sh/deploy.sh
tests/script/sh/deploy.sh
+0
-1
tests/script/unique/arbitrator/dn2_mn1_cache_file_sync.sim
tests/script/unique/arbitrator/dn2_mn1_cache_file_sync.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_full_createTableFail.sim
...script/unique/arbitrator/dn3_mn1_full_createTableFail.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_full_dropDnodeFail.sim
...s/script/unique/arbitrator/dn3_mn1_full_dropDnodeFail.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_multiCreateDropTable.sim
...script/unique/arbitrator/dn3_mn1_multiCreateDropTable.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_nw_disable_timeout_autoDropDnode.sim
...e/arbitrator/dn3_mn1_nw_disable_timeout_autoDropDnode.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_r2_vnode_delDir.sim
tests/script/unique/arbitrator/dn3_mn1_r2_vnode_delDir.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_r3_vnode_delDir.sim
tests/script/unique/arbitrator/dn3_mn1_r3_vnode_delDir.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_replica2_wal1_AddDelDnode.sim
...t/unique/arbitrator/dn3_mn1_replica2_wal1_AddDelDnode.sim
+6
-6
tests/script/unique/arbitrator/dn3_mn1_replica_change.sim
tests/script/unique/arbitrator/dn3_mn1_replica_change.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_replica_change_dropDnod.sim
...ipt/unique/arbitrator/dn3_mn1_replica_change_dropDnod.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_stopDnode_timeout.sim
tests/script/unique/arbitrator/dn3_mn1_stopDnode_timeout.sim
+5
-5
tests/script/unique/arbitrator/dn3_mn1_vnode_change.sim
tests/script/unique/arbitrator/dn3_mn1_vnode_change.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_vnode_corruptFile_offline.sim
...t/unique/arbitrator/dn3_mn1_vnode_corruptFile_offline.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_vnode_corruptFile_online.sim
...pt/unique/arbitrator/dn3_mn1_vnode_corruptFile_online.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_vnode_createErrData_online.sim
.../unique/arbitrator/dn3_mn1_vnode_createErrData_online.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_vnode_delDir.sim
tests/script/unique/arbitrator/dn3_mn1_vnode_delDir.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_vnode_noCorruptFile_offline.sim
...unique/arbitrator/dn3_mn1_vnode_noCorruptFile_offline.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn1_vnode_nomaster.sim
tests/script/unique/arbitrator/dn3_mn1_vnode_nomaster.sim
+4
-4
tests/script/unique/arbitrator/dn3_mn2_killDnode.sim
tests/script/unique/arbitrator/dn3_mn2_killDnode.sim
+4
-4
tests/script/unique/arbitrator/insert_duplicationTs.sim
tests/script/unique/arbitrator/insert_duplicationTs.sim
+4
-4
tests/script/unique/arbitrator/offline_replica2_alterTable_online.sim
.../unique/arbitrator/offline_replica2_alterTable_online.sim
+4
-4
tests/script/unique/arbitrator/offline_replica2_alterTag_online.sim
...pt/unique/arbitrator/offline_replica2_alterTag_online.sim
+4
-4
tests/script/unique/arbitrator/offline_replica2_createTable_online.sim
...unique/arbitrator/offline_replica2_createTable_online.sim
+4
-4
tests/script/unique/arbitrator/offline_replica2_dropDb_online.sim
...ript/unique/arbitrator/offline_replica2_dropDb_online.sim
+4
-4
tests/script/unique/arbitrator/offline_replica2_dropTable_online.sim
...t/unique/arbitrator/offline_replica2_dropTable_online.sim
+4
-4
tests/script/unique/arbitrator/offline_replica3_alterTable_online.sim
.../unique/arbitrator/offline_replica3_alterTable_online.sim
+4
-4
tests/script/unique/arbitrator/offline_replica3_alterTag_online.sim
...pt/unique/arbitrator/offline_replica3_alterTag_online.sim
+4
-4
tests/script/unique/arbitrator/offline_replica3_createTable_online.sim
...unique/arbitrator/offline_replica3_createTable_online.sim
+4
-4
tests/script/unique/arbitrator/offline_replica3_dropDb_online.sim
...ript/unique/arbitrator/offline_replica3_dropDb_online.sim
+4
-4
tests/script/unique/arbitrator/offline_replica3_dropTable_online.sim
...t/unique/arbitrator/offline_replica3_dropTable_online.sim
+4
-4
tests/script/unique/arbitrator/replica_changeWithArbitrator.sim
...script/unique/arbitrator/replica_changeWithArbitrator.sim
+6
-6
tests/script/unique/arbitrator/sync_replica2_alterTable_add.sim
...script/unique/arbitrator/sync_replica2_alterTable_add.sim
+4
-4
tests/script/unique/arbitrator/sync_replica2_alterTable_drop.sim
...cript/unique/arbitrator/sync_replica2_alterTable_drop.sim
+4
-4
tests/script/unique/arbitrator/sync_replica2_dropDb.sim
tests/script/unique/arbitrator/sync_replica2_dropDb.sim
+4
-4
tests/script/unique/arbitrator/sync_replica2_dropTable.sim
tests/script/unique/arbitrator/sync_replica2_dropTable.sim
+4
-4
tests/script/unique/arbitrator/sync_replica3_alterTable_add.sim
...script/unique/arbitrator/sync_replica3_alterTable_add.sim
+4
-4
tests/script/unique/arbitrator/sync_replica3_alterTable_drop.sim
...cript/unique/arbitrator/sync_replica3_alterTable_drop.sim
+4
-4
tests/script/unique/arbitrator/sync_replica3_createTable.sim
tests/script/unique/arbitrator/sync_replica3_createTable.sim
+4
-4
tests/script/unique/arbitrator/sync_replica3_dnodeChang_DropAddAlterTableDropDb.sim
...ator/sync_replica3_dnodeChang_DropAddAlterTableDropDb.sim
+4
-4
tests/script/unique/arbitrator/sync_replica3_dropDb.sim
tests/script/unique/arbitrator/sync_replica3_dropDb.sim
+4
-4
tests/script/unique/arbitrator/sync_replica3_dropTable.sim
tests/script/unique/arbitrator/sync_replica3_dropTable.sim
+4
-4
tests/script/unique/cluster/cluster_main.sim
tests/script/unique/cluster/cluster_main.sim
+5
-5
tests/script/unique/cluster/cluster_main0.sim
tests/script/unique/cluster/cluster_main0.sim
+5
-5
tests/script/unique/cluster/cluster_main1.sim
tests/script/unique/cluster/cluster_main1.sim
+5
-5
tests/script/unique/cluster/cluster_main2.sim
tests/script/unique/cluster/cluster_main2.sim
+5
-5
tests/script/unique/dnode/alternativeRole.sim
tests/script/unique/dnode/alternativeRole.sim
+3
-3
tests/script/unique/migrate/mn2_vn2_repl2_rmMnodeDir.sim
tests/script/unique/migrate/mn2_vn2_repl2_rmMnodeDir.sim
+4
-4
tests/script/unique/migrate/mn2_vn2_repl2_rmMnodeVnodeDir.sim
...s/script/unique/migrate/mn2_vn2_repl2_rmMnodeVnodeDir.sim
+4
-4
tests/script/unique/migrate/mn2_vn2_repl2_rmMnodeVnodeDir_stopAll_starAll.sim
...migrate/mn2_vn2_repl2_rmMnodeVnodeDir_stopAll_starAll.sim
+4
-4
tests/script/unique/migrate/mn2_vn2_repl2_rmVnodeDir.sim
tests/script/unique/migrate/mn2_vn2_repl2_rmVnodeDir.sim
+4
-4
未找到文件。
src/common/inc/tglobal.h
浏览文件 @
d896fc19
...
...
@@ -30,8 +30,6 @@ extern uint16_t tsDnodeShellPort;
extern
uint16_t
tsDnodeDnodePort
;
extern
uint16_t
tsSyncPort
;
extern
int32_t
tsStatusInterval
;
extern
int16_t
tsNumOfVnodesPerCore
;
extern
int16_t
tsNumOfTotalVnodes
;
extern
int32_t
tsNumOfMnodes
;
extern
int32_t
tsEnableVnodeBak
;
...
...
src/common/src/tglobal.c
浏览文件 @
d896fc19
...
...
@@ -38,12 +38,9 @@ uint16_t tsDnodeShellPort = 6030; // udp[6035-6039] tcp[6035]
uint16_t
tsDnodeDnodePort
=
6035
;
// udp/tcp
uint16_t
tsSyncPort
=
6040
;
int32_t
tsStatusInterval
=
1
;
// second
int16_t
tsNumOfVnodesPerCore
=
32
;
int16_t
tsNumOfTotalVnodes
=
TSDB_INVALID_VNODE_NUM
;
int32_t
tsNumOfMnodes
=
3
;
int32_t
tsEnableVnodeBak
=
1
;
// common
int32_t
tsRpcTimer
=
1000
;
int32_t
tsRpcMaxTime
=
600
;
// seconds;
...
...
@@ -402,16 +399,6 @@ static void doInitGlobalConfig() {
cfg
.
unitType
=
TAOS_CFG_UTYPE_NONE
;
taosInitConfigOption
(
cfg
);
cfg
.
option
=
"numOfTotalVnodes"
;
cfg
.
ptr
=
&
tsNumOfTotalVnodes
;
cfg
.
valType
=
TAOS_CFG_VTYPE_INT16
;
cfg
.
cfgType
=
TSDB_CFG_CTYPE_B_CONFIG
;
cfg
.
minValue
=
0
;
cfg
.
maxValue
=
TSDB_MAX_VNODES
;
cfg
.
ptrLength
=
0
;
cfg
.
unitType
=
TAOS_CFG_UTYPE_NONE
;
taosInitConfigOption
(
cfg
);
cfg
.
option
=
"numOfMnodes"
;
cfg
.
ptr
=
&
tsNumOfMnodes
;
cfg
.
valType
=
TAOS_CFG_VTYPE_INT32
;
...
...
@@ -453,7 +440,7 @@ static void doInitGlobalConfig() {
taosInitConfigOption
(
cfg
);
// 0-any; 1-mnode; 2-vnode
cfg
.
option
=
"
alternativeR
ole"
;
cfg
.
option
=
"
r
ole"
;
cfg
.
ptr
=
&
tsAlternativeRole
;
cfg
.
valType
=
TAOS_CFG_VTYPE_INT32
;
cfg
.
cfgType
=
TSDB_CFG_CTYPE_B_CONFIG
;
...
...
@@ -1280,12 +1267,6 @@ bool taosCheckGlobalCfg() {
tsNumOfCores
=
1
;
}
if
(
tsNumOfTotalVnodes
==
TSDB_INVALID_VNODE_NUM
)
{
tsNumOfTotalVnodes
=
tsNumOfCores
*
tsNumOfVnodesPerCore
;
tsNumOfTotalVnodes
=
tsNumOfTotalVnodes
>
TSDB_MAX_VNODES
?
TSDB_MAX_VNODES
:
tsNumOfTotalVnodes
;
tsNumOfTotalVnodes
=
tsNumOfTotalVnodes
<
TSDB_MIN_VNODES
?
TSDB_MIN_VNODES
:
tsNumOfTotalVnodes
;
}
// todo refactor
tsVersion
=
0
;
for
(
int
i
=
0
;
i
<
10
;
i
++
)
{
...
...
src/dnode/src/dnodeMgmt.c
浏览文件 @
d896fc19
...
...
@@ -699,7 +699,6 @@ static void dnodeSendStatusMsg(void *handle, void *tmrId) {
pStatus
->
dnodeId
=
htonl
(
tsDnodeCfg
.
dnodeId
);
strcpy
(
pStatus
->
dnodeEp
,
tsLocalEp
);
pStatus
->
lastReboot
=
htonl
(
tsRebootTime
);
pStatus
->
numOfTotalVnodes
=
htons
((
uint16_t
)
tsNumOfTotalVnodes
);
pStatus
->
numOfCores
=
htons
((
uint16_t
)
tsNumOfCores
);
pStatus
->
diskAvailable
=
tsAvailDataDirGB
;
pStatus
->
alternativeRole
=
(
uint8_t
)
tsAlternativeRole
;
...
...
src/inc/taosdef.h
浏览文件 @
d896fc19
...
...
@@ -274,9 +274,8 @@ void tsDataSwap(void *pLeft, void *pRight, int32_t type, int32_t size);
#define TSDB_DEFAULT_PAYLOAD_SIZE 5120 // default payload size, greater than PATH_MAX value
#define TSDB_EXTRA_PAYLOAD_SIZE 128 // extra bytes for auth
#define TSDB_CQ_SQL_SIZE 1024
#define TSDB_MIN_VNODES 64
#define TSDB_MAX_VNODES 2048
#define TSDB_MIN_VNODES 256
#define TSDB_INVALID_VNODE_NUM 0
#define TSDB_DNODE_ROLE_ANY 0
#define TSDB_DNODE_ROLE_MGMT 1
...
...
src/inc/taosmsg.h
浏览文件 @
d896fc19
...
...
@@ -581,12 +581,12 @@ typedef struct {
char
dnodeEp
[
TSDB_EP_LEN
];
uint32_t
moduleStatus
;
uint32_t
lastReboot
;
// time stamp for last reboot
uint16_t
numOfTotalVnodes
;
// from config file
uint16_t
reserve1
;
// from config file
uint16_t
openVnodes
;
uint16_t
numOfCores
;
float
diskAvailable
;
// GB
uint8_t
alternativeRole
;
uint8_t
reserve
[
15
];
uint8_t
reserve
2
[
15
];
SClusterCfg
clusterCfg
;
SVnodeLoad
load
[];
}
SDMStatusMsg
;
...
...
src/mnode/inc/mnodeDef.h
浏览文件 @
d896fc19
...
...
@@ -40,7 +40,7 @@ typedef struct SDnodeObj {
int32_t
dnodeId
;
int32_t
openVnodes
;
int64_t
createdTime
;
int32_t
totalVnodes
;
// from dnode status msg, config information
int32_t
resever0
;
// from dnode status msg, config information
int32_t
customScore
;
// config by user
uint32_t
lastAccess
;
uint16_t
numOfCores
;
// from dnode status msg
...
...
@@ -50,7 +50,7 @@ typedef struct SDnodeObj {
int8_t
alternativeRole
;
// from dnode status msg, 0-any, 1-mgmt, 2-dnode
int8_t
status
;
// set in balance function
int8_t
isMgmt
;
int8_t
reserve
d0
[
14
];
int8_t
reserve
1
[
14
];
int8_t
updateEnd
[
1
];
int32_t
refCount
;
uint32_t
moduleStatus
;
...
...
@@ -61,7 +61,7 @@ typedef struct SDnodeObj {
int16_t
cpuAvgUsage
;
// calc from sys.cpu
int16_t
memoryAvgUsage
;
// calc from sys.mem
int16_t
bandwidthUsage
;
// calc from sys.band
int8_t
reserved
1
[
2
];
int8_t
reserved
2
[
2
];
}
SDnodeObj
;
typedef
struct
SMnodeObj
{
...
...
src/mnode/src/mnodeDnode.c
浏览文件 @
d896fc19
...
...
@@ -345,8 +345,7 @@ static int32_t mnodeProcessDnodeStatusMsg(SMnodeMsg *pMsg) {
pStatus
->
moduleStatus
=
htonl
(
pStatus
->
moduleStatus
);
pStatus
->
lastReboot
=
htonl
(
pStatus
->
lastReboot
);
pStatus
->
numOfCores
=
htons
(
pStatus
->
numOfCores
);
pStatus
->
numOfTotalVnodes
=
htons
(
pStatus
->
numOfTotalVnodes
);
uint32_t
version
=
htonl
(
pStatus
->
version
);
if
(
version
!=
tsVersion
)
{
mError
(
"status msg version:%d not equal with mnode:%d"
,
version
,
tsVersion
);
...
...
@@ -372,7 +371,6 @@ static int32_t mnodeProcessDnodeStatusMsg(SMnodeMsg *pMsg) {
pDnode
->
numOfCores
=
pStatus
->
numOfCores
;
pDnode
->
diskAvailable
=
pStatus
->
diskAvailable
;
pDnode
->
alternativeRole
=
pStatus
->
alternativeRole
;
pDnode
->
totalVnodes
=
pStatus
->
numOfTotalVnodes
;
pDnode
->
moduleStatus
=
pStatus
->
moduleStatus
;
if
(
pStatus
->
dnodeId
==
0
)
{
...
...
@@ -475,7 +473,6 @@ static int32_t mnodeCreateDnode(char *ep, SMnodeMsg *pMsg) {
pDnode
=
(
SDnodeObj
*
)
calloc
(
1
,
sizeof
(
SDnodeObj
));
pDnode
->
createdTime
=
taosGetTimestampMs
();
pDnode
->
status
=
TAOS_DN_STATUS_OFFLINE
;
pDnode
->
totalVnodes
=
TSDB_INVALID_VNODE_NUM
;
tstrncpy
(
pDnode
->
dnodeEp
,
ep
,
TSDB_EP_LEN
);
taosGetFqdnPortFromEp
(
ep
,
pDnode
->
dnodeFqdn
,
&
pDnode
->
dnodePort
);
...
...
@@ -592,13 +589,13 @@ static int32_t mnodeGetDnodeMeta(STableMetaMsg *pMeta, SShowObj *pShow, void *pC
pShow
->
bytes
[
cols
]
=
2
;
pSchema
[
cols
].
type
=
TSDB_DATA_TYPE_SMALLINT
;
strcpy
(
pSchema
[
cols
].
name
,
"
open_
vnodes"
);
strcpy
(
pSchema
[
cols
].
name
,
"vnodes"
);
pSchema
[
cols
].
bytes
=
htons
(
pShow
->
bytes
[
cols
]);
cols
++
;
pShow
->
bytes
[
cols
]
=
2
;
pSchema
[
cols
].
type
=
TSDB_DATA_TYPE_SMALLINT
;
strcpy
(
pSchema
[
cols
].
name
,
"
total_vnod
es"
);
strcpy
(
pSchema
[
cols
].
name
,
"
cor
es"
);
pSchema
[
cols
].
bytes
=
htons
(
pShow
->
bytes
[
cols
]);
cols
++
;
...
...
@@ -610,7 +607,7 @@ static int32_t mnodeGetDnodeMeta(STableMetaMsg *pMeta, SShowObj *pShow, void *pC
pShow
->
bytes
[
cols
]
=
6
+
VARSTR_HEADER_SIZE
;
pSchema
[
cols
].
type
=
TSDB_DATA_TYPE_BINARY
;
strcpy
(
pSchema
[
cols
].
name
,
"
alternativeR
ole"
);
strcpy
(
pSchema
[
cols
].
name
,
"
r
ole"
);
pSchema
[
cols
].
bytes
=
htons
(
pShow
->
bytes
[
cols
]);
cols
++
;
...
...
@@ -662,7 +659,7 @@ static int32_t mnodeRetrieveDnodes(SShowObj *pShow, char *data, int32_t rows, vo
cols
++
;
pWrite
=
data
+
pShow
->
offset
[
cols
]
*
rows
+
pShow
->
bytes
[
cols
]
*
numOfRows
;
*
(
int16_t
*
)
pWrite
=
pDnode
->
totalVnod
es
;
*
(
int16_t
*
)
pWrite
=
pDnode
->
numOfCor
es
;
cols
++
;
pWrite
=
data
+
pShow
->
offset
[
cols
]
*
rows
+
pShow
->
bytes
[
cols
]
*
numOfRows
;
...
...
src/mnode/src/mnodeVgroup.c
浏览文件 @
d896fc19
...
...
@@ -585,9 +585,9 @@ static int32_t mnodeGetVgroupMeta(STableMetaMsg *pMeta, SShowObj *pShow, void *p
pSchema
[
cols
].
bytes
=
htons
(
pShow
->
bytes
[
cols
]);
cols
++
;
pShow
->
bytes
[
cols
]
=
4
;
pSchema
[
cols
].
type
=
TSDB_DATA_TYPE_
INT
;
strcpy
(
pSchema
[
cols
].
name
,
"
poolSize
"
);
pShow
->
bytes
[
cols
]
=
12
+
VARSTR_HEADER_SIZE
;
pSchema
[
cols
].
type
=
TSDB_DATA_TYPE_
BINARY
;
strcpy
(
pSchema
[
cols
].
name
,
"
status
"
);
pSchema
[
cols
].
bytes
=
htons
(
pShow
->
bytes
[
cols
]);
cols
++
;
...
...
@@ -688,8 +688,9 @@ static int32_t mnodeRetrieveVgroups(SShowObj *pShow, char *data, int32_t rows, v
*
(
int32_t
*
)
pWrite
=
pVgroup
->
numOfTables
;
cols
++
;
pWrite
=
data
+
pShow
->
offset
[
cols
]
*
rows
+
pShow
->
bytes
[
cols
]
*
numOfRows
;
*
(
int32_t
*
)
pWrite
=
taosIdPoolMaxSize
(
pVgroup
->
idPool
);
pWrite
=
data
+
pShow
->
offset
[
cols
]
*
rows
+
pShow
->
bytes
[
cols
]
*
numOfRows
;
char
*
status
=
vgroupStatus
[
pVgroup
->
status
];
STR_TO_VARSTR
(
pWrite
,
status
);
cols
++
;
int32_t
onlineVnodes
=
0
;
...
...
tests/script/sh/deploy.sh
浏览文件 @
d896fc19
...
...
@@ -139,7 +139,6 @@ echo "clog 2" >> $TAOS_CFG
#echo "cache 1" >> $TAOS_CFG
#echo "block 2" >> $TAOS_CFG
echo
"statusInterval 1"
>>
$TAOS_CFG
echo
"numOfTotalVnodes 4"
>>
$TAOS_CFG
echo
"maxVgroupsPerDb 4"
>>
$TAOS_CFG
echo
"minTablesPerVnode 4"
>>
$TAOS_CFG
echo
"maxTablesPerVnode 1000"
>>
$TAOS_CFG
...
...
tests/script/unique/arbitrator/dn2_mn1_cache_file_sync.sim
浏览文件 @
d896fc19
...
...
@@ -34,10 +34,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 4
...
...
tests/script/unique/arbitrator/dn3_mn1_full_createTableFail.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 4
...
...
tests/script/unique/arbitrator/dn3_mn1_full_dropDnodeFail.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 4
...
...
tests/script/unique/arbitrator/dn3_mn1_multiCreateDropTable.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/dn3_mn1_nw_disable_timeout_autoDropDnode.sim
浏览文件 @
d896fc19
...
...
@@ -29,10 +29,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
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
system sh/cfg.sh -n dnode1 -c arbitrator -v $arbitrator
system sh/cfg.sh -n dnode2 -c arbitrator -v $arbitrator
...
...
tests/script/unique/arbitrator/dn3_mn1_r2_vnode_delDir.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/dn3_mn1_r3_vnode_delDir.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/dn3_mn1_replica2_wal1_AddDelDnode.sim
浏览文件 @
d896fc19
...
...
@@ -47,11 +47,11 @@ system sh/cfg.sh -n dnode3 -c mnodeEqualVnodeNum -v 200
system sh/cfg.sh -n dnode4 -c mnodeEqualVnodeNum -v 200
system sh/cfg.sh -n dnode5 -c mnodeEqualVnodeNum -v 200
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode5 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
system sh/cfg.sh -n dnode5 -c
r
ole -v 2
system sh/cfg.sh -n dnode1 -c arbitrator -v $arbitrator
system sh/cfg.sh -n dnode2 -c arbitrator -v $arbitrator
...
...
@@ -217,7 +217,7 @@ system sh/cfg.sh -n dnode3 -c balanceInterval -v 10
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode3 -c mnodeEqualVnodeNum -v 200
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c arbitrator -v $arbitrator
system sh/cfg.sh -n dnode3 -c offlineThreshold -v 10
system sh/cfg.sh -n dnode3 -c enableCoreFile -v 1
...
...
tests/script/unique/arbitrator/dn3_mn1_replica_change.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/dn3_mn1_replica_change_dropDnod.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/dn3_mn1_stopDnode_timeout.sim
浏览文件 @
d896fc19
...
...
@@ -29,10 +29,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
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
system sh/cfg.sh -n dnode1 -c arbitrator -v $arbitrator
system sh/cfg.sh -n dnode2 -c arbitrator -v $arbitrator
...
...
@@ -180,7 +180,7 @@ system sh/cfg.sh -n dnode4 -c walLevel -v 1
system sh/cfg.sh -n dnode4 -c balanceInterval -v 10
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c arbitrator -v $arbitrator
system sh/cfg.sh -n dnode4 -c offlineThreshold -v 5
system sh/cfg.sh -n dnode4 -c enableCoreFile -v 1
...
...
tests/script/unique/arbitrator/dn3_mn1_vnode_change.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/dn3_mn1_vnode_corruptFile_offline.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/dn3_mn1_vnode_corruptFile_online.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/dn3_mn1_vnode_createErrData_online.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/dn3_mn1_vnode_delDir.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/dn3_mn1_vnode_noCorruptFile_offline.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/dn3_mn1_vnode_nomaster.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 4
...
...
tests/script/unique/arbitrator/dn3_mn2_killDnode.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
#system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 2
#system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
#system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
#system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
#system sh/cfg.sh -n dnode1 -c
r
ole -v 2
#system sh/cfg.sh -n dnode2 -c
r
ole -v 2
#system sh/cfg.sh -n dnode3 -c
r
ole -v 2
#system sh/cfg.sh -n dnode4 -c
r
ole -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 4
...
...
tests/script/unique/arbitrator/insert_duplicationTs.sim
浏览文件 @
d896fc19
...
...
@@ -34,10 +34,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 4
...
...
tests/script/unique/arbitrator/offline_replica2_alterTable_online.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/offline_replica2_alterTag_online.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
#system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
#system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
#system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
#system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
#system sh/cfg.sh -n dnode1 -c
r
ole -v 1
#system sh/cfg.sh -n dnode2 -c
r
ole -v 2
#system sh/cfg.sh -n dnode3 -c
r
ole -v 2
#system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/offline_replica2_createTable_online.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 20
...
...
tests/script/unique/arbitrator/offline_replica2_dropDb_online.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/offline_replica2_dropTable_online.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/offline_replica3_alterTable_online.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/offline_replica3_alterTag_online.sim
浏览文件 @
d896fc19
...
...
@@ -19,10 +19,10 @@ system sh/cfg.sh -n dnode2 -c balanceInterval -v 10
system sh/cfg.sh -n dnode3 -c balanceInterval -v 10
system sh/cfg.sh -n dnode4 -c balanceInterval -v 10
#system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
#system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
#system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
#system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
#system sh/cfg.sh -n dnode1 -c
r
ole -v 1
#system sh/cfg.sh -n dnode2 -c
r
ole -v 2
#system sh/cfg.sh -n dnode3 -c
r
ole -v 2
#system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 20
...
...
tests/script/unique/arbitrator/offline_replica3_createTable_online.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 20
...
...
tests/script/unique/arbitrator/offline_replica3_dropDb_online.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/offline_replica3_dropTable_online.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/replica_changeWithArbitrator.sim
浏览文件 @
d896fc19
...
...
@@ -29,10 +29,10 @@ system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode4 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode1 -c
r
ole -v 0
system sh/cfg.sh -n dnode2 -c
r
ole -v 0
system sh/cfg.sh -n dnode3 -c
r
ole -v 0
system sh/cfg.sh -n dnode4 -c
r
ole -v 0
$totalTableNum = 12
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
@@ -150,8 +150,8 @@ system sh/cfg.sh -n dnode2 -c numOfMnodes -v 2
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 dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode2 -s start
...
...
tests/script/unique/arbitrator/sync_replica2_alterTable_add.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/sync_replica2_alterTable_drop.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/sync_replica2_dropDb.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/sync_replica2_dropTable.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/sync_replica3_alterTable_add.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/sync_replica3_alterTable_drop.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/sync_replica3_createTable.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/sync_replica3_dnodeChang_DropAddAlterTableDropDb.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 40
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/sync_replica3_dropDb.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/arbitrator/sync_replica3_dropTable.sim
浏览文件 @
d896fc19
...
...
@@ -24,10 +24,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 2
system sh/cfg.sh -n dnode4 -c
r
ole -v 2
$totalTableNum = 10
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v $totalTableNum
...
...
tests/script/unique/cluster/cluster_main.sim
浏览文件 @
d896fc19
...
...
@@ -29,11 +29,11 @@ system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode5 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode5 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode1 -c
r
ole -v 0
system sh/cfg.sh -n dnode2 -c
r
ole -v 0
system sh/cfg.sh -n dnode3 -c
r
ole -v 0
system sh/cfg.sh -n dnode4 -c
r
ole -v 0
system sh/cfg.sh -n dnode5 -c
r
ole -v 0
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 5000
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 5000
...
...
tests/script/unique/cluster/cluster_main0.sim
浏览文件 @
d896fc19
...
...
@@ -29,11 +29,11 @@ system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode5 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode5 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode1 -c
r
ole -v 0
system sh/cfg.sh -n dnode2 -c
r
ole -v 0
system sh/cfg.sh -n dnode3 -c
r
ole -v 0
system sh/cfg.sh -n dnode4 -c
r
ole -v 0
system sh/cfg.sh -n dnode5 -c
r
ole -v 0
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 5000
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 5000
...
...
tests/script/unique/cluster/cluster_main1.sim
浏览文件 @
d896fc19
...
...
@@ -29,11 +29,11 @@ system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode5 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode5 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode1 -c
r
ole -v 0
system sh/cfg.sh -n dnode2 -c
r
ole -v 0
system sh/cfg.sh -n dnode3 -c
r
ole -v 0
system sh/cfg.sh -n dnode4 -c
r
ole -v 0
system sh/cfg.sh -n dnode5 -c
r
ole -v 0
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 5000
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 5000
...
...
tests/script/unique/cluster/cluster_main2.sim
浏览文件 @
d896fc19
...
...
@@ -29,11 +29,11 @@ system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode5 -c numOfTotalVnodes -v 256
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode5 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode1 -c
r
ole -v 0
system sh/cfg.sh -n dnode2 -c
r
ole -v 0
system sh/cfg.sh -n dnode3 -c
r
ole -v 0
system sh/cfg.sh -n dnode4 -c
r
ole -v 0
system sh/cfg.sh -n dnode5 -c
r
ole -v 0
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 5000
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 5000
...
...
tests/script/unique/dnode/alternativeRole.sim
浏览文件 @
d896fc19
...
...
@@ -4,9 +4,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
alternativeR
ole -v 1
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode1 -c
r
ole -v 1
system sh/cfg.sh -n dnode2 -c
r
ole -v 2
system sh/cfg.sh -n dnode3 -c
r
ole -v 0
system sh/cfg.sh -n dnode1 -c wallevel -v 1
system sh/cfg.sh -n dnode2 -c wallevel -v 1
...
...
tests/script/unique/migrate/mn2_vn2_repl2_rmMnodeDir.sim
浏览文件 @
d896fc19
...
...
@@ -31,10 +31,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
#system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
#system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 0
#system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
#system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 0
system sh/cfg.sh -n dnode2 -c
r
ole -v 0
#system sh/cfg.sh -n dnode3 -c
r
ole -v 2
#system sh/cfg.sh -n dnode4 -c
r
ole -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 4
...
...
tests/script/unique/migrate/mn2_vn2_repl2_rmMnodeVnodeDir.sim
浏览文件 @
d896fc19
...
...
@@ -31,10 +31,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
#system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
#system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 0
#system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
#system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 0
system sh/cfg.sh -n dnode2 -c
r
ole -v 0
#system sh/cfg.sh -n dnode3 -c
r
ole -v 2
#system sh/cfg.sh -n dnode4 -c
r
ole -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 4
...
...
tests/script/unique/migrate/mn2_vn2_repl2_rmMnodeVnodeDir_stopAll_starAll.sim
浏览文件 @
d896fc19
...
...
@@ -31,10 +31,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
#system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
#system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 0
#system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
#system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 0
system sh/cfg.sh -n dnode2 -c
r
ole -v 0
#system sh/cfg.sh -n dnode3 -c
r
ole -v 2
#system sh/cfg.sh -n dnode4 -c
r
ole -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 4
...
...
tests/script/unique/migrate/mn2_vn2_repl2_rmVnodeDir.sim
浏览文件 @
d896fc19
...
...
@@ -31,10 +31,10 @@ system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 4
#system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 4
#system sh/cfg.sh -n dnode4 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c
alternativeR
ole -v 0
system sh/cfg.sh -n dnode2 -c
alternativeR
ole -v 0
#system sh/cfg.sh -n dnode3 -c
alternativeR
ole -v 2
#system sh/cfg.sh -n dnode4 -c
alternativeR
ole -v 2
system sh/cfg.sh -n dnode1 -c
r
ole -v 0
system sh/cfg.sh -n dnode2 -c
r
ole -v 0
#system sh/cfg.sh -n dnode3 -c
r
ole -v 2
#system sh/cfg.sh -n dnode4 -c
r
ole -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode2 -c maxtablesPerVnode -v 4
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录