Commit Graph

10837 Commits

Author SHA1 Message Date
Shengliang Guan 308459c223
Merge pull request #18116 from taosdata/feature/stream
enh(stream): set path max length to 1024
2022-11-14 16:40:58 +08:00
Shengliang Guan 0ab60825c6
Merge pull request #18118 from taosdata/fix/sync
fix(sync): fix memory error
2022-11-14 16:40:38 +08:00
Minghao Li 8f55e007f4 refactor(sync): add trace log 2022-11-14 16:23:52 +08:00
Minghao Li 9b58176c58 fix(sync): fix AddressSanitizer error: TD-20372 2022-11-14 15:56:34 +08:00
Shengliang Guan 3bc41d37f9
Merge pull request #18115 from taosdata/fix/3.0_bugfix_wxy
fix: sanitizer error
2022-11-14 15:48:50 +08:00
dapan1121 c0463e46c9 fix: truncate show create table result 2022-11-14 15:48:01 +08:00
Minghao Li 7420b0aaaf fix(sync): fix memory error 2022-11-14 15:24:59 +08:00
Shengliang Guan 4505991578
Merge pull request #18097 from taosdata/fix/TD-19579
fix: flush pages to get buffer ready for fetching
2022-11-14 15:20:07 +08:00
dapan1121 2c265b861b
Merge pull request #18113 from taosdata/fix/asanIssues
fix: fix asan issues
2022-11-14 15:19:24 +08:00
Minghao Li c20627c1d6 fix(sync): fix AddressSanitizer error: TD-20372 2022-11-14 14:58:21 +08:00
Liu Jicong aa9e935854 enh(stream): set path max length to 1024 2022-11-14 14:46:50 +08:00
Xiaoyu Wang 7bddbb06f0 fix: sanitizer error 2022-11-14 14:38:51 +08:00
dapan1121 d2468c5548 fix: fix asan issues 2022-11-14 14:22:13 +08:00
Minghao Li 51861bb82b refactor(sync): delete some code 2022-11-14 14:20:13 +08:00
Shengliang Guan 72f6b93417
Merge pull request #18108 from taosdata/fix/TD-20366
fix: runtime error (division by zero in builtinsimpl.c)
2022-11-14 12:05:23 +08:00
dapan1121 14a1f4e373
Merge pull request #18074 from taosdata/fix/TD-20300
fix: fix query thread quit issue
2022-11-14 11:28:30 +08:00
dapan1121 a5b1cfc9a2 fix: extend show create table result width 2022-11-14 11:27:38 +08:00
stephenkgu 420be42269 fix: flush pages to get buffer ready for fetching 2022-11-14 10:37:56 +08:00
Shengliang Guan 49245efff4 fix: runtime error (division by zero in builtinsimpl.c) 2022-11-14 10:35:46 +08:00
dapan1121 d7c0c054aa
Merge pull request #18093 from taosdata/fix/TD-20299-D
fix(query): min/max query of float type from block sma
2022-11-14 10:10:33 +08:00
Shengliang Guan 11c3463814 refact: adjust sync code struct 2022-11-13 18:18:46 +08:00
Shengliang Guan 4940080a1c refact: adjust sync log prints 2022-11-13 18:00:11 +08:00
Shengliang Guan f1a41f5a37 refact: sync message headfile 2022-11-13 17:21:30 +08:00
Shengliang Guan f2191363b4 refact: sync local cmd msg 2022-11-13 17:14:03 +08:00
Shengliang Guan d37d83ee26 refact: adjust sync leadertransfer msg 2022-11-13 17:00:47 +08:00
Shengliang Guan fd7a499946 refact: adjust sync snapshotsend rsp 2022-11-13 16:41:40 +08:00
Shengliang Guan eec0ab8c8d refact: adjust sync snapshotsend msg 2022-11-13 16:39:21 +08:00
Shengliang Guan d5f7f8c398 refact: remove sync apply msg 2022-11-13 16:11:49 +08:00
Shengliang Guan 7bcda46c59 refact: remove sync pre snapshot 2022-11-13 16:03:45 +08:00
Shengliang Guan 973fc99f75
Merge pull request #18094 from taosdata/feature/3.0_mhli
refactor(sync): pre snapshot
2022-11-13 15:38:33 +08:00
Minghao Li ce4f32b8e7 refactor(sync): pre snapshot 2022-11-13 12:21:14 +08:00
Minghao Li 58fd2228d9 refactor(sync): pre snapshot 2022-11-13 10:45:33 +08:00
Shengliang Guan 9c31ec37ac
Merge pull request #18090 from taosdata/fix/TD-20052
refact: build sync heartbeat reply
2022-11-13 09:37:25 +08:00
Cary Xu 622c31f15d Merge branch '3.0' into fix/TD-20299-D 2022-11-13 01:54:58 +08:00
Cary Xu a7e197d2cb fix(query): sum/min/max/avg query of float type from block sma 2022-11-13 01:54:46 +08:00
Shengliang Guan e0785bfa2d
Merge pull request #18088 from taosdata/fix/TD-20052
refact: build sync heartbeat msg
2022-11-12 23:14:27 +08:00
Shengliang Guan 6681099245 refact: build sync heartbeat reply 2022-11-12 21:31:01 +08:00
Shengliang Guan d280001333
Merge pull request #18085 from taosdata/fix/TD-20052
enh: adjust sync append entry reply
2022-11-12 21:29:22 +08:00
Shengliang Guan b0f36f570b
Merge pull request #18077 from taosdata/fix/TD-20347
fix: fix tablemeta leak
2022-11-12 20:58:41 +08:00
Shengliang Guan 55927eaf0d refact: build sync heartbeat msg 2022-11-12 20:37:15 +08:00
Shengliang Guan 94076e5919 refact: adjust sync append entry 2022-11-12 20:29:49 +08:00
Shengliang Guan 152b1ea9a3 enh: adjust sync append entry reply 2022-11-12 20:28:45 +08:00
shenglian zhou 532189d662 fix: fix asan error of leaked memory 2022-11-12 19:42:49 +08:00
Shengliang Guan 54e05aee26 enh: adjust sync append entry reply 2022-11-12 18:21:58 +08:00
Shengliang Guan 437daf8c90 enh: adjust sync append entry msg 2022-11-12 16:43:44 +08:00
Shengliang Guan 2dfc970572 enh: adjust sync append entry msg 2022-11-12 16:40:09 +08:00
Shengliang Guan 5b46cbefe9 enh: adjust request vote reply 2022-11-12 15:24:49 +08:00
Shengliang Guan cd19ff0173 enh: adjust request vote reply 2022-11-12 13:17:56 +08:00
Shengliang Guan 8cca68f29d enh: adjust request vote msg 2022-11-12 12:58:08 +08:00
Shengliang Guan 26cb3c3856 refact: remove sync batch codes 2022-11-12 12:26:56 +08:00
Shengliang Guan 8deb3b83df refact: adjust timeout msg build 2022-11-12 10:54:36 +08:00
Shengliang Guan 60fd3c4e0e Merge branch '3.0' into fix/TD-20052 2022-11-12 10:22:01 +08:00
Shengliang Guan 2da7eac62d refact: adjust timeout msg build 2022-11-12 10:21:16 +08:00
Shengliang Guan 48c0358e98
Merge pull request #18073 from taosdata/feature/stream
fix(query): set tbname for stream session delete
2022-11-12 09:42:18 +08:00
Shengliang Guan 0597c01107
Merge pull request #18070 from taosdata/fix/TD-20052
refact: remove sync ping and pingreply
2022-11-12 09:41:43 +08:00
yihaoDeng 5a0da6d28d conn timeout refactor 2022-11-11 21:42:23 +08:00
yihaoDeng 174ba6ad6e conn timeout refactor 2022-11-11 21:18:36 +08:00
Minghao Li 352c2d8ec0 refactor(sync): pre snapshot 2022-11-11 20:46:30 +08:00
yihaoDeng df950055c2 fix tablemeta leak 2022-11-11 20:23:16 +08:00
yihaoDeng 197d5d4b7a free unfinished ahandle while quit 2022-11-11 19:41:02 +08:00
yihaoDeng 3572fa7f67 Merge branch '3.0' of https://github.com/taosdata/TDengine into tdd 2022-11-11 19:21:16 +08:00
yihaoDeng 52b28fbceb fix ahandle mem leak 2022-11-11 19:16:51 +08:00
dapan1121 56b33e9200 Merge remote-tracking branch 'origin/3.0' into fix/TD-20300 2022-11-11 18:57:12 +08:00
dapan1121 f60441e2dd fix: fix query thread quitting issue 2022-11-11 18:44:59 +08:00
dapan1121 7af2444300
Merge pull request #18065 from taosdata/fix/TD-20333
fix:avoid duplicate results
2022-11-11 18:16:20 +08:00
Liu Jicong 0a298fb23d fix(query): set tbname for stream session delete 2022-11-11 18:06:41 +08:00
Shengliang Guan 278cf9d327 refact: remove sync ping and pingreply 2022-11-11 17:48:15 +08:00
Shengliang Guan a18c731cd0 refact: remove sync ping and pingreply 2022-11-11 17:35:04 +08:00
Shengliang Guan 9d9e4ae01f
Merge pull request #18062 from taosdata/fix/TD-20052
refact: adjust head file and sync log
2022-11-11 17:30:53 +08:00
Shengliang Guan b33d0e05f7
Merge pull request #18060 from taosdata/fix/set_offset_for_empty_record
fix(query): set offset for empty record
2022-11-11 17:30:38 +08:00
dapan1121 89c13efba8 fix: fix query thread quit issue 2022-11-11 17:13:55 +08:00
Ganlin Zhao 2b53f7be84 fix(query): report error if certain function query stable has duplicate
timestamps

TD-19892
2022-11-11 16:43:45 +08:00
Ganlin Zhao eec1b0bfb0 fix(query): report error if certain function query stable has duplicate
timestamps

TD-19892
2022-11-11 16:22:31 +08:00
54liuyao 7ea790021f fix:avoid duplicate results 2022-11-11 16:18:54 +08:00
yihaoDeng 8fa39accdf conn timeout refactor 2022-11-11 16:11:37 +08:00
Shengliang Guan 170b78ec74
Merge pull request #18054 from taosdata/fix/3.0_bugfix_wxy
enh: optimize the error message when illegally modifying the column length
2022-11-11 16:06:50 +08:00
yihaoDeng 50f148abac conn timeout refactor 2022-11-11 16:04:20 +08:00
Liu Jicong 265bb81b49 fix(query): set offset for empty record 2022-11-11 15:35:17 +08:00
Ganlin Zhao 1cba568604 fix(query): report error if certain function query stable has duplicate
timestamps

TD-19892
2022-11-11 15:22:00 +08:00
Shengliang Guan 1336ed11b2 refact: adjust sync ping message handler 2022-11-11 15:06:47 +08:00
Shengliang Guan 791802b656 Merge remote-tracking branch 'origin/3.0' into enh/TD-20052 2022-11-11 14:44:47 +08:00
Shengliang Guan 57f1b593e4 refact: adjust head file and sync log 2022-11-11 14:40:21 +08:00
Shengliang Guan fd152f00ec refact: adjust head file and sync log 2022-11-11 14:35:16 +08:00
Shengliang Guan b4f8e45401 refact: adjust head file and sync log 2022-11-11 14:25:24 +08:00
Xiaoyu Wang dd4333b140 enh: optimize the error message when illegally modifying the column length 2022-11-11 14:11:42 +08:00
Shengliang Guan d7b74c38d8
Merge pull request #18051 from taosdata/fix/3.0_bugfix_wxy
fix: the problem of null in case when expression
2022-11-11 13:45:19 +08:00
Shengliang Guan 5de865992a refact: adjust head file and sync log 2022-11-11 12:19:10 +08:00
Xiaoyu Wang 35b79e7e69 fix: the problem of null in case when expression 2022-11-11 11:24:24 +08:00
Shengliang Guan b28f05e6fb
Merge pull request #18037 from taosdata/feature/stream
fix(stream): tbname max len to 192
2022-11-11 11:08:40 +08:00
Shengliang Guan 4d0c5c9d57 refact: adjust head file and sync log 2022-11-11 11:06:39 +08:00
Liu Jicong df4fd528c0 fix(stream): tbname max len to 192 2022-11-11 10:09:46 +08:00
Shengliang Guan 41c76d662f Merge branch '3.0' into fix/TD-20052 2022-11-11 09:39:00 +08:00
dapan1121 0eb89b1bd7
Merge pull request #18022 from taosdata/fix/TS-2038
fix(operator):Operator double free
2022-11-11 09:38:44 +08:00
Minghao Li 1c2892988f refactor(sync): modify CMakeLists.txt in test 2022-11-11 09:30:08 +08:00
Minghao Li a623ec31df refactor(sync): modify CMakeLists.txt in test 2022-11-11 09:25:38 +08:00
Minghao Li 03ca300520 refactor(sync): modify test, syncRespMgrTest.cpp 2022-11-11 09:20:05 +08:00
Shengliang Guan 8f1c969377
Merge pull request #18027 from taosdata/enh/3.0_planner_optimize
enh: show table tags command extension
2022-11-11 09:09:06 +08:00
Shengliang Guan 58f04f955f
Merge pull request #18034 from taosdata/enh/addRpcConfig
enh: add rpc retry config
2022-11-11 09:08:40 +08:00
yihaoDeng 27ebbdadf2 add rpc retry config 2022-11-10 19:44:45 +08:00
yihaoDeng 1c519bcae0 redefine timer 2022-11-10 18:43:57 +08:00
Xiaoyu Wang 375657b2c8 enh: show table tags command extension 2022-11-10 18:24:20 +08:00
Xiaoyu Wang 38f20ec32d enh: show table tags command extension 2022-11-10 17:22:13 +08:00
yihaoDeng 5c5d70e0fc enh log 2022-11-10 17:05:53 +08:00
Shengliang Guan 8a051c001d refact: adjust sync debug codes 2022-11-10 17:05:13 +08:00
Liu Jicong 64f22d560c refactor(stream): drop stream task 2022-11-10 16:36:49 +08:00
54liuyao 1ca9839170 fix(operator):Operator double free 2022-11-10 15:47:07 +08:00
Liu Jicong 4afa56eb38 merge 3.0 2022-11-10 15:38:30 +08:00
Liu Jicong cebc6b6697 fix(stream): state and session agg partition tbname 2022-11-10 14:43:37 +08:00
Shengliang Guan 16418afb74
Merge pull request #18017 from taosdata/fix/3.0_bugfix_wxy
fix: case when type error
2022-11-10 14:39:12 +08:00
dapan1121 7dea2e99d3
Merge pull request #17973 from taosdata/fix/TD-20273
fix: free unfinished ahandle when cli quit
2022-11-10 13:52:32 +08:00
Shengliang Guan 79a8ebb304
Merge pull request #18016 from taosdata/fix/TD-20052
refact: remove assert and adjust log
2022-11-10 13:35:41 +08:00
Xiaoyu Wang 6f7d43c371 fix: case when type error 2022-11-10 13:33:55 +08:00
Shengliang Guan fba45da225 refact: remove assert and adjust log 2022-11-10 12:43:23 +08:00
Shengliang Guan f7d263862b refact: remove assert and adjust log 2022-11-10 11:26:52 +08:00
Shengliang Guan 5fb254739c
Merge pull request #18013 from taosdata/feature/stream
fix(stream): partition tbname reset to null
2022-11-10 11:22:06 +08:00
Liu Jicong d56dc950e4 fix(stream): partition tbname reset to null 2022-11-10 10:02:45 +08:00
dapan1121 56c5eb29b9
Merge pull request #18005 from taosdata/enh/TD-20288
enh: support vgroup epset update
2022-11-10 09:41:25 +08:00
Shengliang Guan 69ea49c4c0 Merge branch '3.0' into fix/TD-20052 2022-11-10 09:06:45 +08:00
Shengliang Guan b067079d7a
Merge pull request #18007 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-11-10 08:12:36 +08:00
Haojun Liao a2cec238ec fix(query): set correct operator type. 2022-11-09 22:16:56 +08:00
Shengliang Guan 2103df2907
Merge pull request #18006 from taosdata/feature/3.0_mhli
refactor(sync): if index less than wal.commitVer, do not truncate, otherwise it will print much log
2022-11-09 21:44:18 +08:00
Haojun Liao 015f1a1df8 other: merge 3.0 2022-11-09 19:17:45 +08:00
Shengliang Guan efbe9ecbdc
Merge pull request #17999 from taosdata/fix/TD-20052
refact: move sync test code to single lib and reduce the number of memory copies
2022-11-09 19:14:33 +08:00
Haojun Liao 2402fd1d48 refactor: do some internal refactor. 2022-11-09 19:14:27 +08:00
Shengliang Guan 4646640a11
Merge pull request #18001 from taosdata/fix/sync
fix(sync): fix AddressSanitizer error
2022-11-09 19:13:48 +08:00
Minghao Li fb9e62afe2 refactor(sync): if index less than wal.commitVer, do not truncate, otherwise it will print much log 2022-11-09 19:02:50 +08:00
Shengliang Guan 98b77fe8b4 refact: adjust head file 2022-11-09 19:02:47 +08:00
dapan1121 b607f4736d
Merge pull request #17996 from taosdata/fix/TD-20277
fix: fix valgrind invalid read error
2022-11-09 19:01:17 +08:00
dapan1121 2f807a85d0 Merge remote-tracking branch 'origin/3.0' into enh/TD-20288 2022-11-09 18:52:00 +08:00
Shengliang Guan 9584c07efc
Merge pull request #18000 from taosdata/fix/3.0_bugfix_wxy
fix: some problems of parser
2022-11-09 18:49:57 +08:00
dapan1121 9f7e06721c enh: support vgroup epset update 2022-11-09 18:48:52 +08:00
Shengliang Guan be9a32fcfd
Merge pull request #17998 from taosdata/fix/liao_cov
fix(query): fix syntax errors.
2022-11-09 18:13:43 +08:00
Shengliang Guan fdad108726 Merge branch '3.0' into fix/TD-20052 2022-11-09 18:02:46 +08:00
Shengliang Guan 35bacc2f96
Merge pull request #17995 from taosdata/feature/3.0_mhli
refactor(sync): add FpApplyQueueItems in fsm
2022-11-09 17:40:28 +08:00
Xiaoyu Wang 6298f92d56 fix: some problems of parser 2022-11-09 17:39:28 +08:00
Minghao Li 153c01ee73 fix(sync): fix AddressSanitizer error 2022-11-09 17:38:46 +08:00
Shengliang Guan f2fd847414 refact: move sync test code to single lib 2022-11-09 17:35:22 +08:00
Minghao Li fcc50467f4 fix(sync): fix AddressSanitizer error 2022-11-09 17:33:22 +08:00
Shengliang Guan 340bad7e99 Merge branch '3.0' into fix/TD-20052 2022-11-09 17:29:24 +08:00
Haojun Liao ffa34888df Merge branch '3.0' into fix/liao_cov 2022-11-09 17:14:32 +08:00
Haojun Liao 464f108e48 fix(query): fix syntax errors. 2022-11-09 17:14:01 +08:00
Haojun Liao 3f62f14cee refactor: do some internal refactor. 2022-11-09 16:54:33 +08:00
Minghao Li 2391391621 refactor(sync): save error code in syncPrintNodeLog 2022-11-09 16:44:05 +08:00
Ganlin Zhao e0f2a4b5fe Merge branch '3.0' into fix/TD-20277 2022-11-09 16:42:22 +08:00
Ganlin Zhao 652c6388f2 fix: fix valgrind invalid read error 2022-11-09 16:40:17 +08:00
Minghao Li 18363f52e5 refactor(sync): add FpApplyQueueItems in fsm 2022-11-09 16:35:26 +08:00
Minghao Li d672e7a05c refactor(sync): add FpApplyQueueItems in fsm 2022-11-09 16:18:28 +08:00
Haojun Liao fa45cd2ce8 enh(query): unfold the loop. 2022-11-09 15:50:31 +08:00
Haojun Liao 2ee0cf6701 fix(query): fix the string copy error. 2022-11-09 15:19:27 +08:00
dapan1121 ba34b7477f
Merge pull request #17986 from taosdata/feature/TD-20283
fix(operator):partition operator memory leak
2022-11-09 15:03:23 +08:00