Commit Graph

11049 Commits

Author SHA1 Message Date
Shengliang Guan 12f7022789 Merge remote-tracking branch 'origin/3.0' into fix/TD-20439 2022-11-16 14:31:32 +08:00
Shengliang Guan 1114bdefb4 fix: invalid log print 2022-11-16 14:31:17 +08:00
Minghao Li 4c912aa955 fix(sync): fix hb-timer memory leak 2022-11-16 14:28:20 +08:00
Minghao Li 81592dfb09 fix(sync): fix hb-timer memory leak 2022-11-16 14:25:21 +08:00
Minghao Li 7bcd13e82a fix(sync): fix elect timer memory leak 2022-11-16 14:05:34 +08:00
Xiaoyu Wang 78378845cc fix: memory leak 2022-11-16 13:57:24 +08:00
slzhou 8f6ba995a5 fix: get group id from the group list when last row scan 2022-11-16 13:27:53 +08:00
Shengliang Guan b62a85dfdc
Merge pull request #18192 from taosdata/feature/stream
fix(stream): timer refer stream task
2022-11-16 12:40:50 +08:00
Shengliang Guan 9099f5cd10
Merge pull request #18190 from taosdata/fix/TD-20437
fix(sync): fix asan error, TD-20437
2022-11-16 12:31:38 +08:00
Liu Jicong 015c00aaca fix(stream): timer refer stream task 2022-11-16 11:16:32 +08:00
Shengliang Guan 3ada61c346 restore some invalid code modify 2022-11-16 11:13:53 +08:00
Minghao Li 023f61ccf5 fix(sync): fix asan error, TD-20437 2022-11-16 10:54:06 +08:00
Minghao Li 475919dd77 refactor(sync): add rtt trace log 2022-11-16 10:10:02 +08:00
Shengliang Guan 4b4f8eac86
Merge pull request #18184 from taosdata/fix/TD-20403
fix(query): fix signed integer overflow in builtinsimpl.c
2022-11-16 09:42:44 +08:00
Shengliang Guan 555bf7d4cb
Merge pull request #18181 from taosdata/feature/stream
fix(stream): check task
2022-11-16 08:11:30 +08:00
Liu Jicong 6478fcb2c1 fix(stream): check task 2022-11-15 22:32:52 +08:00
Shengliang Guan aab1ec632c fix: heap-use-after-free in syncNodeEqPingTimer 2022-11-15 22:29:59 +08:00
Shengliang Guan 6c0bbe684b fix: heap-use-after-free in syncNodeEqPingTimer 2022-11-15 22:28:03 +08:00
Shengliang Guan ede50530f3
Merge pull request #18178 from taosdata/feature/wal
fix(wal): set commit ver and snapshot ver after restore
2022-11-15 21:26:03 +08:00
Shengliang Guan 1b9cf9fade
Merge pull request #18176 from taosdata/feature/3.0_mhli
refactor(sync): optimize, make LRU Cache hit more
2022-11-15 20:31:07 +08:00
Shengliang Guan 7d443b1679
Merge pull request #18174 from taosdata/feature/stream
refactor: stream meta ref count
2022-11-15 20:07:42 +08:00
Liu Jicong 20e31aacca fix(wal): set commit ver and snapshot ver after restore 2022-11-15 19:48:16 +08:00
Shengliang Guan 53167df712
Merge pull request #18175 from taosdata/fix/TD-20444
fix stack-buffer-overflow in timewindowoperator.c
2022-11-15 19:47:35 +08:00
Shengliang Guan cddeee9959
Merge pull request #18171 from taosdata/fix/3.0_bugfix_wxy
fix: asan error
2022-11-15 19:37:21 +08:00
Minghao Li 7d63efd2af refactor(sync): optimize, make LRU Cache hit more 2022-11-15 19:24:43 +08:00
Minghao Li c5aa7e072d refactor(sync): optimize, make LRU Cache hit more 2022-11-15 19:17:28 +08:00
Liu Jicong a9bf05bc01 refactor: stream meta ref count 2022-11-15 19:11:42 +08:00
Ganlin Zhao bf7ad8e85e fix(query): fix signed integer overflow in builtinsimpl.c
TD-20403
2022-11-15 18:51:55 +08:00
54liuyao d696745e00 fix stack-buffer-overflow in timewindowoperator.c 2022-11-15 18:42:10 +08:00
Xiaoyu Wang 1963761cc2 fix: asan error 2022-11-15 17:27:22 +08:00
dapan1121 49a3623f1a
Merge pull request #18112 from taosdata/fix/TD-19892
fix(query): report error if certain function query stable has duplicate timestamps
2022-11-15 17:24:08 +08:00
Shengliang Guan be6ff9a46e
Merge pull request #18154 from taosdata/fix/TD-20417-D
fix: null pointer check when invoke memcpy
2022-11-15 15:02:44 +08:00
Shengliang Guan 3f038205b4
Merge pull request #18156 from taosdata/fix/TD-20427
fix: memory leak of sync timer
2022-11-15 14:48:43 +08:00
dapan1121 957b1fb6bb
Merge pull request #18151 from taosdata/fix/TD-20412
fix: fix asan issues
2022-11-15 14:33:14 +08:00
Cary Xu 6c1361ef80 fix: null pointer check when invoke memcpy 2022-11-15 13:59:00 +08:00
Shengliang Guan a57efc49b4 fix: memory leak of sync timer 2022-11-15 13:43:30 +08:00
Shengliang Guan ea0b090c33
Merge pull request #18147 from taosdata/feature/stream
fix: memory leak
2022-11-15 13:01:02 +08:00
dapan1121 21e62f1279 Merge remote-tracking branch 'origin/3.0' into fix/TD-20412 2022-11-15 12:53:22 +08:00
Liu Jicong efde22f081 fix: memory leak 2022-11-15 11:59:29 +08:00
dapan1121 d985cb714f fix: fix asan issues 2022-11-15 11:38:01 +08:00
Xiaoyu Wang cd3722837d Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-11-15 09:44:13 +08:00
Xiaoyu Wang 14b4adc6ce fix: memory leak 2022-11-15 09:39:17 +08:00
Shengliang Guan 1312b9c785
Merge pull request #18125 from taosdata/fix/liao_cov
fix(query): fix errors found by asan.
2022-11-14 20:55:25 +08:00
Shengliang Guan 9e18a86ad2
Merge pull request #18134 from taosdata/feature/stream
enh(stream): add stream task info into information schema
2022-11-14 20:55:00 +08:00
Shengliang Guan 2a0399cf04
Merge pull request #18133 from taosdata/fix/TD-20379-3.0
fix(query): fill operator memory leak fixed
2022-11-14 20:54:31 +08:00
Shengliang Guan a4e6d84124
Merge pull request #18128 from taosdata/fix/sync-error-log
fix(sync): do not use sNError in timer function
2022-11-14 20:53:07 +08:00
Minghao Li d31d05fe16 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-11-14 19:40:38 +08:00
Liu Jicong 7c8b2867ce enh(stream): add stream task info into information schema 2022-11-14 19:23:42 +08:00
Haojun Liao fc83468156
Merge branch '3.0' into fix/liao_cov 2022-11-14 19:02:30 +08:00
Alex Duan b2f9eeb5bb fix(query): fill operator memory leak fixed 2022-11-14 18:49:11 +08:00
Minghao Li d381b4da93 fix(sync): fix memory leak 2022-11-14 18:17:14 +08:00
Shengliang Guan 9f38bfa10b
Merge pull request #18123 from taosdata/fix/3.0_bugfix_wxy
fix: some problems of parser
2022-11-14 18:03:08 +08:00
Shengliang Guan b67e27bb51
Merge pull request #18119 from taosdata/fix/TD-20372
fix(sync): fix AddressSanitizer error: TD-20372
2022-11-14 17:57:01 +08:00
dapan1121 3fae636070
Merge pull request #18109 from taosdata/fix/TS-2063
fix: extend show create table result width
2022-11-14 17:34:51 +08:00
Minghao Li 76628a52e6 fix(sync): do not use SNError 2022-11-14 17:33:48 +08:00
Minghao Li ac8eeb87af refactor(sync): modify error log 2022-11-14 17:19:20 +08:00
Haojun Liao cf56c38e7a fix(query): fix errors found by asan. 2022-11-14 17:10:25 +08:00
Xiaoyu Wang 901c9b8f77 fix: some problems of parser 2022-11-14 16:53:01 +08:00
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
Shengliang Guan 15e7e345dc refact: move sync test code to single lib 2022-11-09 14:45:07 +08:00
Haojun Liao 411371ba48 refactor: do some internal refactor. 2022-11-09 14:16:21 +08:00
Haojun Liao dc67c5041a refactor: do some internal refactor. 2022-11-09 13:46:19 +08:00
Haojun Liao b48752686e refactor: do some internal refactor. 2022-11-09 13:45:46 +08:00
Shengliang Guan 0656cd8fe4
Merge pull request #17984 from taosdata/feature/3.0_mhli
refactor(sync): delete assert, call FpCommitCb when multi replica
2022-11-09 13:27:10 +08:00
54liuyao da13891ca4 fix(stream):partition operator memory leak 2022-11-09 12:52:17 +08:00
Shengliang Guan 0d4239af46
Merge pull request #17976 from taosdata/feature/3_liaohj
enh(query): optimize the query perf.
2022-11-09 11:41:17 +08:00
Minghao Li 372d26f74b refactor(sync): delete assert, call FpCommitCb when multi replica 2022-11-09 11:24:11 +08:00
dapan1121 7af6a0feaa
Merge pull request #17963 from taosdata/feature/stream_ly
fix(stream): state window, error result after deleting data
2022-11-09 11:18:25 +08:00
Haojun Liao 459bed5f86 enh(query): improve the query perf. 2022-11-09 10:41:53 +08:00
Haojun Liao 0c427b5f5b refactor: do some internal refactor. 2022-11-09 10:39:32 +08:00
Haojun Liao e3aabacf9a fix(query): fix error in min/max functions. 2022-11-09 09:47:21 +08:00
Haojun Liao 68f2f92116 fix(query): fix the syntax errors. 2022-11-09 09:07:21 +08:00
Haojun Liao d238f387ce other: merge 3.0 2022-11-09 00:00:14 +08:00
Shengliang Guan ebc17283de
Merge pull request #17974 from taosdata/fix/TD-20052
refact: adjust sync resp mgr
2022-11-08 23:56:25 +08:00
Shengliang Guan bf1aca1b9e fix: send response on enqueue msg failed 2022-11-08 23:00:14 +08:00
Shengliang Guan 1c8a2d696d fix: send response on enqueue msg failed 2022-11-08 22:59:05 +08:00
Shengliang Guan a4e96ca833 refact: adjust sync resp mgr 2022-11-08 22:43:12 +08:00
yihaoDeng 1ed333140b fix invalid free 2022-11-08 22:09:58 +08:00
yihaoDeng 7b30a6ee23 free unfinished ahandle while quit 2022-11-08 20:45:11 +08:00
dapan1121 fc85fc4048
Merge pull request #17971 from taosdata/fix/TS-2015
fix: TS-2015
2022-11-08 19:20:42 +08:00
Haojun Liao dc2c419f22 enh(query): optimize the query perf. 2022-11-08 19:01:35 +08:00
yihaoDeng 495bfe932a fix invalid free 2022-11-08 18:56:44 +08:00
Ganlin Zhao b902ab0d61 refactor code 2022-11-08 18:48:22 +08:00
Haojun Liao ecf3e2c000 enh(query): optimize the perf. 2022-11-08 18:44:28 +08:00
Shengliang Guan 855bcc72fc
Merge pull request #17969 from taosdata/fix/3.0_bugfix_wxy
fix: set operator subplan type error
2022-11-08 18:36:12 +08:00
Ganlin Zhao f19f620136 interp fill linear do not output NULL value 2022-11-08 18:25:38 +08:00
yihaoDeng 3c6246f85f TS-2015 2022-11-08 18:18:33 +08:00
dapan1121 884144ba23
Merge pull request #17960 from taosdata/fix/TD-20267
fix: filter merge issue
2022-11-08 17:52:31 +08:00
Haojun Liao 6e1a2b1e54 enh(query): improve the perf. 2022-11-08 17:38:09 +08:00
Xiaoyu Wang 1c9b0b38d8 fix: set operator subplan type error 2022-11-08 17:35:38 +08:00
Haojun Liao f85d66f5ee enh(query): opt query perf. 2022-11-08 16:59:00 +08:00
Shengliang Guan 920fc400a0
Merge pull request #17964 from taosdata/fix/TD-20264
fix: add log for use db rsp
2022-11-08 16:07:55 +08:00
dapan1121 398ccbcc9d
Merge pull request #17957 from taosdata/fix/compareIssue
fix: fix compare invalid read issues
2022-11-08 15:07:22 +08:00
Haojun Liao b0a54d3fab enh(query): improve the perf. 2022-11-08 14:54:42 +08:00
Ganlin Zhao 6aca4b8a5c enh: interp fill linear ignore null values during calculation 2022-11-08 14:51:32 +08:00
Ganlin Zhao a7d21c9ee7 enh: interp fill linear ignore null values during calculation 2022-11-08 14:50:03 +08:00
Shengliang Guan c016266989
Merge pull request #17951 from taosdata/fix/3.0_bugfix_wxy
fix: state_window error
2022-11-08 14:48:24 +08:00
54liuyao f66eded1e1 fix(stream): state window, error result after deleting data 2022-11-08 14:40:44 +08:00
dapan1121 d09351da68 fix: filter merge issue 2022-11-08 14:22:00 +08:00
Haojun Liao 032208e36a enh(query): optimize the query perf. 2022-11-08 14:01:29 +08:00
Shengliang Guan 7a5be43d14
Merge pull request #17954 from taosdata/feature/stream
fix(stream): delete tb should be checked in write thread
2022-11-08 13:50:15 +08:00
Shengliang Guan fb7d45303b fix: add log for use db rsp 2022-11-08 13:46:18 +08:00
dapan1121 fc73d39add fix: fix compare invalid read issues 2022-11-08 13:27:17 +08:00
Shengliang Guan 75d7ae5a9d
Merge pull request #17953 from taosdata/enh/TD-20263
enh: optimize the error code when create and drop a db in dropping status
2022-11-08 13:24:48 +08:00
Haojun Liao 2621dec4ae enh(query): improve the perf. 2022-11-08 12:02:44 +08:00
Xiaoyu Wang 8f7c0b8c60 fix: state_window error 2022-11-08 11:35:12 +08:00
Liu Jicong bc469f7f7b fix(stream): delete tb should be checked in write thread 2022-11-08 11:30:29 +08:00
Shengliang Guan 36450e6dd7 enh: optimize the error code when create and delete a database in a dropping state 2022-11-08 11:08:14 +08:00
Xiaoyu Wang 2d6c4ebda8 fix: state_window error 2022-11-08 10:18:27 +08:00
Shengliang Guan 1f91eef038
Merge pull request #17932 from taosdata/fix/tdb-prep-async-commit
enh(tdb): new interface of meta prep async commit
2022-11-08 09:43:36 +08:00
dapan1121 b5ab7eaf5e
Merge pull request #17891 from taosdata/fix/TD-19906
fix(query): add mode with selectivity rows
2022-11-08 09:36:21 +08:00
Haojun Liao 9863879951 refactor: do some internal refactor. 2022-11-08 09:21:43 +08:00
Shengliang Guan 91e2a6b9e6
Merge pull request #17936 from taosdata/feature/3_liaohj
refactor: refactor to avoid spin operator in exchange operator.
2022-11-08 09:01:10 +08:00
Shengliang Guan 4a0468aa45
Merge pull request #17945 from taosdata/enh/TD-20043
reafct: adjust sync propose
2022-11-08 08:44:30 +08:00
Haojun Liao 1da67a569d fix(query): set correct status. 2022-11-08 00:23:40 +08:00
Shengliang Guan e21c20e229
Merge pull request #17941 from taosdata/fix/bench
fix: avoid cpu load imbalance
2022-11-07 23:34:55 +08:00
Shengliang Guan 29f8878519 refactor: adjust sync hb 2022-11-07 23:32:04 +08:00
Shengliang Guan 05d0a0fe30 Merge branch 'enh/TD-20043' of https://github.com/taosdata/TDengine into enh/TD-20043 2022-11-07 23:31:09 +08:00
Shengliang Guan 9914657cb0 refactor: adjust sync hb 2022-11-07 23:31:01 +08:00
Shengliang Guan 70d60a764f Merge branch '3.0' into enh/TD-20043 2022-11-07 23:29:53 +08:00
Shengliang Guan 8c97a5c1f2
Merge pull request #17940 from taosdata/feature/3.0_mhli
refactor(sync): delete assert, add error log
2022-11-07 23:26:24 +08:00
Shengliang Guan 848fd58402 enh: adjust sync propose 2022-11-07 21:12:43 +08:00
Minglei Jin 1a4cf6964b fix: add post commit to tq & stream 2022-11-07 20:34:23 +08:00
Shengliang Guan 4ddd25a29c enh: adjust sync propose 2022-11-07 20:31:26 +08:00
Shengliang Guan 46e55ba9fb refact: remove config change codes 2022-11-07 20:19:55 +08:00
yihaoDeng a8bb8373f4 avoid rpc send-recv cpu imbalance 2022-11-07 20:08:14 +08:00
Minghao Li d05f9412eb refactor(sync): delete assert, add error log 2022-11-07 19:40:49 +08:00
Shengliang Guan e060de7059 refact: remove config change codes 2022-11-07 19:34:48 +08:00
Haojun Liao b16853983e fix(query): count the correct number of completed sources. 2022-11-07 19:27:35 +08:00
Shengliang Guan 1ddbeb43bb refact: adjust sync log 2022-11-07 19:19:10 +08:00
Shengliang Guan bc072aa654 Merge branch '3.0' into enh/TD-20043 2022-11-07 18:45:44 +08:00
Shengliang Guan 4baafd3417 refact: adjust sync log 2022-11-07 18:44:29 +08:00
Shengliang Guan 854d840915
Merge pull request #17920 from taosdata/enh/3.0_planner_optimize
enh: insert optimize
2022-11-07 18:38:43 +08:00
Shengliang Guan b0f469adb1
Merge pull request #17931 from taosdata/feature/3.0_mhli
fix(sync): when apply queue not empty, can not read
2022-11-07 18:29:53 +08:00
Haojun Liao d016fc9d47 fix(query): set retrieve completed flag for exchange operator. 2022-11-07 18:27:26 +08:00
yihaoDeng 962ed38676 stmt reqid incr one 2022-11-07 18:15:09 +08:00
Haojun Liao 9932fa6bf0 refactor: refactor to avoid spin operator in exchange operator. 2022-11-07 17:48:27 +08:00
dapan1121 3e3354782c
Merge pull request #17930 from taosdata/enh/showWrite
enh: support grant check in vnode query
2022-11-07 17:42:15 +08:00
gccgdb1234 1102a88ad0 bench 2022-11-07 17:35:45 +08:00
Shengliang Guan a1c8db0f88 refact: adjust sync log 2022-11-07 17:35:24 +08:00
Minglei Jin c17f8244be enh(tdb): new interface of meta prep async commit 2022-11-07 16:45:29 +08:00
Minghao Li b6aea6ae17 fix(sync): when apply queue not empty, can not read 2022-11-07 16:40:53 +08:00
dapan1121 5ab6166efe enh: support grant check in vnode query 2022-11-07 16:23:40 +08:00
Haojun Liao 0e11d344cc fix(query): increase the buffer size to 128Kb. 2022-11-07 16:04:13 +08:00
Haojun Liao 088a61bee5 fix(query): release the handle 2022-11-07 16:02:53 +08:00
yihaoDeng 90fc572394 avoid epset leak 2022-11-07 15:32:48 +08:00
Haojun Liao c86427c771 fix(query): enable update buf. 2022-11-07 15:27:09 +08:00
Xiaoyu Wang 00c0a5634e Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-07 14:56:35 +08:00
Haojun Liao fea40da5dc other: merge 3.0 2022-11-07 14:31:01 +08:00
Haojun Liao 2a49fed4ad fix(query): remove invalid free. 2022-11-07 14:02:23 +08:00
Haojun Liao 558cf28ae7 other: add log. 2022-11-07 13:26:10 +08:00