Commit Graph

8836 Commits

Author SHA1 Message Date
Haojun Liao 61a7001274 fix(query): fix coverity issues. 2023-02-22 10:50:42 +08:00
54liuyao 1d58f85a54 feat:coverity scan 2023-02-22 10:10:04 +08:00
yihaoDeng 8fb471ae7a fix: dead lock while create transaction on same db or stable 2023-02-22 09:54:45 +08:00
Haojun Liao 0c9145645b Merge branch 'main' into feature/3_liaohj 2023-02-22 08:53:23 +08:00
Haojun Liao 37fea8cf3d fix(tmq): update the epset when the leader of vnode changed. 2023-02-21 23:04:58 +08:00
wangmm0220 b28c0ad952 fix:remove useless logic in tmq 2023-02-21 18:49:39 +08:00
Minglei Jin 724e7bc3a1 fix(tsdb/cache): use state's tsdb instead of readers 2023-02-21 18:23:18 +08:00
cademfly d66a0c35b2 fix/TD-22618 2023-02-21 18:15:32 +08:00
Xiaoyu Wang 53e4dfa12e
Merge pull request #20074 from taosdata/fix/TD-22567
fix(dnd/ep): failed with invalid ep.json
2023-02-21 17:27:30 +08:00
Benguang Zhao a78556a3e6 fix: synchronize access to pVnode->inUse 2023-02-21 16:52:24 +08:00
dapan1121 0b0af5240d
Merge pull request #20002 from taosdata/fix/forceStopTask
fix: add force stop task and rename conflict structer name
2023-02-21 16:30:18 +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
Haojun Liao 9a5b7ce220 refactor: do some internal refactor. 2023-02-21 15:32:17 +08:00
Minglei Jin f06fd05411 fix(dnd/ep): failed with invalid ep.json 2023-02-21 14:58:29 +08:00
Xiaoyu Wang b304456fef fix: rsma error 2023-02-21 11:17:59 +08:00
Haojun Liao d3f257ee5e
Merge pull request #20053 from taosdata/feat/ly_stream
feat:a maximum of 60 streams can be created
2023-02-21 10:14:56 +08:00
Xiaoyu Wang 9370d67e43 fix: tsdb reader resume 2023-02-21 09:43:56 +08:00
cyang ad56390a08 fix:compare func for topic & doublue free in taosArrayRemoveDuplicateP for topic 2023-02-21 00:54:34 +08:00
Benguang Zhao 0c7a4bfad9 enh: refactor syncBeginSnapshot and walBeginSnapshot for logRetention 2023-02-20 19:19:49 +08:00
Xiaoyu Wang 319dfd8f06 merge 3.0 2023-02-20 17:21:37 +08:00
dapan1121 e8dc7c8f37
Merge pull request #20034 from taosdata/feat/TD-22341
feat: add memory debug option
2023-02-20 16:50:11 +08:00
Xiaoyu Wang 9aa8b07a74
Merge pull request #20054 from taosdata/enh/3.0_planner_optimize
fix: wal compatibility of normal tables
2023-02-20 16:40:45 +08:00
Haojun Liao ad0be66a78
Merge pull request #19935 from taosdata/enh/dynamicIdx
feat:  change  index dynamicly
2023-02-20 15:48:49 +08:00
Xiaoyu Wang c79b63ab13 fix: wal compatibility of normal tables 2023-02-20 15:44:36 +08:00
54liuyao f34509cc6e feat:a maximum of 60 streams can be created 2023-02-20 14:18:21 +08:00
Xiaoyu Wang c597de099f merge main 2023-02-20 13:41:27 +08:00
yihaoDeng 71a1301034 add rename and del tag case 2023-02-20 11:29:16 +08:00
Haojun Liao 7fe250412f refactor:do some internal refactor. 2023-02-20 10:13:11 +08:00
Haojun Liao 751c1cb5d2 refactor:do some internal refactor. 2023-02-20 10:12:27 +08:00
Haojun Liao 8d187efc18 refactor:do some internal refactor. 2023-02-20 10:04:08 +08:00
Haojun Liao 16bc8cb5df
Merge pull request #20038 from taosdata/enh/changeOptPara
enh: opt transport opt
2023-02-20 09:48:01 +08:00
yihaoDeng f2a52f0831 suppprt tag rename 2023-02-20 00:09:26 +08:00
yihaoDeng bfe0ac61b9 add index case 2023-02-19 20:43:15 +08:00
yihaoDeng dd30b3577c add trans param 2023-02-19 18:29:11 +08:00
yihaoDeng 098949b528 add trans param 2023-02-19 18:10:42 +08:00
Haojun Liao 736619018d
Merge pull request #20043 from taosdata/fix/liaohj
fix(query): set the correct rows in data block.
2023-02-19 00:17:54 +08:00
Haojun Liao 3993f13479 Merge branch 'main' into fix/liaohj 2023-02-18 19:49:42 +08:00
Haojun Liao 59c72beb8d fix(query): set the correct rows in data block. 2023-02-18 19:47:18 +08:00
Haojun Liao 4853522e11 fix(query): set the correct rows in data block. 2023-02-18 19:46:37 +08:00
Xiaoyu Wang 6ecd5b2971
Merge pull request #20019 from taosdata/enh/3.0_planner_optimize
feat: compatible with older versions of wal
2023-02-18 19:34:28 +08:00
yihaoDeng edb3d6f8f3 change transport param 2023-02-18 19:19:44 +08:00
Haojun Liao dfd2278d2d
Merge pull request #20042 from taosdata/fix/liaohj
refactor: do some internal refactor and add some logs.
2023-02-18 18:42:48 +08:00
Xiaoyu Wang a8630c0aa3
Merge pull request #20031 from taosdata/FIX/TD-22224-main
fix: not allow to read if sync is restoring
2023-02-18 18:31:46 +08:00
yihaoDeng eafc9db1c1 fix iter and case 2023-02-18 18:24:10 +08:00
Haojun Liao 06a3c1c9c0 refactor: do some internal refactor and add some logs. 2023-02-18 17:32:43 +08:00
yihaoDeng 51755e9783 fix: fix drop error 2023-02-18 16:44:29 +08:00
yihaoDeng cfc9bb1eff opt transport opt 2023-02-18 11:37:43 +08:00
yihaoDeng db7dec0347 fix filter error 2023-02-18 11:21:10 +08:00
Haojun Liao bda24a01d8
Merge pull request #19992 from taosdata/fix/main
enh: handle too many session
2023-02-18 10:19:44 +08:00
yihaoDeng 1acb4dd676 opt filter 2023-02-18 09:38:54 +08:00
yihaoDeng 9db11ae559 opt trans 2023-02-17 23:05:06 +08:00
yihaoDeng f19fdaa142 opt trans 2023-02-17 22:40:27 +08:00
Benguang Zhao d51c3c36fb fix: not allow to read if sync is restoring 2023-02-17 19:47:52 +08:00
Xiaoyu Wang 0f4de9daec feat: compatible with older versions of wal 2023-02-17 18:06:57 +08:00
dapan1121 22e20462a2 Merge remote-tracking branch 'origin/3.0' into feat/TD-22341 2023-02-17 17:50:05 +08:00
dapan1121 386f184ed7 feat: disable async log 2023-02-17 17:45:44 +08:00
dapan1121 1128b1222b feat: add memory debug option 2023-02-17 17:40:14 +08:00
Xiaoyu Wang 26a0e05952
Merge pull request #20021 from taosdata/fix/TD-22376
fix: auto trim database
2023-02-17 17:26:38 +08:00
Xiaoyu Wang d5cd2d36af feat: compatible with older versions of wal 2023-02-17 15:55:55 +08:00
Haojun Liao 3bb5090be8
Merge pull request #20010 from taosdata/fix/TD-22426
fix:check stream
2023-02-17 15:37:28 +08:00
Xiaoyu Wang a7dad151f3
Merge pull request #20004 from taosdata/fix/TS-2625
fix(tsdb/cache): use block index cache with last/last_row
2023-02-17 15:27:49 +08:00
yihaoDeng d22e97d256 fix invalid code 2023-02-17 13:56:42 +08:00
Haojun Liao 71844eeed1
Merge pull request #20015 from taosdata/fix/fill_history_state
fix: save fill history state
2023-02-17 11:46:57 +08:00
Hongze Cheng aefdf9160a fix: auto trim database 2023-02-17 10:38:55 +08:00
yihaoDeng 96864b27e9 rm invalid file 2023-02-17 09:41:01 +08:00
Xiaoyu Wang b7f4b93d22 merge 3.0 2023-02-17 09:23:41 +08:00
Xiaoyu Wang dc984d92f7 feat: compatible with older versions of wal 2023-02-17 09:21:07 +08:00
yihaoDeng f975d8e0d9 change default value 2023-02-16 21:58:32 +08:00
Hongze Cheng 1640ccc4b2 fix: another error 2023-02-16 17:50:45 +08:00
Liu Jicong 2a4708d82a fix: save fill history state 2023-02-16 17:01:09 +08:00
Hongze Cheng 3c37ad11e6 fix: other problems 2023-02-16 15:55:59 +08:00
Minglei Jin de9cafb04e fix(tsdb/cache): disable sharding for block index cache 2023-02-16 15:50:19 +08:00
Minglei Jin 742a6d6c95 fix(mnd/stream): fix ignore update compatibility 2023-02-16 15:25:25 +08:00
yihaoDeng a6a8daec23 fix: batch write 2023-02-16 15:09:39 +08:00
54liuyao 33caf8e625 fix:check stream 2023-02-16 13:48:47 +08:00
Haojun Liao f8b59fc5bf
Merge pull request #19999 from taosdata/feat/TS-2633
feat:add disable stream option
2023-02-16 13:23:08 +08:00
Minglei Jin 4959e8fa7c
Merge branch 'main' into fix/TS-2625 2023-02-16 12:33:59 +08:00
Haojun Liao f34bc0344c
Merge pull request #20001 from taosdata/fix/nodisk
fix(query): fix memory leak and invalid free for tag filter cache.
2023-02-16 10:46:50 +08:00
Minglei Jin 56f1afb19c fix(tsdb/cache): use block index cache with last/last_row 2023-02-16 09:28:35 +08:00
Haojun Liao fd379310f6
Merge pull request #19979 from taosdata/fix/tq_oom
fix: handle insufficient resource
2023-02-16 09:17:52 +08:00
dapan1121 ed4e8313e0 fix: add force stop task and rename conflict structer name 2023-02-16 08:55:13 +08:00
yihaoDeng ebcbdcfddc fix: change parameter 2023-02-16 00:30:26 +08:00
yihaoDeng a2982d7c25 Merge branch 'enh/mainnn' into fix/main 2023-02-15 23:48:31 +08:00
Haojun Liao c7a9ed34d0 fix(query): fix memory leak and invalid free for tag filter cache. 2023-02-15 23:24:43 +08:00
yihaoDeng f22d07319f handle too many session 2023-02-15 20:06:04 +08:00
Haojun Liao 717392782a fix(query): remove the invalid free. 2023-02-15 19:50:56 +08:00
yihaoDeng b8dfc71446 handle too many session 2023-02-15 19:24:48 +08:00
54liuyao 43966abbc6 feat:add disable stream option 2023-02-15 18:39:05 +08:00
Hongze Cheng 3289f79ab2 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TS-2504 2023-02-15 18:00:22 +08:00
Hongze Cheng c1a3a0855b finish code 2023-02-15 17:59:54 +08:00
yihaoDeng e44704b20e opt: opt tag index 2023-02-15 17:26:11 +08:00
Haojun Liao d1d60999d4
Merge pull request #19989 from taosdata/feature/3_liaohj
refactor: enable the log.
2023-02-15 14:07:25 +08:00
Haojun Liao 3a6d32ae0b refactor: enable the log. 2023-02-15 12:57:09 +08:00
Haojun Liao cb35b453d4
Merge pull request #19870 from taosdata/feature/3_liaohj
other: merge opt to main.
2023-02-15 12:55:04 +08:00
54liuyao 88970c88a9 fix:dispatch create sub table 2023-02-15 11:04:49 +08:00
yihaoDeng fa8bebf24d opt: opt tag index 2023-02-14 17:44:29 +08:00
yihaoDeng df296c15f7 opt: opt tag index 2023-02-14 17:31:10 +08:00
dapan1121 05a9012fe3
Merge pull request #19973 from taosdata/fix/TD-22381
fix: add alter dnode configuration validdation
2023-02-14 17:10:25 +08:00
yihaoDeng dabcf00ade fix RC 2023-02-14 16:54:20 +08:00
Liu Jicong b147ba2812 fix: handle insufficient resource 2023-02-14 16:18:40 +08:00
Xiaoyu Wang 9fb5c8f3a1
Merge pull request #19961 from taosdata/fix/TD-22432
fix(tsdb/cache): invalidate cache entry if schema changed
2023-02-14 14:53:02 +08:00
dapan1121 b9918b0eda fix: add alter dnode configuration validdation 2023-02-14 13:49:07 +08:00
Minglei Jin ea81fc0b30 fix(vnd): zero meta in vnode when closing 2023-02-14 10:56:00 +08:00
Minglei Jin 8ec5df8d7d fix(tsdb/cache): Not free zero length var data 2023-02-14 10:20:55 +08:00
Minglei Jin ee9c59dc77 fix(tsdb/cache): invalidate cache entry if schema changed 2023-02-13 19:30:48 +08:00
Haojun Liao c1e7b3be66 fix(query): 1. reset the pointer, when initialize the reader failed. 2. add check for null pointer when extracting cached rows. 2023-02-13 19:10:31 +08:00
Haojun Liao c9ce01c878 Merge branch 'main' into feature/3_liaohj 2023-02-13 17:09:27 +08:00
yihaoDeng e4906283cb fix json_tag crash 2023-02-13 15:47:19 +08:00
Haojun Liao c597a1e4ce refactor: do some internal refactor. 2023-02-13 15:46:47 +08:00
wangmm0220 b054ef9a9f fix:conflict from 3.0 2023-02-13 14:04:36 +08:00
yihaoDeng 16da9d78a9 fix: fix filter error result 2023-02-13 13:47:22 +08:00
wangmm0220 0e630b8f81 fix:remove id in execReader & enable task case 2023-02-13 13:38:05 +08:00
Yihao Deng 5af1faf916
Merge branch '3.0' into enh/dynamicIdx 2023-02-13 13:36:06 +08:00
yihaoDeng 0fd0c64157 fix: fix filter error result 2023-02-13 13:28:52 +08:00
yihaoDeng 0f803fca10 fix: fix filter error result 2023-02-13 11:40:40 +08:00
Haojun Liao a13ca296a8 Merge branch 'main' into fix/liaohj 2023-02-13 11:34:57 +08:00
Hongze Cheng 454e56fd09 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TS-2504 2023-02-13 10:37:32 +08:00
Haojun Liao 27a53a0c64 fix(query): set the correct table iter. 2023-02-13 10:05:26 +08:00
Xiaoyu Wang 6483b92f0c
Merge pull request #19923 from taosdata/fix/3.0_merge_main
merge main
2023-02-13 09:48:45 +08:00
Liu Jicong 0cd6bd3d86 Merge branch 'main' into enh/stream_buffer_param 2023-02-13 09:48:02 +08:00
Hongze Cheng 10167a90cd refact code 2023-02-13 09:39:21 +08:00
Hongze Cheng cce25bbcd8 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TS-2504 2023-02-13 09:14:24 +08:00
Haojun Liao 34036b932f fix(query): fix error in windows. 2023-02-13 01:05:40 +08:00
Haojun Liao f85cf08f87 fix(query): set the initial iterator table before check data in buffer. 2023-02-12 22:09:46 +08:00
yihaoDeng 75577937be fix compile error 2023-02-12 17:00:28 +08:00
yihaoDeng a929aa22d8 merge 3.0 2023-02-12 10:48:18 +08:00
yihaoDeng a8b0452080 fix mem leak 2023-02-12 10:30:36 +08:00
Haojun Liao f6a262eeb1 fix(query): fix invalid write. 2023-02-11 01:56:28 +08:00
Haojun Liao 1b53f4b0bd
Merge pull request #19919 from taosdata/fix/liaohj
fix(query): add check for table/super table dropped
2023-02-10 23:00:55 +08:00
yihaoDeng 93c61f82c9 fix mem leak 2023-02-10 19:24:26 +08:00
Haojun Liao a7fdc4bae3 other: merge 3.0 2023-02-10 19:20:24 +08:00
Haojun Liao 5dfa0e69a9 fix(query): set correct schema info for normal table. 2023-02-10 19:06:23 +08:00
yihaoDeng 9d8e3e0c8f fix mem leak 2023-02-10 18:29:03 +08:00
Haojun Liao 6839ed22f2 fix(query): fix bug in tag filter. 2023-02-10 18:28:35 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Hongze Cheng 039a0d2270 fix: compile issue 2023-02-10 18:01:22 +08:00
Haojun Liao e378668571
Merge pull request #19915 from taosdata/fix/nodisk
ehn(query): dynamic set the initial buffer size for data block from d…
2023-02-10 17:49:46 +08:00
Haojun Liao f6b2da8c06 fix(query): add check for table/super table dropped, when retrieving cache rows. 2023-02-10 16:53:11 +08:00
Hongze Cheng 9694933ec8 fix: compact issue 2023-02-10 16:24:29 +08:00
Haojun Liao c8f1c3b6e4 fix(query): set the max rows as the default block buffer rows. 2023-02-10 16:18:30 +08:00
Haojun Liao 72287a3b5f fix(query): set correct tag value during tag filter and do some internal refactor. 2023-02-10 16:03:11 +08:00
Haojun Liao 17f05c0020 refactor: disable the limitation of maximum buffer size. 2023-02-10 14:40:37 +08:00
Haojun Liao 4908c563cc ehn(query): dynamic set the initial buffer size for data block from disk. 2023-02-10 14:35:18 +08:00
Haojun Liao 440122e010
Merge pull request #19900 from taosdata/fix/nodisk
fix(query): set lastkey during check of valid ts.
2023-02-10 13:45:08 +08:00
Hongze Cheng f523a96c2d fix compact problem 2023-02-10 13:38:21 +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
Haojun Liao 4f4d39a16b fix(query): set correct last key. 2023-02-10 11:32:18 +08:00
yihaoDeng cf129cacb9 add mutex 2023-02-10 10:51:25 +08:00
Xiaoyu Wang b2e60da1cf merge main 2023-02-10 10:34:55 +08:00
Haojun Liao 0fbaf4eab0 fix(query): set lastkey during check of valid ts. 2023-02-09 23:01:44 +08:00