Commit Graph

29585 Commits

Author SHA1 Message Date
wangjiaming0909 686108050b fix: table merge scan return disordered rows 2024-01-11 09:57:35 +08:00
Haojun Liao f6c0649108 fix(stream): fix syntax error. 2024-01-11 09:53:19 +08: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 0ab308ef79
Merge pull request #24418 from taosdata/fix/TD-28185
fix:[TD-28185]add pause & resume logic for snode
2024-01-11 09:40:49 +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
wangmm0220 216830f8b4 fix:[TD-28185]add pause & resume logic for snode 2024-01-10 20:33:13 +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
wangmm0220 27b63b721f fix:decode mqDataMsg error for the message with old version 2024-01-10 17:36:51 +08:00
slzhou ba2ba0a8cb fix: time window computation error 2024-01-10 16:19:20 +08:00
wangmm0220 02c7bdd4f0 fix:[TD-28032]fsdfasd 2024-01-10 14:57:16 +08:00
Yihao Deng 3f0236ec17 opt msg on mnode 2024-01-10 06:18:39 +00:00
Yihao Deng 2537adb728 opt msg on mnode 2024-01-10 06:00:44 +00:00
Haojun Liao b0202bb853 fix(tsdb): open reader during resume task for main reader after suspending reader. 2024-01-10 13:44:21 +08:00
Haojun Liao e8aea42498 fix(tsdb): open reader during resume task for main reader after suspending reader. 2024-01-10 13:42:36 +08:00
Benguang Zhao 485bad1ebd refact: use config syncSnapReplMaxWaitN instead 2024-01-10 11:31:00 +08:00
Haojun Liao 1b6d55616f fix(stream): fix syntax error. 2024-01-10 11:28:06 +08:00
Haojun Liao eac0d14868 fix(stream): add check when merging rows from files and buffer. 2024-01-10 11:02:44 +08:00
yihaoDeng 9dbddeed16 opt msg on mnd 2024-01-10 10:03:38 +08:00
Haojun Liao 9d0d0d9ddc Merge branch '3.0' into fix/3_liaohj 2024-01-10 09:57:46 +08:00
Haojun Liao 273e47a1fb
Merge pull request #24405 from taosdata/fix/optMsgOnMnd
opt msg on mnode
2024-01-10 09:43:48 +08:00
Haojun Liao 2b3ad002f5
Merge pull request #24401 from taosdata/fix/TD-28142-3.0
opti:[TD-28142]memory size if block num is too large
2024-01-10 09:40:07 +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
dapan1121 9b49bdeba8
Merge pull request #24399 from taosdata/fix/TS-4422-3.0
fix: get expired user for each cluster
2024-01-09 19:35:36 +08:00
Yihao Deng 220cef4a61 opt msg on mnode 2024-01-09 11:02:10 +00:00
Benguang Zhao 7979d4532b enh: let max num of concurrent msgs of snap replication be configurable 2024-01-09 16:49:27 +08:00
Hongze Cheng 7fa06df958
Merge pull request #24395 from taosdata/fix/TD-28208
fix(tsdb/cache): destory brin block with fs loading
2024-01-09 16:31:41 +08:00
wangmm0220 6444af84e4 opti:[TD-28142]memory size if block num is too large 2024-01-09 16:28:58 +08:00
kailixu 404e17e677 fix: get expired user for each cluster 2024-01-09 16:18:55 +08:00
Minglei Jin d93b4f88b3 fix(tsdb/cache): destory brin block with fs loading 2024-01-09 15:23:15 +08:00
Hongze Cheng a518cba133
Merge pull request #24380 from taosdata/fix/TD-28134-3.0
fix: possible race condition
2024-01-09 09:47:01 +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
Hongze Cheng 5e45ecd3fd fix: possible race condition 2024-01-08 16:46:07 +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
dapan1121 003e4a886d
Merge pull request #24360 from taosdata/szhou/fix/TD-28169
fix: sort error processing of out of space
2024-01-08 14:35:52 +08:00
dapan1121 6d8637fcf3
Merge pull request #24364 from taosdata/fix/xsren/TD-28165/wildcard2
fix: wildcard character in both target and pattern
2024-01-08 14:34:13 +08:00
Haojun Liao 3bcd038b7d refactor: not reload info from disk when trying to restart stream tasks. 2024-01-08 14:04:36 +08:00
factosea 8c3fe7cc70 fix: SColumnRefNode transfer to SelectFunction's param 2024-01-08 11:41:58 +08:00
Haojun Liao f7ab55fb71
Merge pull request #24342 from taosdata/fix/TD-28155
fix:[TD-28155] set consumer lost if all current topic is 0
2024-01-08 11:39:16 +08:00
Haojun Liao 275e2d6f94 refactor: do some internal refactor. 2024-01-08 11:34:47 +08:00
Haojun Liao bb9edde79e fix(stream): add some logs. 2024-01-08 11:33:54 +08:00
wade zhang 399587511a
Merge pull request #24348 from taosdata/fix/TD-28073-3.0
fix/TD-28073
2024-01-08 09:59:35 +08:00
factosea c5932c9d1c fix: wildcard character in both target and pattern 2024-01-08 01:13:53 +08:00
slzhou 9646091492 fix: sort error due to out of space 2024-01-07 16:18:24 +08:00
Haojun Liao a024fe960c fix(stream): fix deadlock. 2024-01-07 14:53:17 +08:00
Haojun Liao 29219ba9f4 fix(stream): add task number check. 2024-01-07 01:32:50 +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 cfda97beef refactor: disable commit temp 2024-01-06 15:27:48 +08:00
Haojun Liao 23341e1bdf refactor: opt perf by avoid save tasks during restoring 2024-01-05 22:58:43 +08:00
Haojun Liao 445605ed22 refactor: do some internal refactor. 2024-01-05 22:35:56 +08:00
Haojun Liao 522e688387 fix(stream): check if in restart procedure in call back. 2024-01-05 22:16:58 +08:00
wangmm0220 f2a1d24ab1 fix:[TD-28155] set consumer lost if all current topic is 0 2024-01-05 19:28:40 +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
dmchen 8ddff2eecb fix/TD-28073 2024-01-05 07:02:16 +00: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
wade zhang a4f68411ed
Merge pull request #24332 from taosdata/ENH/TD-25112-3.0
enh: use learner in split vgroup
2024-01-05 14:26:27 +08:00
wade zhang cab9a243de
Merge pull request #24334 from taosdata/ENH/TD-26498-3.0
enh: allow to drop an empty dnode, no matter online or not
2024-01-05 14:16:50 +08:00
wade zhang 6239fe7a95
Merge pull request #24339 from taosdata/FEAT/TS-3816-3.0
enh: restore sync log store from snap on fsm state incomplete
2024-01-05 14:15:22 +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
Hongze Cheng df74b2d755
Merge pull request #24284 from taosdata/fix/TD-27988
fix: remove useless code
2024-01-04 19:03:45 +08:00
wangmm0220 bd64a78094 fix:[TD-28155] set consumer lost if all current topic is 0 2024-01-04 18:53:37 +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
Benguang Zhao b85f36bcea enh: allow to drop an empty dnode, no matter online or not 2024-01-04 12:00:49 +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
Benguang Zhao f4ad4ea998 enh: use learner in split vgroup 2024-01-04 10:01:05 +08:00
wade zhang 5aae347566
Merge pull request #24330 from taosdata/fix/TS-4419
fix: refactor logdebugs
2024-01-04 09:58:51 +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 1e3aad8883 refactor: do some internal refactor. 2024-01-03 23:57:33 +08:00
Haojun Liao 74df121cf5 fix(stream): fix the deadlock. 2024-01-03 22:29:46 +08:00
wangmm0220 df70a6ef57 fix:[TD-28032]concat subtable and hash val as new subtable name to avoid data from multi time line write to one time line 2024-01-03 21:11:26 +08:00
factosea 8dc2a6bbd9 fix: orderby 2024-01-03 20:43:23 +08:00
Shungang Li de631e20a5 fix: refactor logdebugs 2024-01-03 19:57:22 +08:00
wangmm0220 b200e6807f fix:[TD-28032]concat subtable and hash val as new subtable name to avoid data from multi time line write to one time line 2024-01-03 19:44:30 +08:00
Haojun Liao 3fea717373 fix(stream): discard the orphan tasks. 2024-01-03 19:28:49 +08:00
Haojun Liao b06ccc0ca7 fix(stream): cleanup the checkpoint trans & task info in execInfo 2024-01-03 19:18:06 +08:00
wangmm0220 317f0c6a39 fix:[TD-28032]concat subtable and hash val as new subtable name to avoid data from multi time line write to one time line 2024-01-03 18:48:54 +08:00
factosea b6b2a41d83 fix: columnrefnode 2024-01-03 18:30:57 +08:00
Haojun Liao 4399867e14 fix(stream): fix the not running bug. 2024-01-03 18:28:23 +08:00
Haojun Liao 4138692cea fix(stream): scan wal data files. 2024-01-03 18:16:18 +08:00
Haojun Liao 185fa75376 enh(stream): add task into timer to be idle during exec when the corresponding output queue is full. 2024-01-03 17:59:42 +08:00
Bob Liu b818faaa5e remainGroups 2024-01-03 17:51:27 +08:00
dapan1121 f0fbffa772
Merge pull request #24301 from taosdata/fix/3.0/TD-28104
fix: last table scan reported invalid param when col was dropped which
2024-01-03 15:47:33 +08:00
Haojun Liao 284ef7d085 fix(stream): remove the related checkpoint trans when trying to drop stream. 2024-01-03 14:44:04 +08:00
Haojun Liao a2e85c44c2
Merge pull request #24228 from taosdata/fix/3_liaohj
refactor: remove stream-scan-history event for stream task.
2024-01-03 14:43:20 +08:00
Benguang Zhao de5f9b351f enh: use learner in redistribute vgroup 2024-01-03 11:49:05 +08:00
Haojun Liao 453d3e8a30 fix(stream): fix dead lock on windows. 2024-01-03 10:50:38 +08:00
wangmm0220 ab262550d1 fix:[TD-28032]concat subtable and hash val as new subtable name to avoid data from multi time line write to one time line 2024-01-03 10:37:05 +08:00
wangmm0220 9ba2f71487 fix:[TD-28032]concat subtable and hash val as new subtable name to avoid data from multi time line write to one time line 2024-01-03 10:16:43 +08:00
Haojun Liao 6c7683dba6
Merge pull request #24310 from taosdata/fix/crash_stream
fix(tsdb): check if stt blocks are clean before building data blocks.
2024-01-02 21:30:28 +08:00
factosea 34e62d7fc0 fix: columanRefNode illegal type conversion 2024-01-02 20:22:15 +08:00
wangmm0220 8add4dc177 fix:[TD-28032]concat subtable and hash val as new subtable name to avoid data from multi time line write to one time line 2024-01-02 18:37:29 +08:00
Haojun Liao 5bbf12c2c9 fix(tsdb): check if stt blocks are clean before building composed data blocks. 2024-01-02 18:35:17 +08:00
Haojun Liao 2387d5bade refactor: do some internal refactor. 2024-01-02 17:10:12 +08:00
Haojun Liao 29afc2ad6a fix(stream):add jump condition for loop. 2024-01-02 15:48:08 +08:00
Bob Liu 85ba9a4a5f remainGroups 2024-01-02 15:45:03 +08:00
Haojun Liao 039aef3471
Merge pull request #24300 from taosdata/fix/TD-28110
fix:error msg is not specific in create stream
2024-01-02 14:53:44 +08:00
54liuyao afc2a346e5 reset update info 2024-01-02 14:23:41 +08:00
dapan1121 06e3d8df1d
Merge pull request #24282 from taosdata/fix/3.0/TS-4411
fix: fill prev not working when desc fill
2024-01-02 13:07:21 +08:00
Haojun Liao e7a0044502 Merge branch '3.0' into fix/3_liaohj 2024-01-02 13:02:55 +08:00
dapan1121 5569f6a959
Merge pull request #24288 from taosdata/FIX/TD-27939
Fix error about sub query is empty when where 1=2
2024-01-02 11:50:44 +08:00
Haojun Liao 4368bfb20a fix(stream): fix dead lock. 2024-01-02 11:40:29 +08:00
dapan1121 4dc31987a4
Merge pull request #24246 from taosdata/FIX/TD-27989
Fix: taosd crashed at tpercentile.c 382,377
2024-01-02 11:10:42 +08:00
Haojun Liao b3d8f4e9d6 fix(stream): fix a typo. 2024-01-02 10:39:01 +08:00
Haojun Liao 59642c674d
Merge pull request #24254 from taosdata/fix/TS-3491-3.0
fix:[TS-4391] rebalance cnt always 1 if msg lost
2024-01-02 10:34:41 +08:00
Haojun Liao 3dcdad4464 Merge remote-tracking branch 'origin/fix/3_liaohj' into fix/3_liaohj 2024-01-02 10:33:46 +08:00
Haojun Liao d217412691 fix(stream): avoid race condition in starting threads. 2024-01-02 10:33:25 +08:00
wangjiaming0909 be0d35a5af fix: last table scan reported invalid param when col was dropped which
should report invalid col
2024-01-02 10:20:04 +08:00
Haojun Liao d5a9d0de46
Merge pull request #24272 from taosdata/mark/3.0
fix:set error msg if build consumer error
2024-01-02 10:15:02 +08:00
54liuyao c787535693 fix session state issue 2024-01-02 10:11:22 +08:00
wangmm0220 0e9a1b22ed fix:error msg is not specific in create stream 2024-01-02 10:10:44 +08:00
fullhonest e79516ade3 Fix TD-27939: error for sub query is empty when where 1=2 2024-01-02 10:02:30 +08:00
kailixu ecf3a7b6d3 fix: code optimization 2024-01-02 00:28:30 +08:00
kailixu 0d26c186f0 chore: code optimization 2024-01-02 00:23:19 +08:00
kailixu 40205541a6 fix: check in client when create index 2024-01-02 00:19:23 +08:00
Alex Duan 28238fa7dc coverage: no call function with BUILD_NO_CALL MACRO define 2023-12-31 18:29:37 +08:00
Bob Liu 673d3bc376 arrangeTableGroup 2023-12-31 13:15:05 +08:00
Alex Duan 1debd50a57
Merge pull request #24290 from taosdata/case/TD-18808-3.0
s3 with minio add test case  server on 192.168.1.52
2023-12-30 20:47:07 +08:00
Alex Duan 1e8244f3c6 feat: add s3 minio ci case 2023-12-30 10:31:15 +08:00