Commit Graph

579 Commits

Author SHA1 Message Date
Haojun Liao fa46165227 Merge branch 'main' into enh/rocksdbSstate 2023-04-24 12:59:24 +08:00
yihaoDeng 917b07348c Merge branch 'fix/rocksdbState' into enh/rocksRevert 2023-04-23 02:37:26 +00:00
cadem c86f0a331a fix:add log for locale setting 2023-04-23 10:23:54 +08:00
Haojun Liao 9fb7589fb5 fix(os): fix a deadlock. 2023-04-19 14:08:41 +08:00
yihaoDeng 6f6fd3e147 fix compile error 2023-04-17 15:01:41 +00:00
yihaoDeng b24b91886a Merge branch 'dev3' into enh/rocksRevert 2023-04-11 10:59:00 +00:00
xinsheng Ren bf53345f9d
fix: windows gettime negative value (#20800) 2023-04-11 08:47:31 +08:00
Ganlin Zhao 23ec9287c9 fix: fix tsim crash on windows due to invalid input to strftime 2023-04-04 10:33:41 +08:00
Shuduo Sang 5e2b26f146
chore: refactor cus prompt (#20688)
* chore: refactor cus prompt

* fix: client name in install.sh

* fix: -Wno-reserved-user-defined-literal

* fix: update taos-tools commit

* fix: include/os/osDir.h

* fix: check cus name

* fix: makepkg.sh

* chore: update taos-tools d194dc9

---------

Co-authored-by: chenhaoran <haoran920c@163.com>
2023-03-30 19:30:54 +08:00
yihaoDeng 86fe216921 add backend 2023-03-28 11:23:24 +00:00
Ganlin Zhao 9788532a0a fix 2023-03-24 16:59:36 +08:00
Ganlin Zhao b06e9e1031 fix 2023-03-24 14:53:40 +08:00
Ganlin Zhao 223ae4cc7e fix 2023-03-24 14:50:56 +08:00
Ganlin Zhao 3bdef853b2 fix: fix windows handling localtime_s error 2023-03-24 10:29:36 +08:00
Xuefeng Tan 449f7115e4
fix: windows test (#20256)
* fix: windows sim test

* fix: windows sim test

* fix: random on windows

* fix: taosd online check

* fix: windows path in python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: make_install.bat

* fix: python test

* fix: jdbc test

* fix: develop test

* fix: develop test

* fix:add log

* test:add win case file

* test:add win case file

* test:add win case file

* fix: python test get taosBenchmark path

* test:add win case file

* test:comment some failed cases in win

* test:add win case file

* test:add win case file

* test:comment some win case file

* test:add some win case file

---------

Co-authored-by: wangmm0220 <wangmm0220@gmail.com>
Co-authored-by: chenhaoran <haoran920c@163.com>
2023-03-16 10:18:06 +08:00
Xiaoyu Wang a846c26ef9 merge main 2023-03-11 16:14:27 +08:00
Xiaoyu Wang 0cda8daa52
Merge pull request #20320 from taosdata/fix/3.0_merge_main
merge main
2023-03-09 18:19:03 +08:00
t_max b2610da03c fix: TIMETRUNCATE with 1d return unexpected result 2023-03-09 14:29:05 +08:00
xinsheng Ren 957bf49f9a
enh: coverage (#20307)
* enh: coverage

* enh: coverage, atomic

* fix: int to int8 error

* enh: delete unused code
2023-03-08 18:42:38 +08:00
Shengliang Guan 5d6d6e6e16
Merge pull request #19805 from freemine/pthread_cleanup_push
typo: pthread_cleanup_push/pop better exist in pair
2023-03-02 17:35:35 +08:00
Xiaoyu Wang d6dd087f84 merge main 2023-02-25 10:29:20 +08:00
Hui Li 965d91572a
Merge pull request #20148 from taosdata/fix/3_coverity
fix(query): fix syntax errors on centos.
2023-02-24 17:39:12 +08:00
xinsheng Ren e3f21ae98f
fix: TD-22674 coverity scan (#20126)
* fix: TD-22674 coverity scan

* fix: compile error

---------

Co-authored-by: facetosea <25808407@qq.com>
2023-02-24 15:17:14 +08:00
Haojun Liao a217b3e457 fix(query): fix syntax errors on centos. 2023-02-24 13:37:35 +08:00
Haojun Liao 02e298b973 fix(query): fix syntax errors on centos. 2023-02-24 11:52:30 +08:00
Haojun Liao 8eb1e56e8d fix(query): fix syntax errors on centos. 2023-02-24 11:42:08 +08:00
Haojun Liao 22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
Xiaoyu Wang 7337f5ff7d
Merge pull request #20052 from taosdata/fix/3.0_merge_main
merge main
2023-02-21 16:27:19 +08:00
Shuduo Sang 48426ed2df
fix: alpine compile error for 3.0 (#20064)
* fix: alpine support

* fix: ostimer thread_id

* fix: taosPrintTrace and tsStreamMax

* fix: make_install.sh and dnodes.py for alpine

* fix: cmake.platform and cut option for alpine

* fix: timer sigev and string convert

* fix: test case for alpine

* fix: fix test script for alpine

---------

Co-authored-by: t_max <1172915550@qq.com>
2023-02-20 22:31:56 +08:00
wangmm0220 6052018e77 fix:dispatch_semaphore_wait use error 2023-02-20 16:42:25 +08:00
Xiaoyu Wang c597de099f merge main 2023-02-20 13:41:27 +08:00
dapan1121 1128b1222b feat: add memory debug option 2023-02-17 17:40:14 +08:00
yihaoDeng 1aee609d36 fix: change socket opt 2023-02-13 16:46:42 +08:00
xinsheng Ren 6122a2fb0c
fix stackflow on mac (#19592)
* fix stackflow on mac

* ALL UPPER CASE for macro definition

---------

Co-authored-by: facetosea <25808407@qq.com>
2023-02-10 18:31:09 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Shuduo Sang ea5d925c50
fix: alpine support (#19353)
* fix: alpine support

* fix: ostimer thread_id

* fix: taosPrintTrace and tsStreamMax

* fix: make_install.sh and dnodes.py for alpine

* fix: cmake.platform and cut option for alpine

* fix: timer sigev and string convert

* fix: test case for alpine

* fix: fix test script for alpine

* fix: fix test script for alpine

* fix: fix taosLogTrace for Alpine

* fix: fix taosSort

* fix: vnode and mnode compare functions and test cases

* fix: sorting algorithms and unit tests

* fix: libtaosws.so build error on Alpine

* fix: libtaosws.so build error on Alpine

---------

Co-authored-by: t_max <1172915550@qq.com>
2023-02-10 13:00:55 +08:00
Xiaoyu Wang 09925437e3 merge main 2023-02-08 09:51:52 +08:00
Ganlin Zhao 3b03341de4 fix: setting logKeepDays to -1 result in old log files not compressed and
empty.
2023-02-07 18:15:55 +08:00
dapan1121 c4295e1b29
Merge pull request #19779 from taosdata/fix/hostShutDown
fix: no resp when host machine shutdown
2023-02-06 16:20:39 +08:00
yihaoDeng 121afc6047 rm invalid param on macos 2023-02-06 10:23:25 +08:00
freemine a999e56a1d typo: pthread_cleanup_push/pop better exist in pair 2023-02-05 16:08:34 +08:00
yihaoDeng e7a72d5a28 fix: no resp when host machine shutdown 2023-02-03 13:57:26 +08:00
dapan1121 ca16ebc6e7 fix: add get ip addr result validation 2023-02-03 10:36:47 +08:00
Xiaoyu Wang 677a27a097
Merge pull request #19690 from taosdata/fix/3.0_merge_main
Fix/3.0_merge_main
2023-01-31 09:20:29 +08:00
xinsheng Ren 3d2b5ea6b6
Fix/xsren/td 20179/win version info (#19708)
* fix:get system info on windows

* fix:head file

* fix:del tchar.h
2023-01-31 00:49:18 +08:00
Hongze Cheng 0f00862d8b Merge branch 'fix/TD-22070' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-30 10:17:59 +08:00
Haojun Liao 4892740cb1 fix(query): fix error on windows. 2023-01-29 14:00:00 +08:00
Haojun Liao 995b75f77f fix(query): fix syntax error on windows. 2023-01-29 13:44:30 +08:00
Haojun Liao ef8b68bc80 fix(query): fix syntax error on windows. 2023-01-29 13:31:43 +08:00
Haojun Liao 8d2633cd99 fix(query): add qsort for alpine. 2023-01-29 09:47:28 +08:00
Haojun Liao 555ee2b556 fix(query): add qsort for alpine. 2023-01-29 09:43:03 +08:00
Xiaoyu Wang 24157e78d6 merge main 2023-01-28 17:52:58 +08:00
xinsheng Ren 1a5adfc547
fix:getTimeOfDay on windows (#19680) 2023-01-28 17:29:38 +08:00
xinsheng Ren 3d1adcfe3d
fix:getTimeOfDay on windows (#19674) 2023-01-28 13:25:52 +08:00
xinsheng Ren 5c5e9144f2
ALL UPPER CASE for macro definition (#19605)
Co-authored-by: facetosea <25808407@qq.com>
2023-01-18 10:08:44 +08:00
xinsheng Ren 172559a2af
fix stackflow on mac (#19590)
Co-authored-by: facetosea <25808407@qq.com>
2023-01-17 15:21:02 +08:00
freemine e92bf83986
bugfix: stack-buffer-overflow (#19584) 2023-01-17 15:05:33 +08:00
Shengliang Guan d90eef6656 Merge branch '3.0' into merge/mainto3.0_0108 2023-01-08 09:54:21 +08:00
Shengliang Guan a3b5fca070
Merge pull request #19409 from taosdata/FIX/xsren/osFileUnlock
fix:Deadlock caused by assert modification
2023-01-08 09:42:20 +08:00
facetosea 61734b9c6a fix:Deadlock caused by assert modification 2023-01-06 10:43:47 +08:00
Shuduo Sang bcbf672600 Merge branch '3.0' into chore/sangshuduo/TD-19391-oem-support 2023-01-05 18:16:38 +08:00
Shuduo Sang c6a08b64b5 chore: merge with 3.0 2023-01-05 17:36:30 +08:00
Minglei Jin 4e1f5b2979 fix(meta): cleanup coverity scan issues 2023-01-05 14:04:21 +08:00
xinsheng Ren 936f282eab
TD-21220 fix assert (#19363)
* TD-21220 fix assert

* fix/compile failed

* fix/taosEOFFile exception return

Co-authored-by: facetosea <25808407@qq.com>
2023-01-05 09:20:14 +08:00
dapan1121 be23890976 fix: ut test issue 2023-01-04 16:07:30 +08:00
Xiaoyu Wang fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
xinsheng Ren 047aae9caf
Enh/xsren/td 21652/win file lock base main (#19317)
* add os subtest (#19304)

* add os subtest

* fix/test.cpp include header file

Co-authored-by: facetosea <25808407@qq.com>

* TD-21652 win file lock

* fix/ostest:exception on mac

Co-authored-by: facetosea <25808407@qq.com>
2023-01-04 08:59:29 +08:00
Shengliang Guan 650ea06b69
Merge pull request #19321 from taosdata/feature/3_liaohj
fix(utility): fix the bug in creating auto delete files.
2023-01-03 17:40:48 +08:00
xinsheng Ren 42c662bf17
Enh/xsren/td 21652/win file lock (#19313)
* add os subtest

* fix/test.cpp include header file

* TD-21652 win file lock

* fix/ostest:exception on mac

Co-authored-by: facetosea <25808407@qq.com>
2023-01-03 15:24:51 +08:00
Haojun Liao f93abddc88 fix(utility): fix the bug in creating auto delete files. 2023-01-03 11:16:49 +08:00
xinsheng Ren 25f24af05d
add os subtest (#19304)
* add os subtest

* fix/test.cpp include header file

Co-authored-by: facetosea <25808407@qq.com>
2023-01-03 10:19:32 +08:00
xinsheng Ren e93863a652
enh/TD-21425/windows print trace (#19258)
* enh/TD-21425/windows print trace

* enh/windows trace test

* fix/check calloc failed

* enh/windows print,stack size hard code
2022-12-30 15:39:39 +08:00
xinsheng Ren fcf64fa3d5
Enh/xsren/win print trace mainbase (#19279)
* enh/TD-21425/windows print trace

* enh/windows trace test

* fix/check calloc failed

* enh/windows print,stack size hard code
2022-12-30 15:39:15 +08:00
Shuduo Sang 868cf83cdb chore: prepare for string passing 2022-12-29 19:20:46 +08:00
xinsheng Ren 1876d6d748 Fix/xsren/td 20817 mac fqdn (#19078)
* fix/TD-20817-mac-fqdn use localhostname

* fix/TD-20817-mac-fqdn redundant codes

* fix/TD-20817-mac-fqdn,replace command with api

Co-authored-by: facetosea <25808407@qq.com>
Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
2022-12-29 09:38:48 +08:00
xinsheng Ren 8c35b856c6 fix/TS-2297/windows sort use stdlib (#19152)
Co-authored-by: facetosea <25808407@qq.com>
2022-12-29 09:38:16 +08:00
xinsheng Ren 853b93fbe1
Fix/xsren/td 20817 mac fqdn (#19078)
* fix/TD-20817-mac-fqdn use localhostname

* fix/TD-20817-mac-fqdn redundant codes

* fix/TD-20817-mac-fqdn,replace command with api

Co-authored-by: facetosea <25808407@qq.com>
Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
2022-12-29 09:21:20 +08:00
xinsheng Ren 1af1cf0618
fix/TS-2297/windows sort use stdlib (#19152)
Co-authored-by: facetosea <25808407@qq.com>
2022-12-26 18:38:01 +08:00
Shengliang Guan 664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
yihaoDeng 71bbc4fdd0 update charset conv 2022-12-23 22:21:28 +08:00
Xiaoyu Wang d3cb2a3a0a merge main 2022-12-18 20:36:06 +08:00
Shengliang Guan 12088812dd fix: should not fsync in log level is error 2022-12-16 15:54:19 +08:00
Shengliang Guan 04750d9078
Merge pull request #18905 from taosdata/feature/3_liaohj
refactor: do multiple refactor and improve some query perf.
2022-12-14 08:01:42 +08:00
xinsheng Ren b03e3a8134
FIX:TS-2258-mac cpuinfo has an extra enter character (#18916)
* FIX:TS-2258-mac cpuinfo has an extra enter character

* fix:TS-2258_static_check

Co-authored-by: facetosea <25808407@qq.com>
2022-12-13 10:57:48 +08:00
Haojun Liao 8f02297890 refactor: do some internal refactor. 2022-12-12 17:53:04 +08:00
dapan1121 4efa7c2b47
Merge pull request #18815 from taosdata/enh/insertOptimize
enh: insert multi tables optimize
2022-12-09 12:22:59 +08:00
Shengliang Guan 610ae057af
Merge pull request #18807 from taosdata/FIX/xsren/TD-20141-macOS_OS_type_empty
Fix/xsren/td 20141 mac os os type empty
2022-12-08 21:13:29 +08:00
Xiaoyu Wang a202b29853 fix: compile warn 2022-12-08 17:37:35 +08:00
facetosea fcfff59f86 fix:maxOS type 2022-12-08 11:13:57 +08:00
facetosea 4aaa29bd4f fix:TD-20141 mac os type empty 2022-12-08 10:50:35 +08:00
Shengliang Guan 1d34b7edf8 enh: print dnode startup parameters 2022-12-08 10:50:24 +08:00
Shengliang Guan 7553cd6e65 fix: compile errors 2022-12-07 22:28:12 +08:00
Shengliang Guan 1bb1025f7d enh: add tassert 2022-12-07 22:24:47 +08:00
Shengliang Guan 6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan 6ef608f7af fix: complie error 2022-12-07 19:02:43 +08:00
Shengliang Guan d5126d469a refact: replcase ASSERT with tAssert 2022-12-07 18:42:48 +08:00
Shengliang Guan f69a188f7e refact: replcase ASSERT with tAssert 2022-12-07 18:37:40 +08:00
yihaoDeng 9ce9d21507 support fail fast 2022-12-06 10:30:14 +08:00
Hongze Cheng d977929c99 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-04 09:37:29 +08:00
Haojun Liao fa43f86fe1 refactor: add an assert. 2022-12-03 12:43:03 +08:00
Haojun Liao 85c1e3aabf refactor: add an assert. 2022-12-03 12:41:56 +08:00
Haojun Liao b6199d8d99 enh(query): update the aligned bits for colInfodata 2022-12-03 12:37:42 +08:00
Minglei Jin 6cb65f336d Merge branch 'v3.0' into feat/async_commit 2022-12-02 14:49:58 +08:00
Shengliang Guan 8efb45ffbf
Merge pull request #18613 from taosdata/FIX/xsren/TD-20738-timewait
fix:window time wait
2022-12-02 08:01:52 +08:00
facetosea c0c1e0dadd fix:compile error 2022-12-01 19:25:49 +08:00
Hongze Cheng 3fc30c991e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-01 18:59:21 +08:00
Shengliang Guan fd31980b91
Merge pull request #18535 from taosdata/enh/addTraceInfo
enh: add trace info
2022-11-30 17:23:20 +08:00
facetosea a450fae89a fix:window time wait 2022-11-30 17:00:36 +08:00
Hongze Cheng df7c07a541 Merge branch 'fix/tdb-async-commit' of https://github.com/taosdata/TDengine into feat/async_commit 2022-11-30 16:48:09 +08:00
Shengliang Guan 6bfcc2e4c3
Merge pull request #18556 from taosdata/FIX/xsren/TS-2157-winGetTime
fix:concurrency conflicts occur when obtaining windows system time
2022-11-30 14:23:41 +08:00
Shuduo Sang 5a0b642234 Merge branch '3.0' into FIX/xsren/TS-2157-winGetTime 2022-11-30 13:15:06 +08:00
Liu Jicong 89119c6247 Merge branch '3.0' into feature/stream 2022-11-30 09:50:22 +08:00
Shuduo Sang f565ff3769
fix: get cpuid on x86 only (#18552)
* chore: taostools sanitizer flag align with tdengine

* chore: re-enable old style build asan config for taos-tools

* chore: update taos-tools 274d230

* chore: update taos-tools and add x86 definition

* fix: get cpu id on x86 only
2022-11-29 23:42:20 +08:00
Liu Jicong 548684e5ac fix(stream): delete multiple row 2022-11-29 23:39:58 +08:00
facetosea 81e6a9d906 fix:concurrency conflicts occur when obtaining windows system time 2022-11-29 21:41:07 +08:00
yihaoDeng 5425d67c9a add timestamp to msg head 2022-11-29 11:40:58 +08:00
Minglei Jin 7a7d7f7d00 tdb/write: new tdbPWriteFile api for commit and prep async to maindb 2022-11-28 17:31:11 +08:00
Shengliang Guan e6aed5195d
Merge pull request #18468 from taosdata/feature/3_liaohj
refactor: improve the perf in query
2022-11-27 23:10:00 +08:00
Shengliang Guan 58a0ea253e
Revert "enh: add debug info" 2022-11-27 00:44:12 +08:00
Shengliang Guan 7102f62872
Merge pull request #18461 from taosdata/fix/coverity_alex
coverity problem fixed
2022-11-26 21:44:20 +08:00
Shengliang Guan 38aa1a2f28
Merge pull request #18452 from taosdata/enh/TD-20719
enh: add debug info
2022-11-26 15:44:41 +08:00
Shengliang Guan a718613944 fix: coverity issues 2022-11-26 13:02:15 +08:00
yihaoDeng e23b3cf870 fix compile failure 2022-11-26 09:21:15 +08:00
Haojun Liao 99ea0abffa fix(query): add return value. 2022-11-25 23:09:31 +08:00
Haojun Liao d77f5fa70c fix(query): fix error in windows and darwin system. 2022-11-25 22:54:54 +08:00
Haojun Liao 7fe4cf7bbe
Merge branch '3.0' into feature/3_liaohj 2022-11-25 22:24:59 +08:00
yihaoDeng 561baa37bc fix TD-20751 mem leak 2022-11-25 21:29:29 +08:00
yihaoDeng 421aa1a8c3 fix mem leak 2022-11-25 20:28:52 +08:00
Alex Duan 8e8230da93 fix(query): coverity fixed 2022-11-25 17:16:16 +08:00
Liu Jicong ec7df42347 fix(tmq): time wait 2022-11-25 13:33:15 +08:00
yihaoDeng 06af61d975 add debug info 2022-11-25 12:03:08 +08:00
Haojun Liao 9a208b2d09 other: merge 3.0 2022-11-24 17:08:15 +08:00
Haojun Liao 611ab8b394 refactor: make sure the memory is aligned to 32 bytes. 2022-11-23 21:52:51 +08:00
Alex Duan 36e1deb0de fix(shell): output redirect to file need not call fflush 2022-11-23 10:43:56 +08:00
kailixu 6515c9c7c5 fix: real path optimization in case of invalid read 2022-11-17 10:56:24 +08:00
Haojun Liao b83f895726 refactor: do some internal refactor. 2022-11-11 14:16:13 +08:00
xiaolei li 4d09254e93
test(driver):C# CI failed for longarch64 pr-17982 (#18030)
* Add loongarch64 architecture port.

Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>

* test(driver):C# CI failed for longarch64 pr-17982

Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
Co-authored-by: Jingyun Hua <huajingyun@loongson.cn>
2022-11-10 21:06:20 +08:00
Shengliang Guan 92b1c12330 fix: wrong cpu usage 2022-11-01 16:38:52 +08:00
Shengliang Guan 8cdbcb89f5
Merge pull request #17762 from taosdata/fix/memReturn
enh: return mem to os
2022-10-31 20:12:22 +08:00
yihaoDeng 55509833db cron trim 2022-10-31 09:23:33 +08:00
gccgdb1234 f52000d86e return mem to os 2022-10-29 22:25:40 +08:00
Shengliang Guan 820de25e97 fix: failed to recursive mkdir in mac 2022-10-28 14:48:59 +08:00
Alex Duan 97e70e8f27 fix(all): coverity scan problem fixed 2022-10-24 18:41:39 +08:00
Alex Duan d23b829c5b Merge branch '3.0' into fix/TD-19655-V30 2022-10-24 18:23:07 +08:00
Shengliang Guan d22ab18d53
Merge pull request #17575 from taosdata/fix/rmRedundance
fix: rm redundance
2022-10-23 14:37:46 +08:00
yihaoDeng b0edb7c017 rm [redundance 2022-10-23 12:29:02 +08:00
yihaoDeng ada04eb2bc rm [èredundance 2022-10-23 10:38:16 +08:00
Zhiqiang Wang 0286fab538
fix: func basename error (#17547)
* fix: func basename error

* chore: add cargo update

Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
2022-10-22 20:23:38 +08:00
Alex Duan 39c800da80 fix(all): fixed coverity scan problems for second submiting 2022-10-22 15:41:37 +08:00
Shengliang Guan 79f16a6d54 refact: remove multi process codes 2022-10-19 17:53:01 +08:00