Commit Graph

16719 Commits

Author SHA1 Message Date
Ganlin Zhao 14d2e0a6a8 [TD-4991]<fix>: fix build failure on MacOS with apple m1 chip (#6688)
* Fix build failure on MacOS with apple m1 chip

* Fix build failure on MacOS with apple m1 chip
2021-07-08 11:22:43 +08:00
Shuduo Sang ad23a6979f
[TD-5108]<feature>: CI support lua (#6798)
* [TD-5108]<feature>: CI support lua

* [TD-5108]<feature>: CI support lua on Windows and Mac
2021-07-08 11:15:36 +08:00
Haojun Liao 32bfa0f119 [td-225] merge develop. 2021-07-08 11:13:16 +08:00
Haojun Liao a099d6aedf [td-225] update the sql.c 2021-07-08 11:02:22 +08:00
Haojun Liao 52cef5f97a [td-5126]<enhance>: optimize the outer query performance when handling the time window query. 2021-07-08 10:58:46 +08:00
Shuduo Sang cb802a0c42
Hotfix/sangshuduo/m2d 20210707 (#6795)
* [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.

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

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

* fix mask length.

* fix heap use-after-free.

* fix illegal input value of consume.

* Hotfix/sangshuduo/td 3197 taosdemo coverity scan for master (#6725)

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

* exit if read sample file failed.

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

* [TD-4985]<test>:test query limit and offset function

* [TD-4985]<test>:test query limit and offset function

* [TD-4985]<test>:test query limit and offset function

* [TD-4985]<test>:test query limit and offset function

* [TD-5018]<fix>: taosdemo prompt if the batch is too large to insert data. (#6736)

* fix dead loop issue

* fix taosdemoPerformance.py runtime error

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

* [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

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

add install funtion to all scripts.

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

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

* [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

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

add install funtion to all scripts.

* adjust install_jemalloc() position for check compatibility.

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

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

* [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

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

add install funtion to all scripts.

* adjust install_jemalloc() position for check compatibility.

* fix position bug.

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

* [TD-5067]<fix>: taosdemo stmt use sample data (#6760)

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

* [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

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

add install funtion to all scripts.

* adjust install_jemalloc() position for check compatibility.

* fix position bug.

* add ldconfig for jemalloc library cache refresh.

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

* [TD-5063]<test>:test insert locking bug

* [TD-5063]<test>:test insert locking bug

* [TD-4705]<fix>: disallow file sync starting when vnode closing

* Hotfix/sangshuduo/td 5053 taosdump support nanosecond for master (#6778)

* cherrypick from develop branch

* fix arm32 compile issue.

* [TD-5053]<feature>: taosdump supports nanosecond.

* fix precision parsing order issue.

* [TD-5053]<fix>: taosdump support nanosecond.

pre-cherry-pick.

* Hotfix/sangshuduo/td 5100 gtest centos for master (#6781)

* cherry pick from develop branch.

* detect both shared library and static library.

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

* [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

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

add install funtion to all scripts.

* adjust install_jemalloc() position for check compatibility.

* fix position bug.

* add ldconfig for jemalloc library cache refresh.

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

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

* [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

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

add install funtion to all scripts.

* adjust install_jemalloc() position for check compatibility.

* fix position bug.

* add ldconfig for jemalloc library cache refresh.

* cherry pick from develop branch.

* cherry pick from develop branch.

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

* fix taosdumpTest case as -N will lead no property dumped.

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>
Co-authored-by: happyguoxy <happy_guoxy@163.com>
Co-authored-by: Ping Xiao <pxiao@taosdata.com>
2021-07-08 07:01:49 +08:00
Shuduo Sang 23e7593b44
fix issue memory sanitizer detected. (#6793) 2021-07-07 22:20:10 +08:00
Shuduo Sang ef075ea963
Hotfix/sangshuduo/td 4987 detected by mem sanitizer for develop (#6792)
* [TD-4987]<fix>: issues memory sanitizier detected.

* fix mask width issue.

* fix issue memory sanitizer detected.
2021-07-07 21:37:42 +08:00
Shuduo Sang 175202e036
Hotfix/sangshuduo/td 3973 use jemalloc for master (#6794)
* [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

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

add install funtion to all scripts.

* adjust install_jemalloc() position for check compatibility.

* fix position bug.

* add ldconfig for jemalloc library cache refresh.

* cherry pick from develop branch.

* cherry pick from develop branch.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-07 19:48:08 +08:00
Shuduo Sang 5f95e7d2fd
Hotfix/sangshuduo/td 3973 use jemalloc for master (#6789)
* [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

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

add install funtion to all scripts.

* adjust install_jemalloc() position for check compatibility.

* fix position bug.

* add ldconfig for jemalloc library cache refresh.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-07 19:26:09 +08:00
yihaoDeng 6350955e6c compile errro on arm 2021-07-07 18:59:15 +08:00
Shuduo Sang 2774590e79
Hotfix/sangshuduo/td 5100 gtest centos for master (#6781)
* cherry pick from develop branch.

* detect both shared library and static library.
2021-07-07 18:56:37 +08:00
yihaoDeng cff7b2395b compile errro on arm 2021-07-07 18:41:00 +08:00
Cary Xu 1236681fa7 Merge branch 'develop' into feature/TD-4666 2021-07-07 18:30:16 +08:00
Cary Xu 16a05a6914 naming convention 2021-07-07 18:30:13 +08:00
Shuduo Sang 2d78785573
Hotfix/sangshuduo/td 5100 gtest centos (#6780)
* [TD-5100]<fix>: gtest existance detection failed on CentOS.

* detect both shared library and static library.
2021-07-07 18:23:57 +08:00
yihaoDeng 455f3743d8 make CI/CD happy 2021-07-07 18:22:10 +08:00
Shuduo Sang 3c61f6ce8f
Feature/sangshuduo/td 5053 taosdump support nanosecond (#6779)
* [TD-5053]<feature>: taosdump support nanosecond

huge code refactoring

* fix arm32 compile issue.

* [TD-5053]<feature>: taosdump supports nanosecond.

* fix precision parsing order issue.

* [TD-5053]<fix>: taosdump support nanosecond.

pre-cherry-pick.

* turn nanosecond support on on the develop branch.
2021-07-07 17:38:47 +08:00
tomchon 4c34c53b1a Merge branch 'develop' of github.com:taosdata/TDengine into release/ver-2.1.4.1 2021-07-07 17:25:12 +08:00
Shuduo Sang ce9119b332
Feature/sangshuduo/td 3973 use jemalloc (#6788)
* [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.

* adjust install_jemalloc() position for update check compatiblity.

* fix position bug.

* add ldconfig for jemalloc library cache refresh.

* add /etc/ld.so.conf.d/jemalloc.conf for centos

* check ver comp by file.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-07 17:24:51 +08:00
Haojun Liao c5ee2fd58d [td-225] refactor. 2021-07-07 17:02:33 +08:00
Haojun Liao 9dd40166d6
Merge pull request #6756 from taosdata/feature/query
[td-255] refactor.
2021-07-07 16:58:27 +08:00
Shuduo Sang 0d7fbe1f01
Hotfix/sangshuduo/td 5053 taosdump support nanosecond for master (#6778)
* cherrypick from develop branch

* fix arm32 compile issue.

* [TD-5053]<feature>: taosdump supports nanosecond.

* fix precision parsing order issue.

* [TD-5053]<fix>: taosdump support nanosecond.

pre-cherry-pick.
2021-07-07 16:54:14 +08:00
tomchon ee290fe2a4 Merge branch 'develop' of github.com:taosdata/TDengine into release/ver-2.1.4.1 2021-07-07 16:44:05 +08:00
plum-lihui 7f3654bdfc [TD-5056]<fix> fix input exception 2021-07-07 16:41:04 +08:00
Elias Soong ce0a24cae8
Merge pull request #6785 from taosdata/docs/Update-Latest-Feature
[TD-2569] <docs>: fix typo.
2021-07-07 16:05:26 +08:00
Elias Soong c4787210a9 [TD-2569] <docs>: fix typo. 2021-07-07 16:05:01 +08:00
Shuduo Sang 3da8055c2d
Feature/sangshuduo/td 3973 use jemalloc (#6784)
* [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.

* adjust install_jemalloc() position for update check compatiblity.

* fix position bug.

* add ldconfig for jemalloc library cache refresh.

* add /etc/ld.so.conf.d/jemalloc.conf for centos

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-07 16:04:08 +08:00
Elias Soong 1aa2019d4c
Merge pull request #6783 from taosdata/docs/Update-Latest-Feature
[TD-4657] <docs>: fix typo.
2021-07-07 15:20:28 +08:00
Elias Soong 9f8e0e09ff [TD-4657] <docs>: fix typo. 2021-07-07 15:19:45 +08:00
Shengliang Guan d3e3a34308
Merge pull request #6777 from taosdata/fix/TD-4705
[TD-4705]<fix>: disallow file sync starting when vnode closing
2021-07-07 15:00:18 +08:00
Hui Li efdeaa5765
Merge pull request #6764 from taosdata/xiaoping/add_test_case
[TD-5078]<test>: update test case for nested query
2021-07-07 13:38:49 +08:00
Hui Li b45fbe0896
Merge pull request #6775 from taosdata/test/TD-5063-m
Test/td 5063 m
2021-07-07 13:38:45 +08:00
Shuduo Sang 8ab4b3131a
Feature/sangshuduo/td 5053 taosdump support nanosecond (#6769)
* [TD-5053]<feature>: taosdump support nanosecond

huge code refactoring

* fix arm32 compile issue.

* [TD-5053]<feature>: taosdump supports nanosecond.

* fix precision parsing order issue.
2021-07-07 12:21:46 +08:00
Haojun Liao e7cad3db7d [td-225]refactor. 2021-07-07 11:56:56 +08:00
Minglei Jin c497ea9531 [TD-4705]<fix>: disallow file sync starting when vnode closing 2021-07-07 11:53:45 +08:00
yihaoDeng 6db74db683 Merge branch 'feature/cenc' of github.com:taosdata/TDengine into cenc 2021-07-07 11:43:15 +08:00
Huo Linhe 7cb0eecdd3 [TD-5109]<feature>: support arithmetic calc in grafana plugin 2021-07-07 18:56:32 +08:00
Haojun Liao 14927e45b6 [td-225] update the directory buffer length. 2021-07-07 11:41:44 +08:00
yihaoDeng ea5597b3a0 merge develop 2021-07-07 11:41:38 +08:00
tomchon a388965892 modify dockerManifest.sh 2021-07-07 11:31:15 +08:00
Cary Xu 4a365c0d91 compile err and bug fix 2021-07-07 11:22:46 +08:00
wpan 7f25afc831 fix windows compile error 2021-07-07 11:12:37 +08:00
happyguoxy 96e483ea96 [TD-5063]<test>:test insert locking bug 2021-07-07 10:42:18 +08:00
happyguoxy ba3a2695f1 [TD-5063]<test>:test insert locking bug 2021-07-07 10:42:00 +08:00
wpan 1caaab48ee fix nchar filter issue 2021-07-07 10:06:16 +08:00
yihaoDeng a49c706bee [TD-5035]<fix> fix empty pointer 2021-07-07 08:56:58 +08:00
yihaoDeng fc41ede86d Merge branch 'develop' of github.com:taosdata/TDengine into devx 2021-07-07 08:13:30 +08:00
Cary Xu c10d065e1a fix windows compiler err 2021-07-07 08:07:13 +08:00
Cary Xu 9ed5a42cf6 tsc raw data combination restructure 2021-07-07 07:14:08 +08:00