1. 01 8月, 2021 1 次提交
  2. 28 7月, 2021 1 次提交
  3. 27 7月, 2021 2 次提交
    • sangshuduo's avatar
      add prompt msg if WAL size exceeds limit. (#7032) · 606119e3
      sangshuduo 提交于
      606119e3
    • sangshuduo's avatar
      Feature/sangshuduo/td 4068 taosdemo stmt (#7019) · ac1e1678
      sangshuduo 提交于
      * merge with develop branch.
      
      change query/tests/CMakeLists.txt to allow unused function and variable.
      
      * refactor data generating.
      
      * refactor.
      
      * refactor.
      
      * refactor.
      
      * refactor.
      
      * refactor
      
      * add prepare stmt function.
      
      * refactor get rand timestamp.
      
      * fix windows compile error.
      
      * copy logic of generate data for stmt.
      
      * insert data basically works now.
      
      * fix windows compile issue.
      
      * [TD-4068]<feature>: taosdemo stmt interface.
      
      stb batch insert works.
      
      * [TD-4068]<feature>: taosdemo support stmt.
      
      normal table insert works.
      
      * [TD-4068]<feature>: taosdemo support stmt.
      
      interlace write works.
      
      * add compile macro to make taosdemo same with master branch.
      
      * fix clang compile error.
      
      * fix memory leak.
      
      * add more macro.
      
      * fix rest segfault.
      
      * add stmt_errstr() for reason print.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      ac1e1678
  4. 26 7月, 2021 1 次提交
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#7012) · f043e3a6
      sangshuduo 提交于
      * [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.
      
      * fix converity scan issue.
      
      * fix coverity scan issue.
      
      * fix coverity scan memory leak.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      f043e3a6
  5. 24 7月, 2021 1 次提交
  6. 23 7月, 2021 1 次提交
  7. 22 7月, 2021 2 次提交
  8. 21 7月, 2021 2 次提交
  9. 20 7月, 2021 3 次提交
  10. 19 7月, 2021 2 次提交
  11. 18 7月, 2021 1 次提交
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#6907) · 2e4f9508
      sangshuduo 提交于
      * [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.
      
      * fix converity scan issue.
      
      * fix coverity scan issue.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      2e4f9508
  12. 17 7月, 2021 3 次提交
  13. 16 7月, 2021 4 次提交
  14. 15 7月, 2021 3 次提交
  15. 14 7月, 2021 3 次提交
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 5136 taosdemo rework for master (#6864) · 6fc8211a
      sangshuduo 提交于
      * cherry pick from develop branch.
      
      * [TD-5136]<feature>: taosdemo simulate real senario.
      
      * update test case according to taosdemo change
      
      * adjust range of semi-random data.
      
      * make demo mode use different tag name and value.
      
      * change malloc to calloc for pid allocation.
      6fc8211a
    • sangshuduo's avatar
      Feature/sangshuduo/td 5242 taosdemo support 4096 columns (#6856) · 80faa86c
      sangshuduo 提交于
      * [TD-5136]<feature>: taosdemo simulate real senario.
      
      * update test case according to taosdemo change
      
      * adjust range of semi-random data.
      
      * make demo mode use different tag name and value.
      
      * [TD-5242]<feature>: taosdemo support max columns align with TSDB defines.
      80faa86c
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 5136 taosdemo rework for master (#6853) · 22796177
      sangshuduo 提交于
      * cherry pick from develop branch.
      
      * [TD-5136]<feature>: taosdemo simulate real senario.
      
      * update test case according to taosdemo change
      
      * adjust range of semi-random data.
      
      * make demo mode use different tag name and value.
      22796177
  16. 13 7月, 2021 1 次提交
  17. 12 7月, 2021 2 次提交
  18. 11 7月, 2021 2 次提交
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#6829) · bf5b5b35
      sangshuduo 提交于
      * [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.
      
      * fix converity scan issue.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      bf5b5b35
    • sangshuduo's avatar
      Hotfix/sangshuduo/td 3197 taosdemo coverity scan for master (#6830) · 6fc8a6f5
      sangshuduo 提交于
      * [TD-3197]<fix>: taosdemo and taosdump coverity scan issues.
      
      * exit if read sample file failed.
      
      * fix converity scan issue.
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      6fc8a6f5
  19. 08 7月, 2021 1 次提交
    • sangshuduo's avatar
      Hotfix/sangshuduo/m2d 20210707 (#6795) · cb802a0c
      sangshuduo 提交于
      * [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: 069169e7 and fix coverity scan issue.
      Co-authored-by: NShuduo 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: NShuduo 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: NShuduo 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: NShuduo 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: NShuduo 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: NShuduo 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: NShuduo 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: NShuduo 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: NShuduo Sang <sdsang@taosdata.com>
      
      * fix taosdumpTest case as -N will lead no property dumped.
      Co-authored-by: haoranc's avatartomchon <haoran920c@163.com>
      Co-authored-by: NShengliang Guan <slguan@taosdata.com>
      Co-authored-by: NMinglei Jin <mljin@taosdata.com>
      Co-authored-by: NBaosheng Chang <changb9@mcmaster.ca>
      Co-authored-by: NHongze Cheng <hzcheng@taosdata.com>
      Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
      Co-authored-by: NYiqing Liu <yqliu@taosdata.com>
      Co-authored-by: NHui Li <52318143+plum-lihui@users.noreply.github.com>
      Co-authored-by: NyihaoDeng <yhdeng@taosdata.com>
      Co-authored-by: Nwpan <wpan@taosdata.com>
      Co-authored-by: NHaojun Liao <hjxilinx@users.noreply.github.com>
      Co-authored-by: NHaojun Liao <hjliao@taosdata.com>
      Co-authored-by: Nhappyguoxy <happy_guoxy@163.com>
      Co-authored-by: NPing Xiao <pxiao@taosdata.com>
      cb802a0c
  20. 07 7月, 2021 2 次提交
  21. 06 7月, 2021 2 次提交
    • sangshuduo's avatar
      Feature/sangshuduo/td 3973 use jemalloc (#6767) · 7c869c76
      sangshuduo 提交于
      * [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: NShuduo Sang <sdsang@taosdata.com>
      7c869c76
    • sangshuduo's avatar
      [TD-5067]<fix>: taosdemo stmt use sample data (#6760) · 833c94b8
      sangshuduo 提交于
      833c94b8