Commit Graph

17921 Commits

Author SHA1 Message Date
yihaoDeng d0b26bf037 add coveriry 2024-02-21 14:07:46 +08:00
Haojun Liao b27b635c10 fix(stream): allow hb message rsp. 2024-02-21 13:55:06 +08:00
slzhou 6b331594d9 fix: change typo error 2024-02-21 13:38:49 +08:00
Hongze Cheng b7b9c02694 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-21 13:18:56 +08:00
slzhou 87c8f1aa82 Merge branch '3.0' of github.com:taosdata/TDengine into feat/TS-4243-3.0 2024-02-21 13:09:36 +08:00
Haojun Liao db30163b17
Merge pull request #24799 from taosdata/fix/nullcheck
fix(stream): add null ptr check.
2024-02-21 13:07:58 +08:00
slzhou cec0db9ff1 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms/port-3 2024-02-21 11:33:21 +08:00
dapan1121 ba41231373
Merge pull request #24614 from taosdata/szhou/tms/port-3
feat: multi-readers and one merge tree
2024-02-21 10:00:52 +08:00
Hongze Cheng 6f5af37b1d
Merge pull request #24797 from taosdata/fix/TD-28681
fix duplicate uid
2024-02-21 09:44:40 +08:00
Haojun Liao d6f5ae226b refactor: do some internal refactor. 2024-02-21 09:42:23 +08:00
Haojun Liao 8d848a5bf0 fix(stream): add null ptr check. 2024-02-21 09:40:22 +08:00
yihaoDeng 05c6c3815a fix duplicate uid 2024-02-20 12:45:21 +00:00
yihaoDeng af1a40a7ff fix duplicate uid 2024-02-20 12:09:30 +00:00
dapan1121 d258c3fca6 fix: windows crash issue 2024-02-20 01:06:41 -08:00
Hongze Cheng 2d4a288c99
Merge pull request #24786 from taosdata/fix/fixMemleak-3
fix mem leak
2024-02-20 15:24:34 +08:00
dapan1121 faffbd201e
Merge pull request #24785 from taosdata/fix/TD-28634
fix: invalid read memory issue
2024-02-20 14:38:36 +08:00
dapan1121 f13fd8a7a9
Merge pull request #24781 from taosdata/feat/TD-28656
remove invalid code
2024-02-20 13:58:11 +08:00
slzhou 73cced005d Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms/port-3 2024-02-20 13:22:45 +08:00
slzhou b3c4fe489f feat: remove todo 2024-02-20 13:22:35 +08:00
Yihao Deng a36824c4a9 fix mem leak 2024-02-20 03:59:34 +00:00
dapan1121 6e48a014b4 fix: invalid read memory issue 2024-02-19 19:25:21 -08:00
Haojun Liao 13c3654bf5 other: merge 3.0 2024-02-20 10:51:04 +08:00
dapan1121 2a1103533f fix: api leave lock issue 2024-02-19 18:27:36 -08:00
54liuyao 0e8170de49 remove invalid code 2024-02-20 10:17:47 +08:00
Alex Duan 2eb33b6ee6
Merge pull request #24759 from taosdata/coverage/TD-28602-3.0
coverage: add schUtil.c and schedulerTest
2024-02-20 09:14:03 +08:00
dapan1121 617494fd32
Merge pull request #24721 from taosdata/szhou/fix/mergelimit-oom
fix: when rows is greater than merge limit, skip the block
2024-02-20 09:09:45 +08:00
dapan1121 2cacf6cf20
Merge pull request #24701 from taosdata/test/TD-26813
Test/td 26813
2024-02-20 09:06:39 +08:00
Haojun Liao 46b1fe520f
Merge pull request #24538 from taosdata/feat/TD-22023
stream count window
2024-02-20 08:50:25 +08:00
factosea 3439ff6e63 fix: rawBlockBindData 2024-02-19 20:13:05 +08:00
54liuyao af1893d109 merge 3.0 2024-02-19 18:30:12 +08:00
Haojun Liao 931b9f0b51 other: merge 3.0 2024-02-19 18:27:18 +08:00
dapan1121 1bf885d810
Merge pull request #24771 from taosdata/fix/TD-28567
fix:[TD-28567] do not add md5 to the end of subtable if create stream…
2024-02-19 17:23:09 +08:00
Hongze Cheng f4683a4d15
Merge pull request #24764 from taosdata/fix/TD-28540-3
add trace log
2024-02-19 16:12:43 +08:00
Alex Duan 1f8680fdfd coverage: add unit test schedularTest 2024-02-19 16:10:08 +08:00
Alex Duan ba306043bb Merge branch '3.0' into coverage/TD-28602-3.0 2024-02-19 16:06:57 +08:00
Haojun Liao bf242a4f64 fix(stream): handle pause event in waiting list. 2024-02-19 15:57:21 +08:00
dapan1121 a5434fa92d
Merge pull request #24770 from taosdata/fix/TD-28011
fix: scheduler UT issues
2024-02-19 15:36:15 +08:00
dapan1121 2d597ad845
Merge pull request #24769 from taosdata/enh/xsren/TD-28408/showViews
enh: like supported on show views
2024-02-19 15:35:50 +08:00
Hongze Cheng 0c419d7ed1 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-19 15:21:54 +08:00
dapan1121 216731aa60 fix: memory issues 2024-02-18 22:02:16 -08:00
wangmm0220 ac9582b24a fix:[TD-28567] do not add md5 to the end of subtable if create stream by sma 2024-02-19 13:58:58 +08:00
54liuyao 7db7c02150 explain 2024-02-19 13:39:07 +08:00
Haojun Liao c5b26b406f fix(stream): fix syntax error. 2024-02-19 13:38:56 +08:00
Haojun Liao 730edf24f9 fix(stream): fix syntax error. 2024-02-19 13:38:14 +08:00
Haojun Liao d3e8adf2eb enh(stream): async handle pause event 2024-02-19 13:36:57 +08:00
54liuyao 94542dfcd3 free close window sbf 2024-02-19 13:30:26 +08:00
dapan1121 2ef1671ec0 Merge remote-tracking branch 'origin/3.0' into fix/TD-28011 2024-02-18 21:30:13 -08:00
dapan1121 a6b6b144a2 fix: scheduler UT issues 2024-02-18 21:29:06 -08:00
factosea e17cc16235 enh: like supported on show views 2024-02-19 13:10:27 +08:00
dmchen a59fd502cf vnodes_num 2024-02-19 04:21:53 +00:00
54liuyao 7a040b3c89 ci 2024-02-19 11:35:08 +08:00
Haojun Liao 7e866c5527 refactor: do some internal refactor. 2024-02-19 11:32:04 +08:00
54liuyao e98a67bb9d ci 2024-02-19 11:12:33 +08:00
54liuyao b53dc5602e Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-02-19 10:58:20 +08:00
Haojun Liao e62dd2ff5c refactor: do some internal refactor. 2024-02-19 10:31:25 +08:00
54liuyao 637ac543c8 free close window sbf 2024-02-19 10:29:59 +08:00
Yihao Deng 29057328e6 add trace log 2024-02-19 02:20:24 +00:00
Haojun Liao cf571e4f1f refactor: do some internal refactor. 2024-02-19 09:52:22 +08:00
Haojun Liao d5b316839d refactor: do some internal refactor. 2024-02-19 09:14:21 +08:00
Hongze Cheng 45684e49c7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-19 09:08:58 +08:00
54liuyao 05eaa90c11 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-19 08:59:15 +08:00
wangmm0220 a8e45440c0 fix:conflicts from 3.0 2024-02-18 18:02:14 +08:00
dmchen b8bc14f9df log count 2024-02-18 09:17:59 +00:00
Haojun Liao 245f0ef806 fix(stream): fix deadlock. 2024-02-18 17:05:00 +08:00
factosea 5434019d2b fix: count(tag) when use qnode 2024-02-18 15:50:34 +08:00
Alex Duan dfd1b5ccaf fix: build error for schedularTests 2024-02-18 14:57:29 +08:00
Haojun Liao dbea34ce0e fix(stream): set the callback function for handle event. 2024-02-18 14:34:42 +08:00
Haojun Liao 472020a2b9 enh(stream): handle event async function. 2024-02-18 14:07:15 +08:00
Alex Duan 524ebca16a coverage: add schUtil.c and schedulerTest 2024-02-18 11:35:08 +08:00
dapan1121 8f63952ad5
Merge pull request #24750 from taosdata/mark/3.0
fix:[TD-28590]add logic for consume excluded
2024-02-18 10:13:25 +08:00
Hongze Cheng 52ed1ec5f7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-18 09:52:53 +08:00
dmchen 52c5295ce8 mnode number 2024-02-17 09:08:03 +00:00
Alex Duan f6ecea3ff1 coverage: add indexFstRegex.c osSystem.c tuint.c fullopt.py shellArgument 2024-02-17 16:08:44 +08:00
Alex Duan 22595e6432 coverage: delete checkpointTest since ci failed 2024-02-17 11:33:11 +08:00
Alex Duan 52bd49285e coverage: osMath.c indexTfile.c 2024-02-16 23:39:19 +08:00
Alex Duan ed4a7b0719 coverage: comment no call file syncMain.c 2024-02-16 21:48:01 +08:00
Alex Duan 818e9254ad fix: need cleanup 2024-02-15 22:48:51 +08:00
Alex Duan 2287317da2 coverage: add checkpointTest uint test 2024-02-15 22:38:27 +08:00
54liuyao e2352875fe mid pull over 2024-02-07 14:43:04 +08:00
54liuyao 6e19f452ce mid pull over 2024-02-07 13:55:01 +08:00
54liuyao b66260d4e9 mid pull over 2024-02-07 13:29:29 +08:00
54liuyao 5473c22585 mid pull over 2024-02-07 11:30:13 +08:00
54liuyao c9753ab9df explain count window 2024-02-07 08:55:18 +08:00
dm chen 6d2d37d964
Merge pull request #24751 from taosdata/3.0
merge 3.0
2024-02-06 19:16:53 +08:00
54liuyao 9b9ddd9159 batch count window 2024-02-06 17:19:12 +08:00
dmchen e5dcef0794 forward client directly 2024-02-06 08:29:09 +00:00
dmchen cd80560c94 windows double 2024-02-06 06:40:38 +00:00
wangmm0220 871ebfa7ba Merge branch '3.0' of https://github.com/taosdata/TDengine into mark/3.0 2024-02-06 14:02:46 +08:00
factosea 9301580886 fix: free mem in callback 2024-02-06 13:06:56 +08:00
54liuyao d40dfa973b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-05 18:37:47 +08:00
54liuyao eaf10fcb43 count window fill history 2024-02-05 18:37:24 +08:00
Haojun Liao 2bba011e4e Merge remote-tracking branch 'origin/feat/TD-22023' into feat/TD-22023 2024-02-05 17:51:23 +08:00
Haojun Liao 7a18e5910c enh(stream): halt the initial stream tasks when fill-history is set for count window agg 2024-02-05 17:51:09 +08:00
wangmm0220 5796f411e4 Merge branch 'mark/3.0' of https://github.com/taosdata/TDengine into mark/3.0 2024-02-05 17:08:05 +08:00
wangmm0220 a656d75ca7 opti:consume data excluded from some source 2024-02-05 17:07:50 +08:00
54liuyao 891249191e stream count window 2024-02-05 16:01:46 +08:00
54liuyao c588770699 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-05 15:10:34 +08:00
54liuyao 08cb46ac3e stream count window check point 2024-02-05 15:10:03 +08:00
Haojun Liao ecdcc6dee1
Merge pull request #24738 from taosdata/fix/3_liaohj
test(stream): add unit test case for the mnode stream module.
2024-02-05 13:32:46 +08:00
wangjiaming0909 573fdfbbfd fix: plannerTest/parserTest crash and memory leaks 2024-02-05 13:05:01 +08:00
Haojun Liao 6478e167af
Merge pull request #24725 from taosdata/fix/ly_max_delay
max delay
2024-02-05 10:52:33 +08:00
wade zhang 0ebd7d2527
Merge pull request #24737 from taosdata/feat/TD-27463-3.0
feat: support uniq grant
2024-02-05 10:32:34 +08:00
54liuyao b16fc7d9df Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-05 10:15:59 +08:00
Haojun Liao f6fea32eeb fix: fix some errors. 2024-02-05 09:27:19 +08:00
Haojun Liao 7b48ac9e2e
Merge pull request #24732 from taosdata/fix/TD-28461
reset group id for event window
2024-02-05 09:07:09 +08:00
Haojun Liao 2e79c766fa
Merge pull request #24731 from taosdata/fix/3_liaohj
fix(tsdb): check and return if the rows in stt are before the data rows in data files.
2024-02-05 09:00:32 +08:00
cadem 2108f69c84 client memory leak 2024-02-05 07:32:15 +08:00
kailixu 205525dd65 feat: support uniq grant 2024-02-05 07:03:51 +08:00
kailixu 6098538162 feat: support uniq grant 2024-02-04 18:00:02 +08:00
kailixu d281bc70b0 feat: remove hb of grantInfo 2024-02-04 16:46:24 +08:00
kailixu 3ebc26e1fb feat: support uniq grant 2024-02-04 16:33:43 +08:00
54liuyao ea9353b9fd merge 3.0 2024-02-04 16:04:23 +08:00
54liuyao d63448be72 reset group id for event window 2024-02-04 15:44:49 +08:00
54liuyao 9b7ac50f59 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/ly_max_delay 2024-02-04 15:08:28 +08:00
kailixu 6cf7809e8d feat: support uniq grant 2024-02-04 14:59:47 +08:00
kailixu a9316c3710 feat: support uniq grant 2024-02-04 12:28:00 +08:00
shenglian zhou d236f7c9cc enhance: error processing 2024-02-04 09:20:28 +08:00
kailixu f53d0bce5d feat: support uniq grant 2024-02-04 00:24:42 +08:00
kailixu 3a08926319 feat: support uniq grant 2024-02-03 17:32:02 +08:00
kailixu 1a6b491405 Merge branch '3.0' into feat/TD-27463-3.0 2024-02-03 12:11:23 +08:00
kailixu 092fc8d011 feat: support uniq grant 2024-02-03 12:10:37 +08:00
wade zhang 75603934a1
Merge pull request #24712 from taosdata/fix/changeErrorCode
change error code
2024-02-02 17:21:30 +08:00
dapan1121 bf7442ccb5 fix: scheduler ut issues 2024-02-02 16:05:25 +08:00
Hongze Cheng b5dc7284fc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-02 15:34:16 +08:00
54liuyao 54f216b6c6 add ci 2024-02-02 15:20:56 +08:00
54liuyao 2ac374b2e0 max delay 2024-02-02 15:20:56 +08:00
shenglian zhou ba33907776 fix: remove pages block using disk 2024-02-02 15:00:09 +08:00
shenglian zhou f77b602da9 fix: change from seq_blocks_sort to para_tables_sort 2024-02-02 14:45:04 +08:00
kailixu 3e7884a4f7 feat: support uniq grant 2024-02-02 13:59:45 +08:00
cadem 881df9d936 windows atomic 2024-02-02 13:47:11 +08:00
kailixu 3f061a8460 feat: support uniq grant 2024-02-02 13:44:33 +08:00
factosea 010d3fc860 add select count 2024-02-02 13:39:47 +08:00
slzhou 3d4764b383 fix: when rows is greater than merge limit, skip the block 2024-02-02 13:22:48 +08:00
kailixu a452480249 feat: support uniq grant 2024-02-02 12:28:51 +08:00
slzhou 4a6317a047 Merge branch '3.0' of github.com:taosdata/TDengine into feat/TS-4243-3.0 2024-02-02 11:29:04 +08:00
Haojun Liao 3236ef7bae feat(stream): return the stream source task exec delay, and do some internal refactor. 2024-02-02 11:26:47 +08:00
kailixu 015fb4d679 feat: support uniq grant 2024-02-02 11:15:39 +08:00
dapan1121 948845ea35 fix: join order by not work issue 2024-02-02 10:38:09 +08:00
dmchen 7ae45a0a83 atomic refactor 2024-02-02 02:21:06 +00:00
dmchen d3b668bd5f double atomic lib 2024-02-02 01:48:00 +00:00
kailixu 44d264456d feat: support uniq grant 2024-02-02 08:41:45 +08:00
kailixu 231cf000da Merge branch 'feat/TD-27463-3.0a' into feat/TD-27463-3.0 2024-02-02 00:07:15 +08:00
Haojun Liao 43ff259d5d
Merge pull request #24709 from taosdata/fix/3_liaohj
fix(stream): pass down the transId of checkpoint
2024-02-01 19:28:37 +08:00
Yihao Deng 58b675a5d7 change error code 2024-02-01 10:15:56 +00:00
54liuyao 4f2fb15a56 delete log 2024-02-01 18:07:19 +08:00
kailixu adee720128 feat: support uniq grant 2024-02-01 17:48:29 +08:00
Haojun Liao 87e543c824 fix(stream): pass down the transId of checkpoint, to make sure the downstream task can report the error transId successfully. 2024-02-01 17:14:36 +08:00
Haojun Liao 0fe9c05c5f
Merge pull request #24704 from taosdata/fix/3_liaohj
fix(stream): take ver snapshot for all vgroups
2024-02-01 17:07:36 +08:00
54liuyao a6a312a1a6 fix issue 2024-02-01 16:44:00 +08:00
slzhou bcba3007dc fix: query and free RSS quickly 2024-02-01 16:40:53 +08:00
dmchen 7752a57580 not log null, memory leak, skip empty, default config 2024-02-01 07:26:05 +00:00
wade zhang 70a2674315
Merge pull request #24698 from taosdata/FIX/TD-28529-3.0
fix: reset sync timer although failed to enqueue since out of memory in rpc queue
2024-02-01 15:13:18 +08:00
Haojun Liao 88f246b988 fix(stream): fix syntax error on windows, and add null ptr check for pTrans obj. 2024-02-01 15:08:06 +08:00
dm chen 4605f6b011 Windows double atomic 2024-02-01 14:19:12 +08:00
Haojun Liao cb2ea4a721 fix(stream): take ver snapshot for all vgroups before launching stream with fill-history option opened. 2024-02-01 11:37:57 +08:00
wangmm0220 a9fcc67321 fix:conflicts from 3.0 2024-02-01 11:13:03 +08:00
Benguang Zhao 57714dff65 fix: reset sync timer although failed to enqueue since Out of Memory in rpc queue 2024-02-01 11:07:17 +08:00
slzhou 1e30ac9408 fix: compilation error 2024-02-01 10:30:07 +08:00
wade zhang eeba6a24ad
Merge pull request #24686 from taosdata/feat/TD-27463-3.0
feat: support uniq grant
2024-02-01 09:47:14 +08:00
shenglian zhou 87e2027475 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms/port-3-fe 2024-02-01 09:38:54 +08:00
shenglian zhou 7dcb477933 feat: add front end for ordered blocks in mem sort 2024-02-01 09:38:35 +08:00
wade zhang acdd187e16
Merge pull request #24690 from taosdata/opt/addQueuePerf
add queue perf msg
2024-02-01 09:31:38 +08:00
54liuyao 0afed5263e add mid operator retrive 2024-01-31 18:09:13 +08:00
factosea be38b58970 fix: don't wait when tsort close 2024-01-31 16:15:30 +08:00
kailixu 9458b86b41 feat: support uniq grant 2024-01-31 16:09:06 +08:00
Yihao Deng 89bcc8f058 add queue perf msg 2024-01-31 07:10:01 +00:00
kailixu a860e9039d feat: support uniq grant 2024-01-31 13:52:03 +08:00
kailixu e945586ad9 feat: support uniq grant 2024-01-31 13:44:00 +08:00
kailixu 41072348b9 Merge branch '3.0' into feat/TD-27463-3.0 2024-01-31 10:02:12 +08:00
dmchen 80d5f35bc5 vgroups table name 2024-01-31 01:33:56 +00:00
dapan1121 e0583cb343
Merge pull request #24661 from taosdata/fix/xsren/TD-28453/countOnNullTag
fix: count error on tag which is null
2024-01-31 09:30:28 +08:00
kailixu 2b1a0cdbfe feat: support uniq grant 2024-01-31 08:53:45 +08:00
factosea 9c0d2e603a reset blankFill 2024-01-30 20:24:59 +08:00
Haojun Liao 556baed25d other: merge 3.0 2024-01-30 18:35:59 +08:00
factosea 5d731dc9a4 fix: use blank data flag 2024-01-30 17:34:06 +08:00
Haojun Liao 1d110953c9 refactor: do some internal refactor. 2024-01-30 15:23:54 +08:00
Haojun Liao 4970040459 refactor: do some internal refactor. 2024-01-30 15:22:49 +08:00
dapan1121 477ed694b6
Merge pull request #24656 from taosdata/fix/TS-4479
fix:[TS-4479] support long varbinary in format like \x3423
2024-01-30 15:05:48 +08:00
Haojun Liao 45891babd3
Merge pull request #24655 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-01-30 09:15:10 +08:00
dmchen 8d683983e0 interface name 2024-01-29 10:11:17 +00:00
Haojun Liao 3730e43f0e refactor: disable some logs. 2024-01-29 17:24:58 +08:00
54liuyao d7fb8db086 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-01-29 16:13:39 +08:00
factosea b9927cce14 fix: count error on tag which is null 2024-01-29 16:04:08 +08:00
slzhou af422e77c6 fix: restore pseudo column pData and not skip and data block cleanup 2024-01-29 14:36:40 +08:00
wangmm0220 35f154da37 fix:[TS-4479] support long varbinary in format like \x3423 2024-01-29 13:55:46 +08:00
slzhou 7d0edcc54e fix: fix memory sanitizer error 2024-01-29 12:56:48 +08:00
slzhou 6849ccd280 fix: pre-allocated columns has no data 2024-01-29 11:02:38 +08:00
wangmm0220 5f1b48a8da fix:[TS-4479] support long varbinary in format of \x3423 2024-01-29 10:50:10 +08:00
slzhou 08c2891d50 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms/port-3 2024-01-29 10:32:36 +08:00
dapan1121 5cf16dea84
Merge pull request #24584 from taosdata/szhou/feat/td-28228
feat: extract rows within limit before sort to disk
2024-01-29 08:47:46 +08:00
Haojun Liao bfbd61a02f
Merge pull request #24634 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-01-26 18:08:54 +08:00
slzhou f19e66909d fix: only deep cleanup datablock when not inmem reader 2024-01-26 17:01:08 +08:00
Haojun Liao ac08f659c3 refactor: remove invalid procedure in fill-history. 2024-01-26 16:20:43 +08:00
54liuyao 4d8fbc0396 stream count window sliding 2024-01-26 16:15:25 +08:00
54liuyao 9e86dfaee7 stream count window sliding 2024-01-26 15:56:26 +08:00
54liuyao bc4f3d1296 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-01-26 15:55:06 +08:00
slzhou 686258b26e feat: deep clean up for data blocks 2024-01-26 14:52:24 +08:00
slzhou 82871f7ee3 feat: no in mem reader and blocks are to disk 2024-01-26 14:23:34 +08:00
slzhou c46769ef37 fix: reader can be in memory or not 2024-01-26 14:10:02 +08:00
slzhou a06ba844ba fix: set dataload flag 2024-01-26 13:11:05 +08:00