Commit Graph

16341 Commits

Author SHA1 Message Date
Haojun Liao 37a81dfac6
Merge pull request #6699 from taosdata/fix/TD-4947
[TD-4947]<fix> handle mixed group by with top/bottom corrupt
2021-07-06 14:50:40 +08:00
Haojun Liao a3848a14f5 [td-255] refactor. 2021-07-06 14:48:26 +08:00
zyyang-taosdata 2510a77f58 Merge branch 'develop' of github.com:taosdata/TDengine into release/ver-2.1.4.1 2021-07-06 14:17:14 +08:00
Shuduo Sang 95b0cee27b
[TD-5053]<feature>: taosdump support nanosecond (#6751)
* [TD-5053]<feature>: taosdump support nanosecond

huge code refactoring

* fix arm32 compile issue.
2021-07-06 14:07:52 +08:00
Elias Soong 4bb8553cc2
Merge pull request #6754 from taosdata/docs/Update-Latest-Feature
Docs/update latest feature
2021-07-06 13:27:38 +08:00
Elias Soong 6da6c97053 [TD-5072] <docs>: describe detail about table name wildcard. 2021-07-06 13:26:59 +08:00
Shuduo Sang 8868d44773
Feature/sangshuduo/td 3973 use jemalloc (#6752)
* [TD-3973]<feature>: add jemalloc as submodule.

* add macro definitions in cmake.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* link jemalloc works.

* make install works.

* support jemalloc in release.sh.

* release script works.

* fix a typo.

* [TD-3937]<feature>: support jemalloc

add install funtion to all scripts.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-06 12:37:55 +08:00
wpan beff12c7ba fix bug issue 2021-07-06 11:47:18 +08:00
wpan 06f38b5b1c add group by condition check 2021-07-06 10:53:30 +08:00
Hui Li ceeddfaadc
Merge pull request #6741 from taosdata/test/TD-4899
add manual test case of subscription with no result file defined
2021-07-06 10:11:50 +08:00
Hui Li 0834f2539d
Merge pull request #6748 from taosdata/xiaoping/add_test_case
[TD-4983]<test>: add test case for interval boundary
2021-07-06 10:11:42 +08:00
Zhiyu Yang a657f4529b
add tq release packagine scripts (#6739)
* change version number

* change packaging scripts

* add more scripts

* change scripts

* change

* change

* change

Co-authored-by: plum-lihui <huili@taosdata.com>
2021-07-06 09:23:05 +08:00
wpan 3fad481995 fix offset issue 2021-07-06 09:06:36 +08:00
bryanchang0603 d2b4f31a32 Merge branch 'release/ver-2.1.4.1' of github.com:taosdata/TDengine into release/ver-2.1.4.1 2021-07-06 02:30:14 +08:00
bryanchang0603 32d8dd7979 modify release.sh 2021-07-06 02:27:49 +08:00
zyyang-taosdata 48db99a7e9 modify alert release'scripts 2021-07-05 22:58:20 +08:00
Haojun Liao d63df5673a
Merge pull request #6747 from taosdata/hotfix/TD-5051
[TD-5051]add interval value check
2021-07-05 22:56:47 +08:00
Haojun Liao 68e41b7e32
Merge pull request #6732 from junli1026/jun/hash
Make taosHashGetSize thread-safe and rename function
2021-07-05 22:55:06 +08:00
zyyang-taosdata 053126add3 Merge branch 'develop' of github.com:taosdata/TDengine into release/ver-2.1.4.1 2021-07-05 19:48:31 +08:00
Ping Xiao d390ad7a8e [TD-4983]<test>: add test case for interval boundry 2021-07-05 18:27:32 +08:00
wpan 752db3477a add interval value check 2021-07-05 18:18:24 +08:00
yihaoDeng 70f9acbfde [TD-4947]<fix> handle mixed group by with top/bottom corrupt 2021-07-05 18:02:32 +08:00
Haojun Liao b2d1471889
Merge branch 'develop' into fix/TD-4947 2021-07-05 18:25:57 +08:00
Hui Li d441dee5e0
Merge pull request #6743 from taosdata/xiaoping/add_test_case
[TD-5000]<test>: add test case for nested query
2021-07-05 17:30:26 +08:00
wpan 9debc4992d add diff... group by check 2021-07-05 16:06:43 +08:00
zyyang-taosdata 965f55beeb change version number 2021-07-05 15:43:25 +08:00
Shengliang Guan 2d79c55eff
Merge pull request #6728 from taosdata/fix/TD-4665
CHANGE keepColumnName to 1
2021-07-05 15:36:23 +08:00
Elias Soong 17817986bb [TD-4657] <docs>: describe short version of "LIMIT/SLIMIT OFFSET" clause. 2021-07-05 15:29:46 +08:00
Ping Xiao 18df0e3792 [TD-5000]<test>: add test case for nested query 2021-07-05 14:37:59 +08:00
jtcheng 3875ac107c [TD-6722]: Fix 'table', 'super table', 'stream table' show pattern issue 2021-07-05 13:53:10 +08:00
zhaoyanggh 238925ddbc add manual test case of subscription with no result file defined 2021-07-05 13:26:49 +08:00
Shuduo Sang 4e9433020c
[TD-5018]<fix>: taosdemo prompt if the batch is too large to insert data. (#6737) 2021-07-05 13:21:05 +08:00
Zhiyu Yang 7f2e888bbc
[TD-4939]<test>: add a Proxool Connection Pool Demo (#6657)
* [TD-4939]<test>: add a Proxool Connection Pool Demo

* change
2021-07-05 11:15:42 +08:00
jtcheng 95bc9aa96f [self-assign]: Fix self-assignment 2021-07-05 10:10:40 +08:00
Jun Li d59c5809ef Make taosHashGetSize thread-safe and rename function 2021-07-04 00:20:49 -07:00
Haojun Liao c4f96ffc98
Merge pull request #6727 from taosdata/feature/query
Feature/query
2021-07-03 15:19:17 +08:00
Haojun Liao 7699813079 [td-225] fix compiler error. 2021-07-03 14:00:23 +08:00
Haojun Liao 1c24c3d046 [td-225] fix compiler error. 2021-07-03 10:17:59 +08:00
Shuduo Sang adb569817b
Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#6726)
* [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.

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

append result buf to file. for develop branch.

* exit if read sample file failed.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-03 00:09:18 +08:00
Haojun Liao 8e135b150c [td-225]suppress code check error. 2021-07-02 23:07:32 +08:00
Haojun Liao 5b4775d91f [td-225] suppress the code check warning. 2021-07-02 22:15:45 +08:00
Haojun Liao 4873f4b970 [td-4865]add test cases. 2021-07-02 22:14:11 +08:00
Shuduo Sang adf01a2d6c
Hotfix/sangshuduo/td 4918 taosdemo sub afterconsume for develop (#6724)
* [TD-4918]<fix>: taosdemo subscribe endAfterResume.

* fix heap use-after-free issue.

* fix illegal input value of consume.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-02 19:08:30 +08:00
Haojun Liao 84c8fc9e6c [td-4865]<enhance>: support group by in the outer query. 2021-07-02 18:38:09 +08:00
Haojun Liao a583ae2124
Merge pull request #6720 from taosdata/hotfix/TD-5010
[TD-5010]fix crash issue
2021-07-02 17:48:07 +08:00
Shuduo Sang de69a8a5af
Hotfix/sangshuduo/m2d 20210702 (#6719)
* [TD-4132]<test>: add taosdump-testcase of boundary value testing

* [TD-3952]<test>: add taodemo-testcase that query with restful connector

* merge master

* modify taosdemo-testcase

* add testcase of async subscirbe  and max sql num

* testcase-subscribe of super table

* testcase-modify sub

* modify subscribe testcase

* [TD-4238]<test>: add taodemo-testcase that  records of number in request sql less than 32767

* add taosdemo-subscribe-testcase

* update taosdemo testcase

* temp commit

* temp commit

* temp commit

* temp1

* temp

* [TD-4835] add lua lib

* [TD-4369]<test>: add testcase of resubscibe

* [TD-4826]<fix>: new error code 0x0406 (Dnode is exiting) for tsc

* [TD-4369]<test>: add testcase of resubscibe and json file

* temp

* update master to develop's version

* Update boundary2.py

* [TD-4912]<hotfix>: fix coredump when drop vnode

* Hotfix/sangshuduo/td 3801 taosdump coverity scan issue (#6642)

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

* merge from commit: 069169e7c1 and fix coverity scan issue.

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

* [TD-4932]fix jenkins errors on master branch (#6645)

* [TD-4932]fix jenkins errors on master branch

* fix

* fix

* fix

* fix

* [TD-4132]<test>:modify taosdump-testcase of column length

* [TD-4918]<fix>: taosdemo subscribe endAfterResume. (#6653)

* [TD-4915]<fix> fix show-create-database except

* Hotfix/sangshuduo/td 4892 taosdemo sub fetch (#6669)

* [TD-4892]<fix>: taosdemo subscribe fetch result.

* fix stbname length.

* restrict prefix length.

* submit empty

* fix minor code.

* fix crash if no result file.

* decrease few debug print level.

* fix offset issue

* [TD-4987]<fix>: issues memory sanitizier detected. (#6675)

* [TD-4826]<fix>: no extra sleep if no message in vwqueue

* [TD-4593]<fix>: fix vnode cannnot close while syncing

* Hotfix/sangshuduo/td 4918 taosdemo sub afterconsume (#6685)

* [TD-4918]<fix>: taosdemo subscribe endAfterResume.

* fix mask length.

* fix heap use-after-free.

* Hotfix/sangshuduo/td 4987 detected by mem sanitizer (#6684)

* [TD-4987]<fix>: issues memory sanitizier detected.

* fix mask width issue.

* [TD-4828]<fix> handle dnode exit code

* Hotfix/sangshuduo/td 3973 use jemalloc for master (#6702)

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* fix conflicts

* make install works.

* fix conflicts.

* release script works.

* fix typo

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

* TD-4835

* only compile in lua

* [td-4748]<fix>:fix the temp file generate buf on windows platform.

* change cmake options

* [TD-5007]<fix>: use build directory's taosdump to test. (#6710)

btw, solve two taosdemo test cases too.

* Hotfix/sangshuduo/td 4838 taosdump binary len bug (#6713)

* [TD-4838]<fix>: taosdump binary length bug.

* taosdump code refactoring.

* fix arm32 compile issue.

Co-authored-by: tomchon <haoran920c@163.com>
Co-authored-by: Shengliang Guan <slguan@taosdata.com>
Co-authored-by: Minglei Jin <mljin@taosdata.com>
Co-authored-by: Baosheng Chang <changb9@mcmaster.ca>
Co-authored-by: Hongze Cheng <hzcheng@taosdata.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: Yiqing Liu <yqliu@taosdata.com>
Co-authored-by: Hui Li <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
Co-authored-by: wpan <wpan@taosdata.com>
Co-authored-by: Haojun Liao <hjxilinx@users.noreply.github.com>
Co-authored-by: Haojun Liao <hjliao@taosdata.com>
2021-07-02 17:31:12 +08:00
jtcheng 5341a6eeac [TD-6536]: Fix memory leak during alter database 2021-07-02 17:01:49 +08:00
wpan fcbb619103 fix crash and functionality 2021-07-02 15:25:44 +08:00
Shuduo Sang c51be7102d
Hotfix/sangshuduo/td 4838 taosdump binary len bug for develop (#6714)
* [TD-4838]<fix>: taosdump binary length bug.

* taosdump code refactoring.

* fix arm32 compile issue.
2021-07-02 14:40:06 +08:00
Shengliang Guan 88c283f904
Merge from master into develop (#6709)
* [TD-4132]<test>: add taosdump-testcase of boundary value testing

* [TD-3952]<test>: add taodemo-testcase that query with restful connector

* merge master

* modify taosdemo-testcase

* add testcase of async subscirbe  and max sql num

* testcase-subscribe of super table

* testcase-modify sub

* modify subscribe testcase

* [TD-4238]<test>: add taodemo-testcase that  records of number in request sql less than 32767

* add taosdemo-subscribe-testcase

* update taosdemo testcase

* temp commit

* temp commit

* temp commit

* temp1

* temp

* [TD-4369]<test>: add testcase of resubscibe

* [TD-4826]<fix>: new error code 0x0406 (Dnode is exiting) for tsc

* [TD-4369]<test>: add testcase of resubscibe and json file

* temp

* update master to develop's version

* Update boundary2.py

* [TD-4912]<hotfix>: fix coredump when drop vnode

* Hotfix/sangshuduo/td 3801 taosdump coverity scan issue (#6642)

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

* merge from commit: 069169e7c1 and fix coverity scan issue.

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

* [TD-4932]fix jenkins errors on master branch (#6645)

* [TD-4932]fix jenkins errors on master branch

* fix

* fix

* fix

* fix

* [TD-4132]<test>:modify taosdump-testcase of column length

* [TD-4918]<fix>: taosdemo subscribe endAfterResume. (#6653)

* [TD-4915]<fix> fix show-create-database except

* Hotfix/sangshuduo/td 4892 taosdemo sub fetch (#6669)

* [TD-4892]<fix>: taosdemo subscribe fetch result.

* fix stbname length.

* restrict prefix length.

* submit empty

* fix minor code.

* fix crash if no result file.

* decrease few debug print level.

* fix offset issue

* [TD-4987]<fix>: issues memory sanitizier detected. (#6675)

* [TD-4826]<fix>: no extra sleep if no message in vwqueue

* [TD-4593]<fix>: fix vnode cannnot close while syncing

* Hotfix/sangshuduo/td 4918 taosdemo sub afterconsume (#6685)

* [TD-4918]<fix>: taosdemo subscribe endAfterResume.

* fix mask length.

* fix heap use-after-free.

* Hotfix/sangshuduo/td 4987 detected by mem sanitizer (#6684)

* [TD-4987]<fix>: issues memory sanitizier detected.

* fix mask width issue.

* [TD-4828]<fix> handle dnode exit code

* Hotfix/sangshuduo/td 3973 use jemalloc for master (#6702)

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: add jemalloc as submodule.

* [TD-3973]<feature>: use jemalloc.

build works as following instructions:

cmake .. -DJEMALLOC_ENABLED=true

make

* fix jemalloc at tag 5.2.1

* fix conflicts

* make install works.

* fix conflicts.

* release script works.

* fix typo

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

* fix retentionpolicy bug

Co-authored-by: tomchon <haoran920c@163.com>
Co-authored-by: Minglei Jin <mljin@taosdata.com>
Co-authored-by: Baosheng Chang <changb9@mcmaster.ca>
Co-authored-by: Hongze Cheng <hzcheng@taosdata.com>
Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: Yiqing Liu <yqliu@taosdata.com>
Co-authored-by: Hui Li <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
Co-authored-by: wpan <wpan@taosdata.com>
Co-authored-by: Haojun Liao <hjxilinx@users.noreply.github.com>
2021-07-02 13:51:18 +08:00