Merge branch '3.0' into feature/TD-19148-D
This commit is contained in:
commit
61562defa4
|
@ -204,6 +204,12 @@ taosBenchmark -A INT,DOUBLE,NCHAR,BINARY\(16\)
|
||||||
- **-a/--replica <replicaNum\>** :
|
- **-a/--replica <replicaNum\>** :
|
||||||
Specify the number of replicas when creating the database. The default value is 1.
|
Specify the number of replicas when creating the database. The default value is 1.
|
||||||
|
|
||||||
|
- **-k/--keep-trying <NUMBER\>** :
|
||||||
|
Keep trying if failed to insert, default is no. Available with v3.0.9+.
|
||||||
|
|
||||||
|
- **-z/--trying-interval <NUMBER\>** :
|
||||||
|
Specify interval between keep trying insert. Valid value is a postive number. Only valid when keep trying be enabled. Available with v3.0.9+.
|
||||||
|
|
||||||
- **-V/--version** :
|
- **-V/--version** :
|
||||||
Show version information only. Users should not use it with other parameters.
|
Show version information only. Users should not use it with other parameters.
|
||||||
|
|
||||||
|
@ -231,6 +237,10 @@ The parameters listed in this section apply to all function modes.
|
||||||
|
|
||||||
`filetype` must be set to `insert` in the insertion scenario. See [General Configuration Parameters](#General Configuration Parameters)
|
`filetype` must be set to `insert` in the insertion scenario. See [General Configuration Parameters](#General Configuration Parameters)
|
||||||
|
|
||||||
|
- ** keep_trying ** : Keep trying if failed to insert, default is no. Available with v3.0.9+.
|
||||||
|
|
||||||
|
- ** trying_interval ** : Specify interval between keep trying insert. Valid value is a postive number. Only valid when keep trying be enabled. Available with v3.0.9+.
|
||||||
|
|
||||||
#### Database related configuration parameters
|
#### Database related configuration parameters
|
||||||
|
|
||||||
The parameters related to database creation are configured in `dbinfo` in the json configuration file, as follows. The other parameters correspond to the database parameters specified when `create database` in [../../taos-sql/database].
|
The parameters related to database creation are configured in `dbinfo` in the json configuration file, as follows. The other parameters correspond to the database parameters specified when `create database` in [../../taos-sql/database].
|
||||||
|
|
|
@ -19,7 +19,7 @@ Users should not use taosdump to back up raw data, environment settings, hardwar
|
||||||
|
|
||||||
There are two ways to install taosdump:
|
There are two ways to install taosdump:
|
||||||
|
|
||||||
- Install the taosTools official installer. Please find taosTools from [All download links](https://www.tdengine.com/all-downloads) page and download and install it.
|
- Install the taosTools official installer. Please find taosTools from [Release History](https://docs.taosdata.com/releases/tools/) page and download and install it.
|
||||||
|
|
||||||
- Compile taos-tools separately and install it. Please refer to the [taos-tools](https://github.com/taosdata/taos-tools) repository for details.
|
- Compile taos-tools separately and install it. Please refer to the [taos-tools](https://github.com/taosdata/taos-tools) repository for details.
|
||||||
|
|
||||||
|
|
|
@ -204,6 +204,10 @@ taosBenchmark -A INT,DOUBLE,NCHAR,BINARY\(16\)
|
||||||
- **-a/--replica <replicaNum\>** :
|
- **-a/--replica <replicaNum\>** :
|
||||||
创建数据库时指定其副本数,默认值为 1 。
|
创建数据库时指定其副本数,默认值为 1 。
|
||||||
|
|
||||||
|
- ** -k/--keep-trying <NUMBER\>** : 失败后进行重试的次数,默认不重试。需使用 v3.0.9 以上版本。
|
||||||
|
|
||||||
|
- ** -z/--trying-interval <NUMBER\>** : 失败重试间隔时间,单位为毫秒,仅在 -k 指定重试后有效。需使用 v3.0.9 以上版本。
|
||||||
|
|
||||||
- **-V/--version** :
|
- **-V/--version** :
|
||||||
显示版本信息并退出。不能与其它参数混用。
|
显示版本信息并退出。不能与其它参数混用。
|
||||||
|
|
||||||
|
@ -231,6 +235,10 @@ taosBenchmark -A INT,DOUBLE,NCHAR,BINARY\(16\)
|
||||||
|
|
||||||
插入场景下 `filetype` 必须设置为 `insert`,该参数及其它通用参数详见[通用配置参数](#通用配置参数)
|
插入场景下 `filetype` 必须设置为 `insert`,该参数及其它通用参数详见[通用配置参数](#通用配置参数)
|
||||||
|
|
||||||
|
- ** keep_trying ** : 失败后进行重试的次数,默认不重试。需使用 v3.0.9 以上版本。
|
||||||
|
|
||||||
|
- ** trying_interval ** : 失败重试间隔时间,单位为毫秒,仅在 keep_trying 指定重试后有效。需使用 v3.0.9 以上版本。
|
||||||
|
|
||||||
#### 数据库相关配置参数
|
#### 数据库相关配置参数
|
||||||
|
|
||||||
创建数据库时的相关参数在 json 配置文件中的 `dbinfo` 中配置,个别具体参数如下。其余参数均与 TDengine 中 `create database` 时所指定的数据库参数相对应,详见[../../taos-sql/database]
|
创建数据库时的相关参数在 json 配置文件中的 `dbinfo` 中配置,个别具体参数如下。其余参数均与 TDengine 中 `create database` 时所指定的数据库参数相对应,详见[../../taos-sql/database]
|
||||||
|
|
|
@ -22,7 +22,7 @@ taosdump 是一个逻辑备份工具,它不应被用于备份任何原始数
|
||||||
|
|
||||||
taosdump 有两种安装方式:
|
taosdump 有两种安装方式:
|
||||||
|
|
||||||
- 安装 taosTools 官方安装包, 请从[所有下载链接](https://www.taosdata.com/all-downloads)页面找到 taosTools 并下载安装。
|
- 安装 taosTools 官方安装包, 请从[发布历史页面](https://docs.taosdata.com/releases/tools/)页面找到 taosTools 并下载安装。
|
||||||
|
|
||||||
- 单独编译 taos-tools 并安装, 详情请参考 [taos-tools](https://github.com/taosdata/taos-tools) 仓库。
|
- 单独编译 taos-tools 并安装, 详情请参考 [taos-tools](https://github.com/taosdata/taos-tools) 仓库。
|
||||||
|
|
||||||
|
|
|
@ -354,6 +354,10 @@ int32_t taosGetCpuInfo(char *cpuModel, int32_t maxLen, float *numOfCores) {
|
||||||
code = 0;
|
code = 0;
|
||||||
done |= 1;
|
done |= 1;
|
||||||
}
|
}
|
||||||
|
int endPos = strlen(cpuModel)-1;
|
||||||
|
if (cpuModel[endPos] == '\n') {
|
||||||
|
cpuModel[endPos] = '\0';
|
||||||
|
}
|
||||||
taosCloseCmd(&pCmd);
|
taosCloseCmd(&pCmd);
|
||||||
|
|
||||||
pCmd = taosOpenCmd("sysctl -n machdep.cpu.core_count");
|
pCmd = taosOpenCmd("sysctl -n machdep.cpu.core_count");
|
||||||
|
|
|
@ -122,6 +122,9 @@ function runSimCases() {
|
||||||
|
|
||||||
function runPythonCases() {
|
function runPythonCases() {
|
||||||
echo "=== Run python cases ==="
|
echo "=== Run python cases ==="
|
||||||
|
|
||||||
|
cd $TDENGINE_DIR/tests/parallel_test
|
||||||
|
sed -i '/compatibility.py/d' cases.task
|
||||||
|
|
||||||
cd $TDENGINE_DIR/tests/system-test
|
cd $TDENGINE_DIR/tests/system-test
|
||||||
runCasesOneByOne ../parallel_test/cases.task system-test
|
runCasesOneByOne ../parallel_test/cases.task system-test
|
||||||
|
|
Loading…
Reference in New Issue