Commit Graph

2956 Commits

Author SHA1 Message Date
wangmm0220 0a54d00cd2 fix:converity scan defects 2023-03-17 14:54:27 +08:00
kailixu 7ed966e3f1 fix: select ins_columns from stb/tb 2023-03-17 12:33:34 +08:00
yihaoDeng 497ba9992d fix coverity scan problem 2023-03-17 02:26:18 +00:00
yihaoDeng 07ca8eb8e0 enh: add trace to transaction 2023-03-16 10:25:46 +00:00
Shengliang Guan 7af1d00d74
Merge pull request #20485 from taosdata/fix/TS-2891-M
fix(query): invalid write when query of ins_columns
2023-03-16 15:50:03 +08:00
Haojun Liao 345b46769c
Merge pull request #20490 from taosdata/fix/liaohj
fix(tmq): disable non-leader vnode responsing the poll request.
2023-03-16 14:00:42 +08:00
Haojun Liao a1682664f2 fix(tmq): disable non-leader vnode responsing the poll request. 2023-03-16 10:12:34 +08:00
kailixu ba5c3fb2ab fix: select ins_columns for stb with 4096 columns 2023-03-16 00:01:54 +08:00
Shengliang Guan a397c2dae4
Merge pull request #20471 from taosdata/fix/alter_minrows
fix: alter minrows doesn't take effect
2023-03-15 17:45:54 +08:00
Haojun Liao 36cec7894b
Merge pull request #20472 from taosdata/fix/liaohj
fix(query): set the correct cached tags list key length, and update s…
2023-03-15 15:56:50 +08:00
Haojun Liao 253a760810 fix(query): set the correct cached tags list key length, and update some logs. 2023-03-15 14:30:12 +08:00
Shengliang Guan 7ee24c318e fix: alter minrows doesn't take effect 2023-03-15 14:25:18 +08:00
Shengliang Guan 4efcb4ddce
Merge pull request #20280 from taosdata/fix/TD-22871
fix: return err msg while db is creating
2023-03-15 14:10:41 +08:00
Benguang Zhao cc76d78673 enh: separate sync read and write events 2023-03-14 20:35:39 +08:00
Yihao Deng 0d4cc1c577
Merge branch 'main' into fix/TD-22871 2023-03-14 15:56:51 +08:00
yihaoDeng d3c9e08003 fix: fix log invalid err msg 2023-03-14 06:15:47 +00:00
Haojun Liao 32ddecc347 other: merge main. 2023-03-14 12:13:09 +08:00
Shengliang Guan e98b32a69f
Merge pull request #20427 from taosdata/fix/main_bugfix_wxy
fix: last redundant read stt file
2023-03-14 09:41:19 +08:00
Shengliang Guan bf03965931
Merge pull request #20413 from taosdata/FIX/TD-22564-main
enh: not allow to propose if fsm applying progress lagging behind too far
2023-03-14 09:36:04 +08:00
Xiaoyu Wang ca39dfcf2d feat: show vgroup display num of cache tables 2023-03-13 17:21:32 +08:00
Haojun Liao 564e9bb833 Merge branch 'main' into fix/liaohj 2023-03-12 14:38:38 +08:00
Xiaoyu Wang a846c26ef9 merge main 2023-03-11 16:14:27 +08:00
Benguang Zhao d679eaf648 enh: update pMnode->applied only when pMsg->code as zero 2023-03-10 18:10:34 +08:00
yihaoDeng 3865404674 add user err code 2023-03-10 14:19:03 +08:00
Benguang Zhao 66631229eb fix: initialize and update pMnode->applied properly 2023-03-10 09:35:38 +08:00
Haojun Liao a4e378e138 refactor: update some log. 2023-03-10 09:30:59 +08:00
Benguang Zhao 5e53b1225b enh: finish restore with commit and applied indexes instead of num of items in apply queue 2023-03-09 19:35:42 +08:00
Benguang Zhao 1392711e66 enh: add fsm FpAppliedIndexCb to get the current applied index 2023-03-09 18:14:04 +08:00
Xiaoyu Wang e5de317f44 feat: alter database stt_trigger/minrows 2023-03-09 16:04:38 +08:00
Hongze Cheng 16262512b2 feat: alter stt_trigger and minrows 2023-03-09 15:25:47 +08:00
Xiaoyu Wang 66bb55187d Merge remote-tracking branch 'origin/main' into fix/3.0_merge_main 2023-03-08 18:30:24 +08:00
Shengliang Guan c4d2718296
Merge pull request #20332 from taosdata/fix/main_bugfix_wxy
fix: check the compatibility of client version and server version
2023-03-08 17:40:23 +08:00
Xiaoyu Wang 5d80e71d9e fix: check the compatibility of client version and server version 2023-03-08 16:42:09 +08:00
Xiaoyu Wang 3db2c59581 fix: check the compatibility of client version and server version 2023-03-08 16:10:11 +08:00
Shengliang Guan 1439bdcd36
Merge pull request #20306 from taosdata/feat/add-reboot-time
feat/add-reboot-time
2023-03-08 15:46:55 +08:00
Xiaoyu Wang 9be3e20276 fix: check the compatibility of client version and server version 2023-03-08 15:13:11 +08:00
Haojun Liao 41f26148a2 fix(mq): re-balance consumer if it is in an in-balance status. 2023-03-08 12:09:54 +08:00
Xiaoyu Wang 4c8bab7e58 merge main 2023-03-08 10:59:33 +08:00
Hongze Cheng 89281ee488 compact with time range 2023-03-07 21:46:34 +08:00
cadem a063d69890 feat/add-reboot-time 2023-03-07 18:27:26 +08:00
wangmm0220 fc39a330b4 fix:wrong uasge of taosArrayGet 2023-03-06 23:30:25 +08:00
wangmm0220 77f86c6729 fix:wrong uasge of taosArrayGet 2023-03-06 23:24:30 +08:00
Haojun Liao 60cdbe37d3 refactor: do some internal refactor. 2023-03-06 22:25:34 +08:00
Haojun Liao 1b93f980e8 refactor: do some internal refactor. 2023-03-06 21:33:31 +08:00
Haojun Liao e92bfa558d fix(query): allow only one trans to be execute for each balance, and do some other refactor. 2023-03-06 21:16:30 +08:00
yihaoDeng 4385275a89 fix: return err while db is creating 2023-03-06 17:32:12 +08:00
Haojun Liao da550029d8 fix(tmq): fix memory error and adjust some logs. 2023-03-06 11:52:52 +08:00
Haojun Liao 6fafa8443e fix(query): sleep a little bit when errors occur. 2023-03-05 15:32:00 +08:00
Haojun Liao 22a85734c6 fix(mq): add more chek for balance couner to avoid the negative value emerges. 2023-03-05 13:23:50 +08:00
Haojun Liao 53a0ff0be3 refactor: add some logs. 2023-03-04 16:19:45 +08:00
Shengliang Guan 2d46730ad9
Merge pull request #20262 from taosdata/fix/TD-22951
fix: add pre-finished stage, trans won't be dropped in follower if has undo actions while rollback
2023-03-04 10:09:06 +08:00
Haojun Liao 3645c52b25 refactor: update some logs. 2023-03-04 00:34:53 +08:00
Shengliang Guan f4c8444b8f fix: format log 2023-03-03 23:55:05 +08:00
Shengliang Guan 0b00922a43 fix: should not set startFunc/stopFunc to 0. when the trans is not finished on taosd stop, it will cause the startFunc/stopFunc setting error 2023-03-03 23:53:32 +08:00
Shengliang Guan 65737555c9 Merge remote-tracking branch 'origin/main' into feature/3_liaohj 2023-03-03 18:22:49 +08:00
Shengliang Guan 50955b2e50
Merge pull request #20261 from taosdata/FIX/TS-2766-main
enh: control frequency of mnode sdb flushing with mndSdbWriteDelta
2023-03-03 18:22:30 +08:00
Shengliang Guan 25e0ed8cb5 Merge branch 'fix/TD-22951' into feature/3_liaohj 2023-03-03 18:21:55 +08:00
Shengliang Guan 051e4796f3 Merge branch 'feature/3_liaohj' of https://github.com/taosdata/TDengine into feature/3_liaohj 2023-03-03 18:21:50 +08:00
Shengliang Guan 2624ea65d8 fix: add pre-finished stage, trans won't be dropped in follower if it has undo actions while rollback 2023-03-03 18:21:07 +08:00
Benguang Zhao d27f392beb enh: control frequency of mnode sdb flushing with mndSdbWriteDelta 2023-03-03 17:30:23 +08:00
Shengliang Guan ff70b102fa fix: set trans from rollback to undo if mnode not leader 2023-03-03 17:30:02 +08:00
Haojun Liao dfeb3fb458 refactor: update some logs. 2023-03-03 13:45:04 +08:00
Shengliang Guan 658bd47315 Merge remote-tracking branch 'origin/main' into feature/3_liaohj 2023-03-03 10:56:09 +08:00
Shengliang Guan 8ffc397cf2 fix: minor changes 2023-03-03 10:35:13 +08:00
Shengliang Guan b26b1aa8fd fix: minor changes 2023-03-03 10:30:23 +08:00
Haojun Liao e8c11c58f0 fix(tq): add some logs. 2023-03-03 10:20:52 +08:00
dapan1121 2a5074870d fix: add missing db options in show create database result 2023-03-02 11:33:29 +08:00
Xiaoyu Wang 0fe9b5ca19
Merge pull request #20222 from taosdata/feat/compact
more compact to enterprise
2023-03-01 20:19:42 +08:00
Xiaoyu Wang e2cfad8d4c
Merge pull request #20226 from taosdata/FIX/TS-2766-main
enh: rotate wal of mnode properly
2023-03-01 17:44:53 +08:00
Xiaoyu Wang 13d29b6f75 move compact to enterprise 2023-03-01 15:32:57 +08:00
Xiaoyu Wang 4cf0a8b376 move compact to enterprise 2023-03-01 15:25:01 +08:00
Xiaoyu Wang 7e0efcdc9b move compact to enterprise 2023-03-01 15:06:41 +08:00
Haojun Liao 10a119e3fb
Merge pull request #20106 from taosdata/fix/TD-22667-3.0
fix:error by coverity scan
2023-03-01 13:31:59 +08:00
Benguang Zhao caaff5c546 enh: rotate wal of mnode properly 2023-03-01 10:02:33 +08:00
Haojun Liao b3ae58dac1
Merge pull request #20205 from taosdata/feat/TD-22831
feat:window close && ignore expired
2023-02-28 19:23:07 +08:00
54liuyao abbc69a2ed fix:asan error 2023-02-28 17:43:47 +08:00
wangmm0220 986ae9c4d0 fix:conflicts 2023-02-28 15:11:16 +08:00
WANG MINGMING 5dfc9ed4d0
Merge branch '3.0' into fix/TD-22667-3.0 2023-02-28 09:52:34 +08:00
Haojun Liao 5e9f53560d
Merge branch 'main' into feature/3_liaohj 2023-02-27 18:23:35 +08:00
Haojun Liao e1be7dd399 fix(query): fix memory leak. 2023-02-27 17:55:30 +08:00
Xiaoyu Wang efa56d5352 merge main 2023-02-27 14:18:03 +08:00
Xiaoyu Wang f97a140a3c merge 3.0 2023-02-27 14:16:33 +08:00
wangmm0220 c638564179 fix:confilcts from main 2023-02-26 23:09:57 +08:00
Haojun Liao b46098793d refactor: do some internal refactor and add some logs for tmq. 2023-02-26 12:16:45 +08:00
Haojun Liao 0369ff2231 other: merge main. 2023-02-25 15:42:32 +08:00
Haojun Liao 514369c611 other: merge main 2023-02-25 11:06:13 +08:00
Haojun Liao d6fca036e5 refactor: do some internal refactor. 2023-02-25 11:02:42 +08:00
Haojun Liao 90c6641cff
Merge pull request #20131 from taosdata/fix/coverity_yihao
fix: fix asan problem
2023-02-25 10:42:39 +08:00
Xiaoyu Wang d6dd087f84 merge main 2023-02-25 10:29:20 +08:00
Xiaoyu Wang 5856a39827
Merge pull request #20123 from taosdata/fix/3.0_merge_main
merge main
2023-02-25 10:01:26 +08:00
Yihao Deng 22b1bc1049
Merge branch '3.0' into fix/coverity_yihao 2023-02-24 21:22:58 +08:00
wangmm0220 54a546931c fix:optimize version logic in tmq and remove useless code 2023-02-24 19:22:08 +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
Xiaoyu Wang 67a94707b7
Merge pull request #20104 from taosdata/feat/3.0_wxy
enh: drop tables syntax optimization
2023-02-24 16:57:30 +08:00
Xiaoyu Wang a94fd9ec47 fix: alter stable error 2023-02-24 14:54:35 +08:00
Haojun Liao 993ae9e7e9 Merge branch '3.0' into fix/3_coverity 2023-02-24 14:34:01 +08:00
Xiaoyu Wang 58fc265b80 merge main 2023-02-24 13:26:45 +08:00
Haojun Liao 22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
Xiaoyu Wang d06dedd5cc
Merge pull request #20103 from taosdata/fix/TD-22668
fix: coverity scan issues
2023-02-24 10:53:49 +08:00
Haojun Liao cc393f3939
Merge pull request #20143 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2023-02-24 09:58:44 +08:00
Haojun Liao dbb1e9bd59 refactor: do some internal refactor. 2023-02-23 21:59:55 +08:00
yihaoDeng 2013ba0d8f fix: fix asan problem 2023-02-23 17:54:51 +08:00
54liuyao d43355e77f fix:check null column 2023-02-23 17:31:52 +08:00
Haojun Liao b8fe575aa4
Merge pull request #20068 from taosdata/fix/TD-22624
fix:compare func for topic & double free in taosArrayRemoveDuplicate…
2023-02-23 17:19:17 +08:00
Xiaoyu Wang 1ab144609e merge main 2023-02-23 14:58:22 +08:00
Haojun Liao 24c38d30e3 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2023-02-23 14:10:25 +08:00
Haojun Liao f00b7b3af0 refactor: do some internal refactor. 2023-02-23 14:09:56 +08:00
Haojun Liao b203107922
Merge branch 'main' into feature/3_liaohj 2023-02-23 10:22:17 +08:00
Haojun Liao 9d96aac8fe
Merge pull request #20096 from taosdata/fix/TD-22631
fix: dead lock while create transaction on same db or stable
2023-02-23 09:31:09 +08:00
Haojun Liao 6015729560 refactor: add some logs. 2023-02-23 09:21:32 +08:00
Haojun Liao 4432ae51e6
Merge branch 'main' into fix/liaohj 2023-02-23 09:04:32 +08:00
wangmm0220 91d5df423f fix:error by coverity scan 2023-02-22 15:48:39 +08:00
Xiaoyu Wang 618c934fb2 enh: drop tables syntax optimization 2023-02-22 15:16:16 +08:00
Minglei Jin 0a782ef78c fix(mnd): coverity scan issues 2023-02-22 14:50:41 +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
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
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
cyang ad56390a08 fix:compare func for topic & doublue free in taosArrayRemoveDuplicateP for topic 2023-02-21 00:54:34 +08:00
Xiaoyu Wang 319dfd8f06 merge 3.0 2023-02-20 17:21:37 +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
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
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
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
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
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 db7dec0347 fix filter error 2023-02-18 11:21:10 +08:00
yihaoDeng 96864b27e9 rm invalid file 2023-02-17 09:41:01 +08:00
Minglei Jin 742a6d6c95 fix(mnd/stream): fix ignore update compatibility 2023-02-16 15:25:25 +08:00
54liuyao 33caf8e625 fix:check stream 2023-02-16 13:48:47 +08:00
dapan1121 ed4e8313e0 fix: add force stop task and rename conflict structer name 2023-02-16 08:55:13 +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
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 b9918b0eda fix: add alter dnode configuration validdation 2023-02-14 13:49:07 +08:00