Commit Graph

14395 Commits

Author SHA1 Message Date
Shuduo Sang 5b19e0d245
Hotfix/sangshuduo/td 4053 taosdemo more value scope check for develop (#6023)
* [TD-4035]<fix>: taosdemo more checking for prevent value out of scope.

* [TD-4035]<fix>: taosdemo more checking for prevent value out of scope.

change min rows and max rows to unsigned int and 0 means default.

* [TD-4035]<fix>: taosdemo more checking for prevent value out of scope.

change offset=0 to get all childtable count

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-07 12:02:01 +08:00
Huo Linhe e0cd8d13d2
[TD-4048] <fix>: fix python connector error where ts is null (#6018)
* [TD-4048] <fix>: fix python connector error where ts is null

* [TD-4048] <fix>: bump py connector version to 2.0.9
2021-05-07 10:09:16 +08:00
Shuduo Sang f223f4d290
[TD-3857]<fix>: taosdump database properties. (#6020)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-06 23:36:58 +08:00
Shuduo Sang 6a618dd22c
Hotfix/sangshuduo/td 3976 taosdemo print insert perf per thread for develop (#6014)
* [TD-3976]<fix>: taosdemo print each insert performance data.

* [TD-3976]<fix>: taosdemo print insert performance per thread.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-06 18:38:56 +08:00
Shuduo Sang 6583d1d65a
[TD-4060]<fix>: taos shell startup message. (#6010)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-06 16:28:29 +08:00
haojun Liao 162a919d83
Merge pull request #6006 from taosdata/test/d-TD-4059
[TD-4059]update case version.py
2021-05-06 13:25:42 +08:00
liuyq-617 5c7842c41b [TD-4059]update case version.py 2021-05-06 11:43:20 +08:00
Shuduo Sang 250b27d15c
Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#6003)
* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix coverity scan issues.

check super tbl info pointer.

* [TD-3197] <fix>: fix coverity scan issues.

move sub tbl query thread join into loop

* [TD-3197] <fix>: fix coverity scan issues.

remove unused variable

* [TD-3197] <fix>: fix coverity scan issues.

use more secure random library

* [TD-3197] <fix>: fix coverity scan issues.

use strncpy for more safe

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

replace arc4random with rand().

* [TD-3197] <fix>: fix coverity scan issues.

check stb info pointer for start time

* [TD-3197] <fix>: fix coverity scan issues.

fix strcpy vulnerability

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

modify taosdemoTest2. try to check database continously.

* [TD-3197] <fix>: taosdemo coverity scan issues.

* [TD-3197] <fix>: fix memory leak when parsing arguments.

* [TD-3197] <fix>: fix cmake strip arguments.

* [TD-3197] <fix>: taosdemo coverity scan.

fix cmake string manipulation.

* [TD-3197]<fix>: taosdemo coverity scan issue.

configDir buffer overwrite.

* [TD-3197]<fix>: coverity scan issue.

taosdump argument validation.

* [TD-3197]<fix>: taosdemo and taosdump coverity scan issues.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-05 21:48:25 +08:00
zyyang cf9693c528 change release version 2021-05-03 08:27:05 +08:00
Shuduo Sang e92ff817aa
Hotfix/sangshuduo/td 4035 taosdemo more param checking for develop (#6000)
* [TD-4035]<fix>: taosdemo more checking for prevent value out of scope.

* [TD-4035]<fix>: taosdemo more checking for prevent value out of scope.

change min rows and max rows to unsigned int and 0 means default.

* [TD-4035]<fix>: taosdemo more checking for prevent value out of scope.

change offset=0 to get all childtable count

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-02 06:25:55 +08:00
Shuduo Sang 6190cb08b4
Hotfix/sangshuduo/td 4054 taosdump compile error for develop (#5999)
* [TD-4054]<fix>: taosdump wrong column note length.

* [TD-4054]<fix>: taosdump wrong column note length.

reserve 2 bytes for NCHAR.
2021-05-01 23:47:40 +08:00
haojun Liao c3f8ca1bb5
Merge pull request #5977 from taosdata/hotfix/TD-3994
[TD-3994] avoid rpc failure
2021-05-01 15:44:24 +08:00
haojun Liao a915c29cbc
Merge pull request #5988 from taosdata/fix/develop
[td-255]fix bug found by regression test.
2021-05-01 14:45:03 +08:00
Yiqing Liu 8956167651
Eliminate false alarms (#5991) 2021-04-30 21:05:08 +08:00
Elias Soong cd5767f40a
Merge pull request #5989 from taosdata/docs/Update-Latest-Feature
Docs/update latest feature
2021-04-30 17:33:29 +08:00
zyyang 15d7c39702
Merge branch 'develop' into docs/Update-Latest-Feature 2021-04-30 17:32:12 +08:00
Elias Soong b437febaa0 [TD-3984] <docs>: describe "union all" clause. 2021-04-30 17:24:58 +08:00
Haojun Liao eb0114620d [td-255]fix bug found by regression test. 2021-04-30 16:44:43 +08:00
Shuduo Sang a080f2c917
Hotfix/sangshuduo/td 4001 for develop (#5965)
* [TD-4001]<fix>: taosdemo restful segfault.

due to gethostbyname() is not thread-safe.

* fix uninitialized variable when invalid mode.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 14:00:08 +08:00
Shuduo Sang 7dbf75ae66
Hotfix/sangshuduo/td 3968 taosdemo datalen 16k for develop (#5976)
* [TD-3968]<fix>: taosdemo datalen should be 16*1024

fix data buffer issue.

* [TD-3968]<fix>: taosdemo datalen should be 16*1024

commend out unused func for debugging purpose in the future

* [TD-3968]<fix>: taosdemo datalen should be 16*1024

comment off unused function

* [TD-3968]<fix>: taosdemo datalen more than 16k.

comment off unused array.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 13:25:25 +08:00
Shuduo Sang 11685b7b61
change few default values. (#5967)
* change few default values.

* [TD-3851]<fix>: taosdemo performance boost.

change max sql len default value to 1024*1024

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 13:02:11 +08:00
zyyang 7c4617a7d4
Hotfix/td 3962 (#5927)
* [TD-3962]<fix>: fix insert special character error in preparedStatement

* change

* change

* change

* change

* change

* change

* [TD-3962]<test>: add test cases for insert special character

* change

* change
2021-04-30 11:43:39 +08:00
yihaoDeng 7f75b2836b [TD-3994] avoid rpc failure 2021-04-30 11:30:12 +08:00
Shuduo Sang 2670b0ad65
Hotfix/sangshuduo/td 4025 fix travis ci broken for develop (#5975)
* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

modify smoketest.sh to python3.8

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

change focal to bionic.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

cherry pick from master.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 10:20:16 +08:00
Elias Soong e8522fa0e1 [TD-3944] <docs>: update default value for "offlineThreshold". 2021-04-29 16:01:55 +08:00
Elias Soong 5545e058c0 Merge branch 'develop' into docs/Update-Latest-Feature 2021-04-29 15:11:37 +08:00
Elias Soong 645afbf93f
Merge pull request #5964 from taosdata/docs/Update-Latest-Feature
[TD-2639] <docs>: fix lib name typo.
2021-04-29 14:47:17 +08:00
Elias Soong 192aad33c9 [TD-2639] <docs>: fix lib name typo. 2021-04-29 14:46:35 +08:00
Elias Soong 18179cd746
Merge pull request #5963 from taosdata/docs/Update-Latest-Feature
[TD-2639] <docs>: fix url link format.
2021-04-29 14:15:13 +08:00
Elias Soong af33307861 [TD-2639] <docs>: fix url link format. 2021-04-29 14:14:39 +08:00
haojun Liao b77422727c
Merge pull request #5936 from taosdata/dependabot/maven/tests/comparisonTest/cassandra/cassandratest/commons-io-commons-io-2.7
Bump commons-io from 2.4 to 2.7 in /tests/comparisonTest/cassandra/cassandratest
2021-04-29 13:31:20 +08:00
haojun Liao 198645bee0
Merge pull request #5937 from taosdata/dependabot/maven/tests/comparisonTest/opentsdb/opentsdbtest/commons-io-commons-io-2.7
Bump commons-io from 2.4 to 2.7 in /tests/comparisonTest/opentsdb/opentsdbtest
2021-04-29 13:30:57 +08:00
Shuduo Sang 761b11f141
Hotfix/sangshuduo/td 3985 for develop (#5961)
* [TD-3985]<fix>: taosdemo timestamp step overflow.

* fix specified subscribe test.

* replace potential overflow of int32 to int64

* replace potential int32 overflow variables to int64.

* replace potential int32 overflow variables to int64.

* change max of int16 to int64 after type changed.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-29 12:26:55 +08:00
haojun Liao dd2ed98f59
Merge pull request #5918 from taosdata/feature/query
Feature/query
2021-04-28 16:22:53 +08:00
Elias Soong e65ce3db12
Merge pull request #5956 from taosdata/docs/Update-Latest-Feature
[TD-2639] <docs>: update description about performance testing tools …
2021-04-28 15:23:34 +08:00
Elias Soong b8374dfcc3 [TD-2639] <docs>: update description about performance testing tools for inserting. 2021-04-28 15:23:07 +08:00
Haojun Liao b4a072f0e3 [td-225]merge master 2021-04-28 15:03:28 +08:00
Haojun Liao 15b8a77142 [td-225]fix the bug found by regression test. 2021-04-28 14:42:07 +08:00
Shuduo Sang 2a425e92b6
Hotfix/sangshuduo/td 3985 for develop (#5950)
* [TD-3985]<fix>: taosdemo timestamp step overflow.

* fix specified subscribe test.

* replace potential overflow of int32 to int64

* replace potential int32 overflow variables to int64.

* replace potential int32 overflow variables to int64.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-28 11:02:15 +08:00
haojun Liao aa87bc67f9
Merge pull request #5942 from taosdata/hotfix/TD-3882
[TD-3882]change compressMsgSize max size
2021-04-28 10:34:28 +08:00
Haojun Liao b3f8401737 [td-225]remove the unused code. 2021-04-28 10:28:44 +08:00
Haojun Liao 946fb46650 [td-225]fix the bug found by regression test. 2021-04-28 10:26:32 +08:00
Haojun Liao 329f065ef5 [td-225]fix the bug found by regression test. 2021-04-28 10:19:33 +08:00
Shuduo Sang b0b5ff5379
Hotfix/sangshuduo/td 3969 reenable batch create tbl num (#5949)
* [TD-3414]<test>: add insert function with json files of taodemo-testcase -repeat

* [TD-3879]add stmt mode for taodemo go

* [TD-3414]<test>: add insert function with json files of taodemo-testcase

* [TD-3918] <test>  add case to verify the bug of TD-3897

* [TD-3453]<test>:modify filepath  in scripts

* Update fulltest.sh

* [TD-3918] <test> fix the case

* Update queryFilterTswithDateUnit.py

* [TD-3850]<fix>: fix vnode write enqueue flowctrl UAF & no response

* Hotfix/sangshuduo/td 3401 query statistic (#5907)

* [TD-3401]<fix>: taosdemo query statistic.

refactor func name.

* [TD-3401]<fix>: taosdemo query statistic.

refactor func name 2.

* [TD-3401]<fix>: taosdemo support query statistic.

implementation.

* cleanup

* [TD-3401]<fix>: taosdemo query statistic.

change us to ms.

* [TD-3401]<fix>: taosdemo query statistic.

increase sql buffer for query.

* [TD-3401]<fix>: taosdemo query statistic

more accurate result.

* [TD-3401]<fix>: taosdemo query statistic.

modify last time logic.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* improve coverage of operations

* [TD-3944]<fix>: make default offline threshold to 10 days. (#5912)

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* [TD-3572]<enhance>: response out of dnodes if #dnodes <= maxDbReplica

* [TD-3937]<test>: add taosdemo performance test compare scripts

* update script

* Hotfix/sangshuduo/td 3317 for master (#5921)

* [TD-3317]<fix>: taosdemo interlace insertion.

patch for master.

* [TD-3317]<fix>: taosdemo support interlace mode.

adjust remainder rows logic.

* [TD-3317]<fix>: taosdemo support interlace mode.

fix global and stable interlace rows logic.

* [TD-3317]<fix>: taosdemo support interlace mode.

fix 'interlaceRows' is used uninitialized

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* [TD-3968]<fix>: taosdemo data length should be 16*1024 (#5926)

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>

* [TD-3969]<fix>: taosdemo re-enable batch-create-tbl-num

Co-authored-by: tomchon <haoran920c@163.com>
Co-authored-by: liuyq-617 <yqliu@taosdata.com>
Co-authored-by: wu champion <wuchampion@foxmail.com>
Co-authored-by: wu champion <cpwu@taosdata.com>
Co-authored-by: Minglei Jin <mljin@taosdata.com>
Co-authored-by: huili <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: Shengliang Guan <slguan@taosdata.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: Ping Xiao <pxiao@taosdata.com>
2021-04-28 10:13:51 +08:00
Haojun Liao 1c9a3a9f7b [td-225]fix compiler error. 2021-04-27 22:52:30 +08:00
haojun Liao 489b24a18a
Merge branch 'develop' into feature/query 2021-04-27 22:39:05 +08:00
Haojun Liao 967f175b33 [td-225]merge develop 2021-04-27 22:25:57 +08:00
Haojun Liao 9286f77e07 [td-225]merge develop 2021-04-27 22:17:09 +08:00
haojun Liao 4df6967d0a
Merge pull request #5948 from taosdata/feature/TD-3991
[TD-3991]fix client log
2021-04-27 21:57:30 +08:00
Shuduo Sang 03d447c556
[TD-3985]<fix>: taosdemo timestamp step overflow. (#5946)
* [TD-3985]<fix>: taosdemo timestamp step overflow.

* fix specified subscribe test.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-27 19:37:58 +08:00