Commit Graph

16167 Commits

Author SHA1 Message Date
tickduan 682f6e5c35 #ifdef _TD_ARM32 replae sizeof(long)==8 2021-07-08 15:21:55 +08:00
tickduan 4897ea65fb fix arm 32 build error 2021-07-08 15:02:52 +08:00
tickduan 996bed9023 fix pre modify zstd/common error. 2021-07-08 14:19:15 +08:00
tickduan ffd8347a44 add zstd/common to include header 2021-07-08 13:30:04 +08:00
tickduan 988540968f Merge branch 'develop' into compress_float 2021-07-08 11:18:25 +08:00
tickduan c51a69e4dc remove -w build option 2021-07-08 11:17:39 +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
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 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
tickduan ed84111382 add sz config to taos.cfg 2021-07-07 20:39:49 +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
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
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 9dd40166d6
Merge pull request #6756 from taosdata/feature/query
[td-255] refactor.
2021-07-07 16:58:27 +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
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
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
Haojun Liao 14927e45b6 [td-225] update the directory buffer length. 2021-07-07 11:41:44 +08:00
tickduan f204a0d350 Merge branch 'develop' into compress_float 2021-07-07 09:53:36 +08:00
tickduan f9bf4244ce reduce files to smaller and delete no use files and function 2021-07-07 09:52:18 +08:00
tickduan 7c1ae052ef sz.py test 190ms and 31M size 2021-07-06 19:56:16 +08:00
Shuduo Sang 7c869c765a
Feature/sangshuduo/td 3973 use jemalloc (#6767)
* [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.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-06 19:32:21 +08:00
Haojun Liao f8c3135f8c [td-255] refactor. 2021-07-06 18:47:07 +08:00
Shuduo Sang 7d9efc95a2
Feature/sangshuduo/td 3973 use jemalloc (#6766)
* [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.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-06 18:31:38 +08:00
Ping Xiao d93c482860 [TD-5078]<test>: update test case for nested query 2021-07-06 18:28:45 +08:00
Shuduo Sang 7a80bf0417
Feature/sangshuduo/td 3973 use jemalloc (#6762)
* [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.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-07-06 17:59:51 +08:00
Shuduo Sang d53b734901
[TD-5067]<fix>: taosdemo stmt use sample data (#6759) 2021-07-06 17:59:39 +08:00
Haojun Liao 2bf253d336
Merge pull request #6744 from taosdata/hotfix/TD-5042
[TD-5042]fix diff group by crash issue
2021-07-06 14:51:11 +08:00
Haojun Liao 332c397f43
Merge pull request #6749 from taosdata/hotfix/TD-5043
[TD-5043]fix offset issue
2021-07-06 14:50:55 +08:00
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
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
tickduan 3e24cb15ce remove pwr_ reduce to 41s 2021-07-06 09:23:08 +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
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
Ping Xiao d390ad7a8e [TD-4983]<test>: add test case for interval boundry 2021-07-05 18:27:32 +08:00