Commit Graph

26683 Commits

Author SHA1 Message Date
dapan1121 32a21d766d
Merge pull request #22971 from taosdata/feat/3.0/TD-25522
optimize count()/last() + partition by tbname/tag
2023-09-20 14:01:07 +08:00
slzhou 0c6338dc15 fix: fix address sanitizer error 2023-09-20 13:25:26 +08:00
slzhou 1f1657a160 fix: fix address sanitizer error 2023-09-20 11:50:32 +08:00
slzhou 1c27c2123f enhance: select `tbname` from (select tbname from d.st) 2023-09-20 11:06:59 +08:00
Alex Duan 09d91cc116 fix: windows build error 2023-09-20 09:26:59 +08:00
slzhou ef1e91a6be Merge branch '3.0' of github.com:taosdata/TDengine into szhou/continue-coing 2023-09-20 08:44:15 +08:00
slzhou 951786669d fix: modify show_kind enum value from none to all 2023-09-20 08:39:57 +08:00
wangmm0220 2881a2504c fix:conflicts from 3.0 2023-09-19 18:39:40 +08:00
Alex Duan 2fdc06e62d fix: windows build error 2023-09-19 18:08:53 +08:00
wangmm0220 766652a88a fix:vnode tranform support in tmq 2023-09-19 17:27:19 +08:00
slzhou bd2669b4f1 fix: show normal tables core 2023-09-19 16:40:23 +08:00
slzhou f208eefdf2 fix: fix sanitizer error 2023-09-19 16:21:44 +08:00
slzhou f4dbd5d9c9 enhance: show normal/child tables and show user/system databases 2023-09-19 16:14:17 +08:00
Alex Duan 8066c68b2d fix: window and arm platform build 2023-09-19 16:07:15 +08:00
wangjiaming0909 1e53e6cfeb optimize count()/last() + partition by tbname/tag 2023-09-19 14:56:02 +08:00
shenglian zhou a072fb6a2c Merge branch '2.0' of github.com:taosdata/TDengine into szhou/continue-coing 2023-09-19 14:03:16 +08:00
shenglian zhou 2773f1e9ac fix: continue coding 2023-09-19 14:03:06 +08:00
Alex Duan 20cded7d6e fix: build error 2023-09-19 12:57:18 +08:00
wangmm0220 ad70dc178f fix:conflicts from 3.0 2023-09-19 11:56:52 +08:00
wangmm0220 edb42aa2aa fix:move from main to 3.0 2023-09-19 11:51:52 +08:00
Alex Duan 4a4e778a6a fix: remove depends from util to common 2023-09-19 10:46:52 +08:00
kailixu 6698861c8b chore: timeseries distribute 2023-09-19 08:29:51 +08:00
Alex Duan 88c091e575
Update CMakeLists.txt
add common on util cmakefile.txt
2023-09-18 21:09:04 +08:00
wangmm0220 1e859084b7 fix:conflicts from 3.0 2023-09-18 19:57:33 +08:00
wangmm0220 4b74135350 fix:vnode tranform support in tmq 2023-09-18 19:47:28 +08:00
shenglian zhou 94a616fcc1 fix: save and continue 2023-09-18 16:59:07 +08:00
xsren b2170e9791 fill data of varchar type 2023-09-18 16:03:04 +08:00
wangmm0220 49a193b328 fix:send delete subscribe info to vnode if drop consumer 2023-09-18 14:46:39 +08:00
Alex Duan 570ac79a79
Merge branch 'taosdata:3.0' into 3.0 2023-09-18 14:28:00 +08:00
wangmm0220 7869b693f2 add test case for tmq in vnode transform & fix core in race condition for pTq->pExecStore 2023-09-18 14:09:28 +08:00
Haojun Liao 82d3deb423
Merge pull request #22949 from taosdata/enh/disableIpWhiteListOnCommunity
disable white list on community
2023-09-18 13:41:08 +08:00
Haojun Liao de04090f04
Merge pull request #22940 from taosdata/fix/avoidConflictOfIdxName
reduce the confliction of first tag index name
2023-09-18 09:47:58 +08:00
kailixu 8111c18cc4 chore: merge 3.0 2023-09-18 09:20:43 +08:00
lx1zhong 5f730fda4e fix compile error 2023-09-17 18:13:20 +08:00
yihaoDeng d890ccbd3b disable white list on community 2023-09-15 20:27:41 +08:00
Haojun Liao 05e9f40834
Merge pull request #22828 from taosdata/enh/ipWhiteList
Enh/ip white list
2023-09-15 17:49:37 +08:00
yihaoDeng a66145a494 reduce the possible of first tag index name 2023-09-15 17:41:04 +08:00
lx1zhong ffa9560b43 fix compile error: add libraries link 2023-09-15 17:38:46 +08:00
Minglei Jin 0181bb24d3 tsdb/readerwriter: use PRId64 instead of lld 2023-09-15 16:40:04 +08:00
Minglei Jin 318281356b s3/block_cache: new tsdb block cache 2023-09-15 16:19:21 +08:00
lx1zhong abee7c0b80 fix compile error 2023-09-15 15:32:55 +08:00
yihaoDeng e958e18726 fix race crash and add log 2023-09-15 15:02:05 +08:00
kailixu 7f477b413a chore: more code 2023-09-15 14:35:57 +08:00
kailixu 03aea454d7 chore: more code 2023-09-15 14:33:35 +08:00
lx1zhong 6da4088012 add TSZ and ADT-FSE algorithm 2023-09-15 14:30:23 +08:00
wade zhang d12539be1f
Merge pull request #22907 from taosdata/FIX/TD-26292-3.0
enh: ignore compact req during restoring
2023-09-15 11:05:35 +08:00
kailixu 6b95013ba0 chore: code refactor for mndDnode 2023-09-15 10:28:07 +08:00
yihaoDeng 79fe29c848 fix compile error 2023-09-15 10:10:23 +08:00
kailixu 8505fb2aea chore: code refactor for mndDnode 2023-09-15 08:49:45 +08:00
kailixu 1ddc935072 Merge branch '3.0' into enh/TS-3812-3.0 2023-09-15 08:39:32 +08:00
kailixu 7b29d62f04 enh: timeseries update optimize 2023-09-14 20:18:13 +08:00
kailixu 449092c5dc enh: timeseries update optimize 2023-09-14 20:16:02 +08:00
yihaoDeng 167be7c519 rm dup ip 2023-09-14 19:09:56 +08:00
yihaoDeng 250fed499f Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 18:49:17 +08:00
yihaoDeng 0e496ab0c5 Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 18:18:05 +08:00
yihaoDeng 2af180c763 Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 17:56:44 +08:00
dapan1121 8ef01584ee
Merge pull request #22629 from taosdata/feat/TD-25620
feat: optimize partition node, replace with sort node
2023-09-14 17:26:15 +08:00
yihaoDeng 02f5f4f017 Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 17:23:31 +08:00
yihaoDeng a7d4547a2d Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 17:01:06 +08:00
yihaoDeng 011aee7214 Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 16:56:47 +08:00
yihaoDeng 2d1d74d4e8 Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 16:52:23 +08:00
slzhou 972a6a133f Merge branch 'enh/ipWhiteList' of github.com:taosdata/TDengine into enh/ipWhiteList 2023-09-14 16:34:30 +08:00
slzhou 59020ff52d fix: for community version, use 0.0.0.0/0 as whitelist 2023-09-14 16:34:03 +08:00
wangmm0220 908cf88414 Merge branch 'mark/tmq-3.0' of https://github.com/taosdata/TDengine into feat/TD-26052 2023-09-14 16:18:43 +08:00
Benguang Zhao bbcbe460d4 enh: ignore compact req during restoring 2023-09-14 16:17:17 +08:00
yihaoDeng e36dc50828 Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 15:42:17 +08:00
yihaoDeng 2002ed8709 add more error code 2023-09-14 15:34:28 +08:00
slzhou 2a40113f13 fix: entprise version compilation 2023-09-14 14:44:09 +08:00
slzhou 6dfb939f22 enhance: enhance test case 2023-09-14 14:11:50 +08:00
wangmm0220 ef81299494 fix:heap use after free 2023-09-14 13:41:14 +08:00
slzhou a15a41f396 Merge branch 'enh/ipWhiteList' of github.com:taosdata/TDengine into szhou/enh/ipWhiteList 2023-09-14 13:06:15 +08:00
slzhou 94236b8cee fix: pass some test 2023-09-14 13:05:58 +08:00
yihaoDeng aa1cc01064 update test case 2023-09-14 12:18:43 +08:00
yihaoDeng 903c628067 update test case 2023-09-14 12:18:04 +08:00
wangmm0220 a833d5d769 fix:need update epset if unsubscribe topic and topicNumGet is 0 at the same time 2023-09-14 10:39:22 +08:00
yihaoDeng da55d7e67e update test case 2023-09-14 09:25:23 +08:00
yihaoDeng 7ec31029e6 update test case 2023-09-14 08:45:55 +08:00
yihaoDeng e7815229ca update test case 2023-09-13 19:54:45 +08:00
wangjiaming0909 cb78c54d72 optimize sort perf 2023-09-13 18:37:42 +08:00
wangmm0220 f729150497 fix:opti poll callbak logic & send epoch as -1 to get epset if vnode transformed 2023-09-13 18:32:45 +08:00
wangmm0220 39fb5f4334 fix:add vnode snaphot for tmq 2023-09-13 18:09:47 +08:00
dapan1121 270a7584f4 enh: prevent accessing ins_users&ins_user_privileges without sysinfo 2023-09-13 17:48:26 +08:00
yihaoDeng f29b3b27ac update test case 2023-09-13 16:29:19 +08:00
yihaoDeng 772e9c6627 update test case 2023-09-13 16:27:58 +08:00
yihaoDeng 4faa791ffd refactor code 2023-09-13 15:38:44 +08:00
yihaoDeng 6cfab63ee0 update test case 2023-09-13 14:50:26 +08:00
yihaoDeng c0a8f81176 update test case 2023-09-13 14:27:58 +08:00
wangmm0220 1dbd322fa0 fix:remove useless code 2023-09-13 11:42:09 +08:00
kailixu 62c4113f82 chore: update ts grant fetch interval 2023-09-13 11:38:18 +08:00
kailixu 53ed71959b enh: fetch cluster info for grant periodically 2023-09-13 11:30:04 +08:00
Yihao Deng fa302ac6b9
Merge branch '3.0' into enh/ipWhiteList 2023-09-13 10:14:08 +08:00
yihaoDeng 0152646eac fix case error 2023-09-13 10:11:29 +08:00
yihaoDeng 8f5dd5a9b9 fix case error 2023-09-13 09:56:26 +08:00
wangmm0220 9e2d80ac2a fix:conflicts from 3.0 2023-09-13 09:54:27 +08:00
wangmm0220 d707f69a6c opti:ask ep logic in tmq 2023-09-13 09:52:24 +08:00
Haojun Liao 60f5056ab7 other: merge 3.0 2023-09-12 22:00:40 +08:00
Haojun Liao f6a097d96f refactor: do some internal refactor. 2023-09-12 21:58:22 +08:00
yihaoDeng 5468c717e9 Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-12 21:03:42 +08:00
yihaoDeng d6f4c40e54 fix mem leak 2023-09-12 21:03:35 +08:00
wade zhang 86c990d33d
Merge pull request #22868 from taosdata/fix/xsren/TS-3957/readLineOnWindows
free old pointer as realloc failed.
2023-09-12 18:52:18 +08:00
Haojun Liao 13c20facd0 fix(stream): fix syntax error. 2023-09-12 18:37:30 +08:00
xsren 51359ad99d free old pointer as realloc failed. 2023-09-12 18:24:50 +08:00
Haojun Liao 66676b977e fix(stream): set correct number items in outputQ 2023-09-12 18:16:07 +08:00
wade zhang e832908589
Merge pull request #22858 from taosdata/fix/xsren/TS-3957/readLineOnWindows
fix read line on windows
2023-09-12 18:15:07 +08:00
wade zhang b2e9578de9
Merge pull request #22853 from taosdata/fix/TD-26139/fileHandlesLimitOnWindows
reset file handles limit on windows
2023-09-12 18:14:40 +08:00
Haojun Liao e457d94ac6 refactor: do some internal refactor. 2023-09-12 18:09:02 +08:00
yihaoDeng 8e064cdd03 fix merge error 2023-09-12 16:41:14 +08:00
slzhou 65fe665939 fix: get user whitelist version from user object 2023-09-12 16:27:07 +08:00
slzhou a44d0bceb6 Merge branch 'szhou/enh/ipWhiteList' into enh/ipWhiteList 2023-09-12 16:21:29 +08:00
Haojun Liao 9a57aba33d
Merge pull request #22860 from taosdata/fix/fixTransferCrash3dev
fix transfer crash
2023-09-12 16:09:46 +08:00
Haojun Liao 78a5680cf4 fix(stream): add some logs. 2023-09-12 15:59:09 +08:00
yihaoDeng 7ce8f694dc Merge branch 'enh/dev3New' into enh/ipWhiteList 2023-09-12 15:54:06 +08:00
shenglian zhou e3a6b92f4e fix: fix minior bugs 2023-09-12 15:00:08 +08:00
yihaoDeng ccb75a9c11 fix transfer crash 2023-09-12 14:46:56 +08:00
yihaoDeng 3e48f3639c fix transfer crash 2023-09-12 14:46:32 +08:00
shenglian zhou d5f1662bf5 enh: enterprise version and community version split 2023-09-12 14:35:01 +08:00
shenglian zhou 21dd7a82b0 Merge branch 'szhou/enh/ipWhiteList' of github.com:taosdata/TDengine into szhou/enh/ipWhiteList 2023-09-12 14:16:35 +08:00
shenglian zhou 53894f1182 enhance: add hb whitelist version and notify taosadapter 2023-09-12 14:15:03 +08:00
xsren e5120fade2 fix read line on windows 2023-09-12 14:12:21 +08:00
shenglian zhou 8db96a0085 enhance: update notification and get user whitelist api 2023-09-12 14:10:41 +08:00
shenglian zhou 64caae83fd enhance: add hb whitelist version and notify taosadapter 2023-09-12 14:10:41 +08:00
kailixu 2f9ab38fd0 fix: set stack size to 8 MB for windows and dup fd for gzdopen 2023-09-12 13:33:12 +08:00
Haojun Liao 93159729f6 fix(stream):check error when vnode is closing. 2023-09-12 11:45:51 +08:00
yihaoDeng 4d16cfac05 add rpc update interface 2023-09-12 11:36:44 +08:00
yihaoDeng a902421f5b add user ip white ver 2023-09-12 11:33:32 +08:00
yihaoDeng f29880fee3 add rpc update interface 2023-09-12 11:31:06 +08:00
xsren a003db7e1a reset file handles limit on windows 2023-09-12 10:44:11 +08:00
yihaoDeng d9eed32167 add rpc update interface 2023-09-12 09:54:13 +08:00
Haojun Liao f602aa965f fix(stream): fix coverity scan issues. 2023-09-12 09:16:18 +08:00
Haojun Liao a5b93aaf97 fix(tsdb): fix invalid read. 2023-09-11 23:55:34 +08:00
Haojun Liao e8f7146a2c fix(tsdb): check the schema before merge rows in buffer, and do some refactor. 2023-09-11 22:19:10 +08:00
yihaoDeng 9efa9eeff4 add rpc update interface 2023-09-11 21:29:50 +08:00
yihaoDeng 0a8b1ebe46 add rpc update interface 2023-09-11 21:02:50 +08:00
yihaoDeng 39d04ed15b add rpc update interface 2023-09-11 20:48:24 +08:00
Haojun Liao 24524e1a8d fix(stream): fix the invalid length of tag column name. 2023-09-11 19:10:54 +08:00
shenglian zhou 9da204e5ff enhance: update notification and get user whitelist api 2023-09-11 17:04:35 +08:00
Haojun Liao 5ab739ae46 fix(stream): fix memory leak. 2023-09-11 15:29:12 +08:00
yihaoDeng d549a47cf5 add rpc update interface 2023-09-11 15:17:20 +08:00
yihaoDeng 05727359ca add rpc update interface 2023-09-11 15:02:35 +08:00
yihaoDeng 9abfbbab5e add rpc update interface 2023-09-11 13:57:45 +08:00
Haojun Liao 45880f70d4 fix(stream): fix display error in logs. 2023-09-11 13:57:33 +08:00
Haojun Liao 3b79ab3266 fix(stream): reset the init ts. 2023-09-11 13:50:55 +08:00
Haojun Liao c729fc989f fix(stream): set the init start timestamp. 2023-09-11 13:49:43 +08:00
Haojun Liao 0980e021e5 fix(stream): set the correct start version for the step 2 stage in fill history. 2023-09-11 13:37:19 +08:00
yihaoDeng 2a30e12547 add rpc update interface 2023-09-11 10:45:45 +08:00
Haojun Liao 50ef500f51 refactor(stream): do sink module refactor. 2023-09-11 10:09:31 +08:00
shenglian zhou 569283f806 enhance: add hb whitelist version and notify taosadapter 2023-09-11 09:52:58 +08:00
yihaoDeng 30a60be214 add rpc update interface 2023-09-11 09:26:00 +08:00
Minglei Jin 443756c6ff fix(meta): null txn after abort 2023-09-11 08:55:30 +08:00
Haojun Liao a9321248a9 fix(stream): set the correct flag when there is one token existed. 2023-09-10 18:34:03 +08:00
yihaoDeng 9781766009 add rpc update interface 2023-09-10 17:02:38 +08:00
yihaoDeng d121b564c0 add rpc update interface 2023-09-10 16:11:14 +08:00
yihaoDeng 8ea284f914 add rpc update interface 2023-09-10 14:53:08 +08:00
Haojun Liao 10271aee26 fix(stream): fix syntax error in unit test. 2023-09-10 14:12:03 +08:00
yihaoDeng 25bc0b226b add rpc update interface 2023-09-10 14:09:36 +08:00
Haojun Liao 4ffb4a5b1f refactor: disable some logs. 2023-09-10 11:02:32 +08:00
Haojun Liao 85a5c45098 fix(stream): limit the already processed data. 2023-09-10 00:01:25 +08:00
Haojun Liao 9a30573b8b fix(stream): disable scan wal when halt is set. 2023-09-09 16:12:08 +08:00
Haojun Liao aa8909b267 other: add some logs. 2023-09-09 15:18:54 +08:00
Haojun Liao 6f5c855a4b fix(stream): fix msg lost bug. 2023-09-09 15:08:36 +08:00
Haojun Liao 47fd144447 other: add some logs. 2023-09-09 11:19:51 +08:00
Haojun Liao e4918e85eb fix(stream): limit the sink rate 2023-09-09 00:22:22 +08:00
Haojun Liao bf79c2c993 fix(stream): limit the sink rate 2023-09-09 00:11:13 +08:00
Haojun Liao 35b97cbd19 fix(stream): set correct token in bucket. 2023-09-08 23:50:41 +08:00
Haojun Liao 328377c25f refactor: add some logs. 2023-09-08 23:04:39 +08:00
Haojun Liao b317c8ebff fix(stream): disable merge submit blocks. 2023-09-08 12:46:15 +08:00
wade zhang c90670ecdf
Merge pull request #22808 from taosdata/fix/TD-25644
fix(tdb/pcache): fix mem leak with unpined pages
2023-09-08 12:35:17 +08:00
yihaoDeng 56706193eb add rpc update interface 2023-09-08 11:49:12 +08:00
Minglei Jin 3524ef32eb tdb/pcache: not free page if already on free list 2023-09-08 09:28:08 +08:00
Minglei Jin 5007087e19 fix(tdb/pcache): fix mem leak with unpined pages 2023-09-08 08:09:53 +08:00
yihaoDeng 27e3ee8f1d add rpc update interface 2023-09-07 21:10:05 +08:00
yihaoDeng 60d6a622e1 add rpc update interface 2023-09-07 20:47:10 +08:00
Benguang Zhao 55a9668908 fix: next merger iter of tombs in loop of tsdbSnapWriteTombRecord 2023-09-07 17:26:30 +08:00
yihaoDeng 8c5fa3526a add rpc update interface 2023-09-07 16:10:07 +08:00
yihaoDeng f4f97a67f5 add rpc update interface 2023-09-07 14:24:26 +08:00
yihaoDeng 147de26eec add rpc update interface 2023-09-07 11:54:34 +08:00
Haojun Liao 55ac835294 Merge branch 'main' into fix/3_liaohj 2023-09-07 11:47:25 +08:00
dapan1121 fdeb924d0d
Merge pull request #22715 from taosdata/fix/m/TD-26114
fix: desc fill missed one window
2023-09-07 11:36:30 +08:00
wade zhang e252e3478d
Merge pull request #22784 from taosdata/fix/xsren/TD-26163/toheap
stack flow
2023-09-07 10:49:35 +08:00
wangjiaming0909 4a131000e4 fix: data error of partition by col + interval 2023-09-07 10:49:09 +08:00
Haojun Liao dc821057e5 fix(stream): update the log. 2023-09-07 10:33:38 +08:00
dapan1121 afbb6edb59
Merge pull request #22755 from taosdata/fix/main/TD-26134
fix: fix coverity scan issue
2023-09-07 10:31:47 +08:00
dapan1121 e4f52bae5b
Merge pull request #22764 from taosdata/fix/TD-26132
fix: fix coverity issues
2023-09-07 10:09:30 +08:00
Haojun Liao e407d7dc6b fix(stream): update log. 2023-09-07 10:09:05 +08:00
Haojun Liao 956047a441 fix(stream): count down the token in bucket. 2023-09-07 10:02:13 +08:00
Haojun Liao b240e91c91 enh(stream): add token bucket to limit the rate of sink operation. 2023-09-07 09:58:48 +08:00
Haojun Liao 0f909285c4
Merge pull request #22684 from taosdata/mark/tmq-3.0
fix:use vgstatus before if rebalance
2023-09-07 09:20:27 +08:00
xsren ce91bdab90 stack overflow 2023-09-07 09:03:13 +08:00
yihaoDeng bc27d245b1 add rpc update interface 2023-09-06 21:54:31 +08:00
yihaoDeng ad5639df89 add rpc update interface 2023-09-06 21:36:16 +08:00
wangmm0220 f4ec83025d opti:optimize code logic & fix python test case error 2023-09-06 19:46:17 +08:00
Haojun Liao 2b84e0b02e refactor: check if the put data into queue is success or failed. 2023-09-06 19:39:00 +08:00
Haojun Liao 8edf86b3bb fix(stream): add some logs. 2023-09-06 19:08:09 +08:00
Haojun Liao 5ba6a68e7a fix(stream): fix syntax error. 2023-09-06 19:00:39 +08:00
Haojun Liao a82027f492 enh(stream): pack multi-datablock into one submit message. 2023-09-06 18:58:47 +08:00
wade zhang 42d63bef3f
Merge pull request #22772 from taosdata/fix/TD-25996-main
fix/TD-25996: tdbBtcDelete release pages before modifying pBtc->pPage
2023-09-06 18:47:15 +08:00
wade zhang e493f983ed
Merge pull request #22735 from taosdata/fix/TD-26133
fix: coverity scan
2023-09-06 18:45:23 +08:00
wangmm0220 629de12bb1 fix:do not return error if commit nothing 2023-09-06 18:29:28 +08:00
Haojun Liao f8a321695a
Merge pull request #22711 from taosdata/fix/TD-26069-1
fix rc
2023-09-06 17:58:33 +08:00
yihaoDeng ac8220012c add rpc update interface 2023-09-06 17:22:30 +08:00