Commit Graph

4212 Commits

Author SHA1 Message Date
Hongze Cheng 49c78ed5ed Merge branch 'feat/mapdata_to_array' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-23 21:15:35 +08:00
Hongze Cheng c1db8a9e4d refact code 2022-11-23 20:13:27 +08:00
slzhou db7a7fa4bd Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-11-23 15:59:58 +08:00
Hongze Cheng df5bcae11b more code 2022-11-23 15:45:19 +08:00
slzhou 9a85050ff3 fix: direct return file block only rows <= capacity 2022-11-23 15:43:57 +08:00
Hongze Cheng d7c30d6e4a Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/row_optimize2 2022-11-23 15:04:51 +08:00
slzhou c1ba62b26f fix: build from buf first when buf data is in block gap and only capacity caused load 2022-11-23 14:52:07 +08:00
dapan1121 188e6e6c7d
Merge pull request #18325 from taosdata/enh/msgRefactor2
enh: refact some messages
2022-11-23 13:53:37 +08:00
Liu Jicong 3b84053893 fix(stream): memory leak 2022-11-23 12:32:02 +08:00
Hongze Cheng 6e23c8cdb3 more code 2022-11-23 10:45:58 +08:00
Hongze Cheng 2313ebc648 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/row_optimize 2022-11-23 09:36:31 +08:00
Shengliang Guan f06145d37b
Merge pull request #18368 from taosdata/feature/stream
fix(stream): memory leak
2022-11-23 09:18:05 +08:00
slzhou 0161374a8b Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-11-22 22:59:06 +08:00
slzhou 272a161a61 fix: build data from mem/imem first when large nchar column incur fileBlockShouldLoad since SDataBlockToLoadInfo.moreThanCapacity 2022-11-22 22:06:39 +08:00
Liu Jicong d4c7394143 fix(stream): memory leak 2022-11-22 22:03:08 +08:00
Shengliang Guan d588cd37f8
Merge pull request #18357 from taosdata/fix/liao_cov
fix(query): fix memory leak.
2022-11-22 20:49:33 +08:00
Haojun Liao 7c7b2f1cef fix(query): fix memory leak. 2022-11-22 18:06:01 +08:00
kailixu da535cd04c fix: init/free SBatchDeleteReq for tsma 2022-11-22 15:38:21 +08:00
kailixu d1249017dd fix: init/free SBatchDeleteReq for tsma 2022-11-22 15:35:53 +08:00
kailixu bcac60ae35 fix: init/free SBatchDeleteReq for tsma 2022-11-22 15:32:51 +08:00
Haojun Liao b70a616a2d refactor: do some internal refactor. 2022-11-22 15:27:33 +08:00
Haojun Liao 4d206fd3b2 refactor: do some internal refactor. 2022-11-22 14:59:17 +08:00
Haojun Liao 93ad9e9d3d refactor: do some internal refactor. 2022-11-22 14:29:30 +08:00
Hongze Cheng cede9e14da Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/row_optimize 2022-11-22 13:54:40 +08:00
dapan1121 44462ef869
Merge pull request #18321 from taosdata/szhou/fixbugs
fix: fix error for select count(c2),count(ts) from table caused by null ts column aggregation
2022-11-22 13:17:11 +08:00
Haojun Liao 0af77e6ae2 refactor: do some internal refactor. 2022-11-22 12:43:00 +08:00
Shengliang Guan 4f89b690df
Merge pull request #18318 from taosdata/fix/liao_cov
fix(query): fix some memory leaks.
2022-11-22 12:41:34 +08:00
Hongze Cheng 390709e3c8 add interface 2022-11-22 12:37:47 +08:00
Shengliang Guan c2bebf3f16
Merge pull request #18326 from taosdata/fix/TD-20606
fix: free the batch create table reqs' decoded comment field
2022-11-22 12:17:33 +08:00
Hongze Cheng 40470531e7 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/row_optimize 2022-11-22 11:59:47 +08:00
Haojun Liao fbb0a1e921 fix(query): set correct tsdbreader during the creation of tableblockscan info 2022-11-22 11:08:55 +08:00
Minglei Jin b9f7d181b6 fix: free the batch create table reqs' decoded comment field 2022-11-22 10:47:50 +08:00
dapan1121 19852ba85b Merge remote-tracking branch 'origin/3.0' into enh/msgRefactor2 2022-11-22 10:45:11 +08:00
Hongze Cheng 7976d88402 add interface 2022-11-22 10:10:23 +08:00
Haojun Liao 56edf57c12 refactor: do some internal refactor. 2022-11-22 09:52:53 +08:00
slzhou bb51d3cac7 fix: fix error for select count(c2),count(ts) from table caused by invalid ts column aggregation 2022-11-21 23:11:00 +08:00
Haojun Liao 8fee089aaf refactor: do some internal refactor. 2022-11-21 22:48:25 +08:00
Haojun Liao 6d5a256774 fix(query): fix some memory leaks. 2022-11-21 22:40:20 +08:00
Liu Jicong 9358429e78 Merge branch '3.0' into feature/stream 2022-11-21 20:54:21 +08:00
dapan1121 c66390d401 enh: refact tmq pull message 2022-11-21 20:38:42 +08:00
Minghao Li e7e17302a4 enh(sync): use TSDB_CODE_SYN_NOT_LEADER instead of TSDB_CODE_RPC_REDIRECT 2022-11-21 15:35:36 +08:00
Liu Jicong 5d471a0ceb enh(taosx): split block when none column not match 2022-11-21 15:32:27 +08:00
Benguang Zhao b90ee79623 fix: use syncLogBufferCommit in syncNodeOnLocalCmd 2022-11-21 13:51:01 +08:00
Hongze Cheng 593f694fdc Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/row_optimize 2022-11-21 09:27:25 +08:00
Hongze Cheng 23f7b67b8a fix: binary NONE + NULL commit coredump 2022-11-20 15:51:40 +08:00
Hongze Cheng a0dc7859ec Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/row_optimize 2022-11-20 10:12:38 +08:00
Shengliang Guan bfa3d1fa27
Merge pull request #18272 from taosdata/fix/TS-2120
fix(meta): new error for creating sub tb already exist in other stables
2022-11-19 09:37:05 +08:00
Minglei Jin cdaafb7b89 fix(meta): new error for creating sub tb already exist in other stables 2022-11-19 08:19:03 +08:00
Shengliang Guan a12cf7f91d
Merge pull request #18266 from taosdata/feature/stream
enh(stream): put user defined tb name into stream state
2022-11-18 19:56:56 +08:00
Haojun Liao d3452f6630 fix(query): fix error. 2022-11-18 17:38:31 +08:00
Haojun Liao 066735964d other: merge with original branch. 2022-11-18 17:35:24 +08:00
Liu Jicong 9a603e5663 enh(stream): put user defined tb name into stream state 2022-11-18 17:21:50 +08:00
Minglei Jin 35b9dc6b6c meta: use meta cache to get uid's version instead of fetching from tdb 2022-11-18 17:07:19 +08:00
Haojun Liao 0d10294b2e Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-11-18 14:54:36 +08:00
dapan1121 1167c86b34
Merge pull request #18230 from taosdata/fix/TD-19618-D
fix: real path optimization in case of invalid read
2022-11-18 14:54:28 +08:00
Haojun Liao 71de2f056b fix(query): fix invalid write/read. 2022-11-18 14:53:39 +08:00
Minglei Jin 3ca38c41a7 meta: use meta cache to get uid's version instead of fetching from tdb 2022-11-18 14:44:14 +08:00
Hongze Cheng 93089916e4 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/row_optimize 2022-11-18 13:25:57 +08:00
Benguang Zhao 363cbc8985 fix: update cbMeta rsp handle info in syncLogFsmExecute 2022-11-18 09:37:58 +08:00
Benguang Zhao da469149db enh: debug to info 2022-11-17 20:28:18 +08:00
Benguang Zhao 051b73c1ed Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-17 17:28:11 +08:00
dapan1121 448fee1744 fix: fix asan issues 2022-11-17 16:31:22 +08:00
dapan1121 fb861a3935 enh: refactor tmq messages 2022-11-17 14:09:15 +08:00
kailixu 6515c9c7c5 fix: real path optimization in case of invalid read 2022-11-17 10:56:24 +08:00
dapan1121 3a642f06d0 Merge remote-tracking branch 'origin/3.0' into enh/msgRefactor0 2022-11-17 10:42:29 +08:00
dapan1121 49917d5156 enh: refactor batch meta msg 2022-11-17 10:35:25 +08:00
Haojun Liao a464053692 fix(query): set correct size of array list. 2022-11-17 00:46:06 +08:00
Haojun Liao 9c459a24e2 fix(query): fix memory leak. 2022-11-17 00:38:35 +08:00
Haojun Liao a54275a7b5 fix(query): support null columns sma optimization. 2022-11-16 23:46:59 +08:00
Benguang Zhao 6062632722 enh: turn commit-cb logging msg to debug level in vnodeSyncCommitMsg 2022-11-16 19:53:22 +08:00
Hongze Cheng a5725b506c more code 2022-11-16 17:22:09 +08:00
Hongze Cheng 56db6e6630 fix: omit sma for all NONE/NULL column 2022-11-16 15:47:40 +08:00
Haojun Liao a36c24eb1c fix(query): remove invalid free. 2022-11-16 15:47:24 +08:00
Haojun Liao 47a7664e2c refactor: add some logs. 2022-11-16 14:52:38 +08:00
Haojun Liao 7d00b7a6c4 refactor: add tag filter cache. 2022-11-16 14:23:12 +08:00
Hongze Cheng aaef32ca69 refact code for further code change 2022-11-16 10:27:05 +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 7d443b1679
Merge pull request #18174 from taosdata/feature/stream
refactor: stream meta ref count
2022-11-15 20:07:42 +08:00
Liu Jicong a9bf05bc01 refactor: stream meta ref count 2022-11-15 19:11:42 +08:00
Shengliang Guan d07209a4e8
Merge pull request #18165 from taosdata/fix/TD-20443
fix: free value return by tdb
2022-11-15 17:03:23 +08:00
Shengliang Guan 6cc31761dd
Merge pull request #18163 from taosdata/fix/TD-20441
fix: clear meta reader's decoder to free leaked memory
2022-11-15 16:47:42 +08:00
Haojun Liao ba5244d1b6 refactor: add tag filter results cache. 2022-11-15 16:06:29 +08:00
Minglei Jin 5ad1bca624 fix: free value return by tdb 2022-11-15 15:57:50 +08:00
Shengliang Guan c3cc259928
Merge pull request #18157 from taosdata/feature/stream
fix: reset cache when table is dropped
2022-11-15 15:30:26 +08:00
Minglei Jin 276fc51969 fix: clear meta reader's decoder to free leaked memory 2022-11-15 15:28:51 +08:00
Liu Jicong 76cd3122d1 fix: memory leak 2022-11-15 14:28:20 +08:00
Liu Jicong ccd3bb20a7 fix: reset cache when table is dropped 2022-11-15 14:10:46 +08:00
Shengliang Guan ea0b090c33
Merge pull request #18147 from taosdata/feature/stream
fix: memory leak
2022-11-15 13:01:02 +08:00
Liu Jicong efde22f081 fix: memory leak 2022-11-15 11:59:29 +08:00
54liuyao cf021b4330 fix:applying non-zero offset in tqSink.c 2022-11-15 09:11:26 +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
Haojun Liao fc83468156
Merge branch '3.0' into fix/liao_cov 2022-11-14 19:02:30 +08:00
Hongze Cheng 6aefbbf3b2 more optimize 2022-11-14 17:32:09 +08:00
Hongze Cheng 10921cc09a more opt 2022-11-14 17:13:22 +08:00
Haojun Liao cf56c38e7a fix(query): fix errors found by asan. 2022-11-14 17:10:25 +08:00
Hongze Cheng 5b51f97a48 more optimize 2022-11-14 16:52:39 +08:00
dapan1121 d2468c5548 fix: fix asan issues 2022-11-14 14:22:13 +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
Shengliang Guan 93447107e1
Merge pull request #18064 from taosdata/perf/insert_optimize
perf: insert optimize
2022-11-12 09:41:16 +08:00
Cary Xu 33861a9d4c fix: allocate memory for lock 2022-11-11 22:13:21 +08:00
Cary Xu 08aaf97657 chore: code optimization 2022-11-11 19:11:06 +08:00
Cary Xu 0dcbe92006 fix: adjust the the varData offset of tp row 2022-11-11 19:04:54 +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 89c13efba8 fix: fix query thread quit issue 2022-11-11 17:13:55 +08:00
Cary Xu 97e83a905b fix: iter next column for kv row 2022-11-11 17:07:16 +08:00
Shengliang Guan 672384eca1
Merge pull request #18056 from taosdata/feature/stream
refactor(tmq): add more strict drop condition check
2022-11-11 16:06:31 +08:00
Hongze Cheng 6076bb0245 Merge branch '3.0' of https://github.com/taosdata/TDengine into perf/insert_optimize 2022-11-11 16:04:02 +08:00
Cary Xu 41a2b0e8ea chore: append kv row to block data 2022-11-11 16:01:41 +08:00
Hongze Cheng 74223b3467 more optimize 2022-11-11 15:22:13 +08:00
Liu Jicong 2386e0b513 refactor(tmq): add more strict drop condition check 2022-11-11 14:37:31 +08:00
Hongze Cheng 057af11ae8 format more 2022-11-11 13:57:38 +08:00
Cary Xu d9faec5e9f enh: lock buf pool only for rsma vnode 2022-11-11 13:53:16 +08:00
Hongze Cheng 5f97ea3ce1 perf: more optimize 2022-11-11 13:11:48 +08:00
Shengliang Guan 2983f9ba48
Merge pull request #18047 from taosdata/fix/TD-20327
fix: update stb stats cache when creating/dropping child tables
2022-11-11 12:19:45 +08:00
Shengliang Guan 1b54e7fa1f
Merge pull request #18044 from taosdata/perf/insert_optimize
perf: insert optimize
2022-11-11 11:24:00 +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
stephenkgu 4a8196b520 fix: update stb stats cache when creating/dropping child tables 2022-11-11 10:36:27 +08:00
Liu Jicong df4fd528c0 fix(stream): tbname max len to 192 2022-11-11 10:09:46 +08:00
Hongze Cheng f55292dd6d perf: optimize write 2022-11-11 10:00:40 +08:00
Cary Xu 65d9d2cd1e chore: code refactor for tsMaxKey definition 2022-11-10 15:58:16 +08:00
Cary Xu 69c1465142 Merge branch '3.0' into feat/TS-2007 2022-11-10 15:49:15 +08:00
Haojun Liao 9f5cf450de refactor: do some internal refactor. 2022-11-10 15:37:18 +08:00
Shengliang Guan 1a1ce767e2
Merge pull request #18011 from taosdata/fix/TS-2029
fix: skip empty data in delete file
2022-11-10 09:44:29 +08:00
stephenkgu 8d6f129154 fix: skip empty data in delete file 2022-11-10 08:14:21 +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
Shengliang Guan b882e45505
Merge pull request #17988 from taosdata/perf/default_buffer_size
perf: optimize write by changing default buffer size
2022-11-09 21:45:26 +08:00
Cary Xu 14dc1d3f84 Merge branch '3.0' into feat/TS-2007 2022-11-09 19:42:41 +08:00
Haojun Liao 015f1a1df8 other: merge 3.0 2022-11-09 19:17:45 +08:00
Hongze Cheng 0c92bd6e37 make pass ci 2022-11-09 18:58:35 +08:00
Cary Xu 25148268e6 enh: support wider range for future timestamp 2022-11-09 18:10:30 +08:00
Minghao Li d672e7a05c refactor(sync): add FpApplyQueueItems in fsm 2022-11-09 16:18:28 +08:00
Hongze Cheng 86ed5e5674 more optimize 2022-11-09 16:02:04 +08:00
Haojun Liao 411371ba48 refactor: do some internal refactor. 2022-11-09 14:16:21 +08:00
Haojun Liao b48752686e refactor: do some internal refactor. 2022-11-09 13:45:46 +08:00
Haojun Liao 0c427b5f5b refactor: do some internal refactor. 2022-11-09 10:39:32 +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
Haojun Liao 663138ba1e enh(query): optimize the query perf. 2022-11-08 18:33:57 +08:00
dapan1121 d5874419ec
Merge pull request #17935 from taosdata/fix/TD-20246
fix: fix tsdbRead crash caused by reuse after free
2022-11-08 17:48:25 +08:00
Haojun Liao cc3e97da36 fix(query): fix an typo. 2022-11-08 17:41:29 +08:00
Haojun Liao 6e1a2b1e54 enh(query): improve the perf. 2022-11-08 17:38:09 +08:00
Haojun Liao f85d66f5ee enh(query): opt query perf. 2022-11-08 16:59:00 +08:00
Shengliang Guan 8f0ecd46cd
Merge pull request #17961 from taosdata/feature/stream
enh(tmq): offset commit only when needed
2022-11-08 16:08:10 +08:00
Haojun Liao b0a54d3fab enh(query): improve the perf. 2022-11-08 14:54:42 +08:00
Liu Jicong 118e5bf5d3 enh(tmq): offset commit only when needed 2022-11-08 14:46:34 +08:00
Hongze Cheng 7bba9996cf perf: optimize insert 2022-11-08 14:36:18 +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
Liu Jicong bc469f7f7b fix(stream): delete tb should be checked in write thread 2022-11-08 11:30:29 +08:00