Commit Graph

17508 Commits

Author SHA1 Message Date
Haojun Liao 56eac88349 Merge branch '3.0' into fix/3_liaohj 2024-01-17 15:14:52 +08:00
Haojun Liao 1ea671e373 enh(stream): remove time controller. 2024-01-17 14:55:15 +08:00
slzhou 9e0f83b800 fix: keep limit for project with input ignore group 2024-01-17 14:46:10 +08:00
Haojun Liao fc16d26da2
Merge pull request #24488 from taosdata/fix/3_liaohj
fix(stream): fix some errors and do some internal refactor.
2024-01-17 14:25:32 +08:00
slzhou 449c1631ef fix: add numOfOutputGroups back when group order scan 2024-01-17 13:34:37 +08:00
Yihao Deng f27b69f0c2 fix debug log err 2024-01-17 04:46:54 +00:00
kailixu bf0205b54d Merge branch '3.0' into feat/TD-27463-3.0 2024-01-17 11:29:47 +08:00
factosea 7d70d79963 fix order by ambiguous case 2024-01-17 11:10:13 +08:00
slzhou 8e1039a07d fix: when input ignore group, split from scan 2024-01-17 10:30:07 +08:00
wade zhang e908679a32
Merge pull request #24484 from taosdata/fix/fixInvalidReadOnQuery
fix invalid read write
2024-01-17 10:23:46 +08:00
dapan1121 66c9c076e8
Merge pull request #24469 from taosdata/fix/xsren/TD-28204/whereOptimizeConditional
Fix/xsren/td 28204/where optimize conditional
2024-01-17 10:20:51 +08:00
xinsheng Ren 737abbebb7
Revert "fix: LEASTSQUARES func result overflow" 2024-01-17 10:09:56 +08:00
Haojun Liao 644b057c2c
Merge pull request #24485 from taosdata/fix/xsren/TD-28327/doubleFormat
fix: LEASTSQUARES func result overflow
2024-01-17 10:07:41 +08:00
factosea f1a2340288 fix: order by ambiguous 2024-01-16 19:46:57 +08:00
Haojun Liao 3d98fc6a67 other: merge 3.0 2024-01-16 18:29:33 +08:00
Haojun Liao 8ede6d87ce refactor: do some internal refactor. 2024-01-16 15:40:40 +08:00
factosea fdb847fd36 fix: LEASTSQUARES func result overflow 2024-01-16 15:34:05 +08:00
slzhou de6b559ab9 fix: remove some uage of table end index 2024-01-16 15:21:20 +08:00
slzhou 9a7ef7fa18 fix: reuse tableListGetGroupList 2024-01-16 15:08:50 +08:00
jiajingbin d59ede5196 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-28032 2024-01-16 15:05:13 +08:00
Haojun Liao 9a4b7a6d82 fix(stream): remove invalid lock, and fix a typo. 2024-01-16 14:52:27 +08:00
Haojun Liao 80793c94c2 fix(stream): reset the tasks status before start all tasks, and do some other internal refactor. 2024-01-16 14:32:45 +08:00
slzhou d3856ebbc7 fix: find the reason later 2024-01-16 14:28:37 +08:00
xinsheng Ren ae5f540692
Merge branch '3.0' into fix/xsren/TD-28204/whereOptimizeConditional 2024-01-16 14:28:37 +08:00
Yihao Deng 6f8f47a375 fix invalid read write 2024-01-16 05:50:20 +00:00
Haojun Liao dfe959eb28
Merge pull request #24468 from taosdata/fix/3_liaohj
fix(stream): fix deadlock in pause.
2024-01-16 12:58:27 +08:00
factosea 3a4eed5c37 fix: checkIsEmptyResult 2024-01-16 10:46:22 +08:00
Haojun Liao b1c6ba467b Merge remote-tracking branch 'origin/fix/3_liaohj' into fix/3_liaohj 2024-01-16 10:28:20 +08:00
Haojun Liao 63494de7f9 refactor: do some internal refactor. 2024-01-16 10:28:07 +08:00
dapan1121 2fef37a5cc
Merge pull request #24315 from taosdata/fix/xsren/TD-28068/columnNodeRef2
fix: columanRefNode illegal type conversion
2024-01-16 10:08:34 +08:00
facetosea 79671d3e68 fix: internal error code 2024-01-16 10:07:46 +08:00
Haojun Liao 8f6256dfae
Merge pull request #24473 from taosdata/fix/TD-28319
set delete for session op
2024-01-16 10:02:06 +08:00
slzhou 764365047d fix: stream scan core due to table end index introduced in 1 null row for empty group 2024-01-16 09:28:45 +08:00
dapan1121 53094f62d8
Merge pull request #24359 from taosdata/FIX/TD-27003
Fix : use last row scan when select last_row, last
2024-01-16 08:50:23 +08:00
shenglian zhou 5bef3ab24f feat: add phyiProjectCopy 2024-01-16 08:23:34 +08:00
shenglian zhou 9c9d9dc24b fix: add input ignore group 2024-01-16 08:13:47 +08:00
Yihao Deng 60c984a865 Merge branch 'fix/3_liaohj' of https://github.com/taosdata/TDengine into fix/3_liaohj 2024-01-15 11:33:16 +00:00
Yihao Deng 52b9c09d6c fix mem leak 2024-01-15 11:33:03 +00:00
Haojun Liao 5307a98f5d Merge remote-tracking branch 'origin/fix/3_liaohj' into fix/3_liaohj 2024-01-15 17:41:05 +08:00
Haojun Liao cacbb4e369 fix(stream): save the checkpoint info for sink tasks. 2024-01-15 17:40:35 +08:00
54liuyao 2e543d950a set delete for session op 2024-01-15 17:36:23 +08:00
Yihao Deng 8a2e431094 add hard link 2024-01-15 09:03:56 +00:00
factosea a8efcfcce9 skip empty result optimization 2024-01-15 16:45:51 +08:00
Yihao Deng edbbd2282c Merge branch 'fix/3_liaohj' of https://github.com/taosdata/TDengine into fix/3_liaohj 2024-01-15 08:27:55 +00:00
Yihao Deng f55c93b969 add hard link 2024-01-15 08:27:35 +00:00
Haojun Liao bc657dc2d8 Merge remote-tracking branch 'origin/fix/3_liaohj' into fix/3_liaohj 2024-01-15 16:16:43 +08:00
Haojun Liao 43081b540b fix(stream): reset restart counter to be 0 if all tasks are ready. 2024-01-15 16:16:28 +08:00
factosea 52aa6f280e fix: skip empty result optimization when partition 2024-01-15 15:51:18 +08:00
Yihao Deng 14a7fe114d Merge branch 'fix/3_liaohj' of https://github.com/taosdata/TDengine into fix/3_liaohj 2024-01-15 07:47:25 +00:00
Yihao Deng 8d24a34015 add hard link 2024-01-15 07:46:30 +00:00
Alex Duan 4d3ac348e6 Merge branch '3.0' into coverage/TD-28251-3.0 2024-01-15 15:33:56 +08:00
fullhonest cb2ab749b5 Fix TD-27003: use last row scan when select last_row, last 2024-01-15 15:22:29 +08:00
Haojun Liao 143e6a13af fix(stream): fix deadlock in pause. 2024-01-15 14:37:24 +08:00
facetosea 1191902d38 fix error code and delete unused code 2024-01-15 13:06:22 +08:00
shenglian zhou 8ae3aa24be fix: set ignore input group id 2024-01-15 11:58:29 +08:00
Haojun Liao e012bc4bde refactor: do some internal refactor. 2024-01-15 11:28:36 +08:00
Haojun Liao c710718f9e
Merge pull request #24457 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-01-15 10:58:45 +08:00
kailixu 414e15a810 chore: merge 3.0 2024-01-15 10:42:45 +08:00
Haojun Liao d46b5e6c9a fix(stream): enable sink tasks handle the checkpoint. 2024-01-15 09:53:15 +08:00
Haojun Liao ce855bc493 refactor: do some internal refactor. 2024-01-15 09:21:31 +08:00
dapan1121 737140a09b
Merge pull request #24430 from taosdata/feat/TD-28267
add PARTITION_FIRST hint to use partition node before agg
2024-01-15 09:12:34 +08:00
dapan1121 11b4b4d4a3
Merge pull request #24445 from taosdata/szhou/fix/td-28263
set the timelineresmode to subquery timeline resmode
2024-01-15 09:09:40 +08:00
factosea a794391866 unused code 2024-01-15 02:40:50 +08:00
factosea 0d56695d96 delete unused code 2024-01-15 02:31:04 +08:00
facetosea c277abd3bf fix: functionNode skip 2024-01-14 21:47:13 +08:00
Alex Duan df40772e95 coverage: sum add all types test 2024-01-14 20:23:37 +08:00
Haojun Liao dc1a0821a7 refactor: do some internal refactor. 2024-01-13 00:19:46 +08:00
Haojun Liao 98758862cf refactor: do some internal refactor. 2024-01-13 00:17:29 +08:00
Haojun Liao 44208925f9 refactor: do some internal refactor. 2024-01-13 00:10:47 +08:00
Haojun Liao 00e2bdec23 refactor: do some internal refactor. 2024-01-12 19:08:46 +08:00
factosea ab02ec74c9 fix taosd crash 2024-01-12 18:10:54 +08:00
wangjiaming0909 bc1eacf626 add PARTITION_BEFORE_GROUP hint to use partition node before agg 2024-01-12 17:41:34 +08:00
wangmm0220 00e0da15a3 fix:[TD-28032]groupid = 0 & modify test case in sim 2024-01-12 17:37:22 +08:00
factosea 19d7579e75 fix: copy expr 2024-01-12 14:01:35 +08:00
54liuyao 52d8811bdc code coverage 2024-01-12 13:49:32 +08:00
Haojun Liao ee24bb9b03
Merge pull request #24444 from taosdata/fix/3_liaohj
fix(stream): close the inputQ of the related stream task.
2024-01-12 13:41:30 +08:00
Haojun Liao 5fa8f85c42 fix(stream): remove invalid release. 2024-01-12 11:28:41 +08:00
factosea 6115d7a67f fix functionNode ref 2024-01-12 10:47:48 +08:00
slzhou 0162fb9e76 set the timelineresmode to subquery timeline resmode 2024-01-12 10:46:03 +08:00
Haojun Liao b36cc97236 fix(stream): close the inputQ of the related stream task when the fill-history task recv the trans-state msg from upstream. 2024-01-12 10:44:49 +08:00
Haojun Liao ea0ea09b0f
Merge pull request #24409 from taosdata/opt/optMsgOnMnode
opt msg on mnd
2024-01-12 09:36:37 +08:00
Haojun Liao 578edd447f
Merge pull request #24421 from taosdata/szhou/fix/2/td-28154
fix: windows calculation when offset >0 and calendar sliding
2024-01-12 09:35:09 +08:00
factosea 25f9956ccb fix:test 2024-01-11 21:21:00 +08:00
kailixu ddefc5f46a chore: merge 3.0 2024-01-11 20:05:23 +08:00
factosea 3ed63df082 fix case 2024-01-11 18:34:21 +08:00
Haojun Liao 404ae75178
Merge pull request #24429 from taosdata/fix/3_liaohj
fix(stream): add checkpoint status check.
2024-01-11 17:59:57 +08:00
Yihao Deng d3cfa97740 fix invalid read 2024-01-11 09:41:02 +00:00
Haojun Liao 9703018f56 fix(stream): add checkpoint status check. 2024-01-11 16:47:51 +08:00
Haojun Liao dc6187a2e3
Merge pull request #24426 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-01-11 16:47:05 +08:00
slzhou 3cea4fd2c7 fix: getNextTimeWindow use new time algorithm 2024-01-11 16:41:11 +08:00
wade zhang 69ba56feda
Merge pull request #24402 from taosdata/ENH/TD-28211-3.0
enh: let max num of concurrent msgs of snap replication be configurable
2024-01-11 16:38:53 +08:00
Yihao Deng 5e1a7c694b split sync/status channel 2024-01-11 07:23:46 +00:00
Haojun Liao d4fd544c74 refactor: remove sleep. 2024-01-11 15:18:11 +08:00
Haojun Liao 58694c67dd refactor: do some internal refactor. 2024-01-11 11:50:52 +08:00
Yihao Deng df235b0adf split sync/status channel 2024-01-11 03:22:34 +00:00
Haojun Liao bff0ad89a4 other: merge 3.0 2024-01-11 09:51:12 +08:00
Haojun Liao 1c562bd535 refactor: enable the restart of stream tasks. 2024-01-11 09:41:40 +08:00
54liuyao 3b36dbbe18 opt recover buff 2024-01-11 09:40:54 +08:00
Haojun Liao 9294c8d4ee fix(stream): enable the hb to mnode for stream meta when it becomes the leader. 2024-01-11 09:20:34 +08:00
slzhou ab137a56f0 fix: more interval end calculation with slide-start/slide-end as anchor 2024-01-11 08:31:16 +08:00
slzhou b4b4400958 fix: recalcuate window ekey 2024-01-10 21:36:09 +08:00
Haojun Liao dcbe963d32 fix(stream): keep the previous status in stack object. 2024-01-10 19:19:53 +08:00
factosea c8fb8486ef fix: SColumnRefNode disable 2024-01-10 19:07:21 +08:00
wangmm0220 df69a89da2 fix:[TD-28185]add pause & resume logic for snode 2024-01-10 18:46:10 +08:00
Yihao Deng b5e5167b8f split sync/status channel 2024-01-10 09:57:08 +00:00
slzhou ba2ba0a8cb fix: time window computation error 2024-01-10 16:19:20 +08:00
Benguang Zhao 485bad1ebd refact: use config syncSnapReplMaxWaitN instead 2024-01-10 11:31:00 +08:00
Haojun Liao 9d0d0d9ddc Merge branch '3.0' into fix/3_liaohj 2024-01-10 09:57:46 +08:00
factosea d243308541 fix: colref 2024-01-10 09:04:40 +08:00
Haojun Liao dc0c5539a0 fix(stream): remove invalid timer controllers. 2024-01-10 08:48:49 +08:00
Haojun Liao 3508c9b2f4
Merge pull request #24379 from taosdata/fix/addTestCaseToStreamBackend
Fix/add test case to stream backend
2024-01-09 21:23:51 +08:00
Benguang Zhao 7979d4532b enh: let max num of concurrent msgs of snap replication be configurable 2024-01-09 16:49:27 +08:00
Haojun Liao f9d5c0d403 fix(stream): fix error in tq timer. 2024-01-09 09:13:53 +08:00
dapan1121 ad83e6439f
Merge pull request #24336 from taosdata/FIX/TD-28125
Fix: not use last row scan when select tbname and last
2024-01-09 08:40:15 +08:00
fullhonest 5bd29a413b Fix: not use last row scan when select tbname and last 2024-01-08 19:49:15 +08:00
Haojun Liao bbaaad6f1f fix(stream): add null ptr check. 2024-01-08 18:45:36 +08:00
Haojun Liao af9dc441b2 fix(stream): reset the saved value for fill-history task. 2024-01-08 18:40:06 +08:00
Haojun Liao 70c1e66959 fix(stream): release task after launch stream tasks. 2024-01-08 18:19:31 +08:00
factosea 45ec9fcbc8 fix: create param node from function node 2024-01-08 16:43:57 +08:00
Yihao Deng 4c5441da7e refactor stream code 2024-01-08 08:38:16 +00:00
Yihao Deng 1c28f53525 refactor stream code 2024-01-08 08:28:00 +00:00
Yihao Deng 1eee7b44e0 fix crash found on 3.1 2024-01-08 07:31:35 +00:00
factosea 8c3fe7cc70 fix: SColumnRefNode transfer to SelectFunction's param 2024-01-08 11:41:58 +08:00
Haojun Liao bb9edde79e fix(stream): add some logs. 2024-01-08 11:33:54 +08:00
slzhou 9646091492 fix: sort error due to out of space 2024-01-07 16:18:24 +08:00
Haojun Liao 5e32aea1f9 fix(stream): jump out of loop when downstream is blocking. 2024-01-07 00:27:18 +08:00
Haojun Liao 02f6c971fd fix(stream): check for not ready task when rsp returned. 2024-01-06 19:43:39 +08:00
Haojun Liao 522e688387 fix(stream): check if in restart procedure in call back. 2024-01-05 22:16:58 +08:00
Haojun Liao 2386f842fb enh(stream): remove sleep to opt perf. 2024-01-05 18:46:15 +08:00
Haojun Liao 33253cbb54 fix(stream): add null ptr check. 2024-01-05 18:13:35 +08:00
Haojun Liao 0c4b91dc72 enh(stream): start task async. 2024-01-05 17:55:39 +08:00
54liuyao 0b9e3c9871 fix stream state buff issue 2024-01-05 16:20:55 +08:00
Haojun Liao 1912de9b49 enh(stream): scan wal by using timer to trigger it. 2024-01-05 14:49:33 +08:00
dapan1121 f6c366ec53
Merge pull request #24298 from taosdata/fix/TD-28078-3.0
fix: check in client when create index
2024-01-05 14:48:48 +08:00
kailixu d3aee612e0 chore: code optimization 2024-01-05 13:08:16 +08:00
kailixu 81d8b9b98b test: add test case for create index 2024-01-05 00:35:29 +08:00
kailixu 6bac747ab9 Merge branch '3.0' into fix/TD-28078-3.0 2024-01-04 23:47:41 +08:00
Benguang Zhao a811a60ad4 enh: restore sync log store from snap on fsm state incomplete 2024-01-04 20:15:17 +08:00
Haojun Liao 0c8d5e3586 fix(stream): fix syntax error. 2024-01-04 19:20:50 +08:00
Haojun Liao 356b7093f5 fix(stream): fix syntax error. 2024-01-04 19:18:10 +08:00
Haojun Liao 14e90eb16e fix(stream): fix syntax error. 2024-01-04 19:15:51 +08:00
Haojun Liao 4df83e92cd fix(stream): fix syntax error. 2024-01-04 19:14:24 +08:00
Haojun Liao 6286e42f5c refactor: do some internal refactor. 2024-01-04 19:11:50 +08:00
Haojun Liao 33f698e926 fix(stream): remove invalid assert and add check for task status before launching related fill-history task. 2024-01-04 19:09:45 +08:00
Haojun Liao 6d37e596ec refactor: do some internal refactor. 2024-01-04 18:47:49 +08:00
Haojun Liao c494252002 fix(stream): record the related fill-history task failure. 2024-01-04 17:44:05 +08:00
Hongze Cheng 13834802ef
Merge pull request #24269 from taosdata/FIX/TD-28101-3.0
enh: send rsp msg on rejecting snap replication due to smaller term
2024-01-04 10:15:09 +08:00
dapan1121 670317ccd7
Merge pull request #24053 from taosdata/enh/3.0/TD-26813
enh: support group by tag/tbname to list empty groups
2024-01-04 09:08:03 +08:00
Bob Liu 860146d425 initRemainGroups 2024-01-03 23:59:48 +08:00
Haojun Liao 74df121cf5 fix(stream): fix the deadlock. 2024-01-03 22:29:46 +08:00