Commit Graph

537 Commits

Author SHA1 Message Date
Minglei Jin 33967b243b
Merge branch '3.0' into fix/TD-25010-3 2023-08-10 12:14:01 +08:00
kailixu d6ed5fe096 fix: timezone and qsort for windows 2023-08-09 20:08:19 +08:00
Hui Li 10f5d223bb
Merge pull request #22370 from taosdata/FIX/TD-25605-3.0
enh: check if disk space sufficient at primary dir with tfs
2023-08-09 18:32:07 +08:00
Benguang Zhao e4d16e594c enh: check if disk space sufficient at primary dir with tfs 2023-08-08 17:53:11 +08:00
kailixu b598c2651d fix: use mktime after 19700101 on windows 2023-08-07 19:30:54 +08:00
kailixu 59100a7251 enh: code optimize for mktime 2023-08-07 17:52:43 +08:00
jiacy-jcy 6fd2ae138e fix: taosMktime on windows platform 2023-08-07 17:32:20 +08:00
Minglei Jin fac7e521e9 s3/evict: fetch atime from stat file 2023-08-07 15:59:37 +08:00
kailixu 42da90e459 chore: code revert 2023-08-01 19:45:14 +08:00
kailixu 2a22e55705 fix: null pointer check for mutex on windows 2023-08-01 19:42:05 +08:00
kailixu dffdbb53f6 chore: code optimization 2023-07-24 10:15:32 +08:00
kailixu 9511af242e chore: time unit of os uptime 2023-07-24 09:12:42 +08:00
kailixu d597ba8e71 chore: code optimize 2023-07-24 06:35:54 +08:00
kailixu 3cfa49066a chore: uptime logic optimize 2023-07-23 23:25:58 +08:00
kailixu 918d3cca0c chore: more check 2023-07-16 07:13:53 +08:00
kailixu 3fd349d165 chore: null check 2023-07-14 19:30:31 +08:00
kailixu 163adf1908 chore: dm monitor refactor 2023-07-14 13:27:19 +08:00
yihaoDeng 08c3a63341 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-06 12:37:54 +00:00
dapan1121 5006ecc484 fix: stable name not responsed while stable removed issue 2023-05-05 11:45:14 +08:00
liuyao 2984c5a758 merge main 2023-04-28 10:34:46 +08:00
Alex Duan 97a5ebac1c fix: miss out _fstat64 2023-04-25 17:10:12 +08:00
Alex Duan ee93500619 fix: log file size over 4G report error on windows 2023-04-25 17:03:58 +08:00
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 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
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
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