Commit Graph

17381 Commits

Author SHA1 Message Date
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
factosea 8dc2a6bbd9 fix: orderby 2024-01-03 20:43:23 +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
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 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
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
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
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 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
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
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
Haojun Liao 8ac02adc0b refactor: do some internal refactor. 2023-12-29 17:42:23 +08:00
Bob Liu 7e1d59c565 sort 2023-12-29 16:22:41 +08:00
wangjiaming0909 90a8fe5581 fix: fill prev not working when desc fill 2023-12-29 15:08:56 +08:00
fullhonest 0a0f1a9d22 Fix TD-27989 2023-12-29 11:33:47 +08:00
Haojun Liao 50ce4f4455
Merge pull request #24257 from taosdata/fix/TD-28091
reset datablock window info
2023-12-29 09:04:41 +08:00
Haojun Liao a662f6d63f
Merge pull request #24262 from taosdata/fix/TD-28099
reset unclose window info
2023-12-29 09:04:31 +08:00
dapan1121 55b7bce8b7
Merge pull request #24256 from taosdata/szhou/fix/TD-28019
fix: change the result schema
2023-12-29 08:40:53 +08:00
Bob Liu e2b61a55fc refactor 2023-12-29 01:40:17 +08:00
Bob Liu 9f8f69a791 adjust 2023-12-28 21:54:16 +08:00
Benguang Zhao baa7f9c895 enh: adjust error msg as warn for not ready to propose etc 2023-12-28 17:29:49 +08:00
Benguang Zhao d83f85bf26 enh: send rsp msg on rejecting snap replication due to smaller term 2023-12-28 17:26:46 +08:00
Bob Liu 424ab1bbe3 support table merge scan 2023-12-28 16:18:38 +08:00
54liuyao 51cd8e9fb7 reset unclose window info 2023-12-28 15:34:13 +08:00
54liuyao 448b7c939f reset datablock window info 2023-12-28 11:09:38 +08:00
54liuyao f1304680c5 log 2023-12-28 11:09:03 +08:00
54liuyao c124bcf52f check block rows 2023-12-28 11:09:03 +08:00
slzhou 659c0a831e fix: change the result schema 2023-12-28 10:25:37 +08:00
Bob Liu a5f88a86e9 adjust 2023-12-28 09:45:01 +08:00
54liuyao 60271605ff Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2023-12-28 08:51:59 +08:00
Bob Liu abed781bd3 opt 2023-12-27 23:15:11 +08:00
Haojun Liao 646f24659e fix(stream): fix syntax error. 2023-12-27 22:58:08 +08:00
Haojun Liao 7eb0e42bb9 fix(stream): handle error when checkpoint is interrupted by nodeUpdate. 2023-12-27 22:57:58 +08:00
Bob Liu d795798648 count state 2023-12-27 21:37:00 +08:00
54liuyao 6e761232b2 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2023-12-27 15:57:53 +08:00
Bob Liu 158c5996df adjust case 2023-12-27 15:51:36 +08:00
wade zhang 0f7ad90845
Merge pull request #24227 from taosdata/FEAT/TD-27125-3.0
enh: retry on fsm commit when rpc out of memory in syncFsmExecute
2023-12-27 14:37:31 +08:00
54liuyao 382569591f log 2023-12-27 14:01:38 +08:00
54liuyao a46c921f68 check block rows 2023-12-27 11:29:03 +08:00
Bob Liu 86351d5487 check count & window 2023-12-27 01:05:04 +08:00
Bob Liu 42f9d54a70 adjust 2023-12-27 00:28:42 +08:00
Bob Liu 3faf1514f4 doGroupedTableScan 2023-12-26 20:47:15 +08:00
Haojun Liao e553b84904 fix(stream): fix syntax error. 2023-12-26 19:16:49 +08:00
Haojun Liao 5592e11235 fix(stream): handle error when checkpoint is interrupted by nodeUpdate. 2023-12-26 19:02:52 +08:00
54liuyao ccf861dec8 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/3_liaohj 2023-12-26 18:36:18 +08:00
54liuyao e2564a6189 fix issue 2023-12-26 18:35:49 +08:00
dapan1121 b9ae472ad1
Merge pull request #24212 from taosdata/szhou/fix/TD-28019
fix: change compact rsp first column name
2023-12-26 15:06:17 +08:00
Haojun Liao b74e98b25c fix(stream): set the correct split timestamp for session/state window. 2023-12-26 14:17:46 +08:00
Benguang Zhao 0e6ea7af71 enh: check snapshot begin index for unexpected change in syncNodeOnSnapshotBegin 2023-12-26 10:54:40 +08:00
Bob Liu 2c9fa56e9c calcNeedCountEmpty 2023-12-26 10:24:50 +08:00
54liuyao 68be2dc534 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2023-12-26 09:03:28 +08:00
Haojun Liao 62cfcefbb0 refactor: remove stream-scan-history event for stream task. 2023-12-26 00:34:04 +08:00
Haojun Liao 68795ecf35
Merge pull request #24225 from taosdata/fix/3_liaohj
fix(stream): handle the remaining event when restore from halt.
2023-12-25 22:52:25 +08:00
Benguang Zhao 7b967ffdc6 enh: retry on fsm commit when rpc out of memory in syncFsmExecute 2023-12-25 20:34:38 +08:00
54liuyao ac3c76f608 init dummy function 2023-12-25 19:38:20 +08:00
Haojun Liao f14c3b93c1 refactor: do some internal refactor. 2023-12-25 18:22:36 +08:00
dapan1121 7da93155aa
Merge pull request #24185 from taosdata/szhou/fix/TD-27899
fix: BI support is moved to open source version
2023-12-25 15:27:37 +08:00
Haojun Liao bcc57e0644
Merge pull request #24207 from taosdata/fix/3_liaohj
fix(stream): add async call restart, instead of sync wait, and fix several deadlock.
2023-12-25 13:56:42 +08:00
Haojun Liao 60977d56bd refactor: set attribute only on Linux 2023-12-25 12:47:16 +08:00
Bob Liu 15694df001 adjust 2023-12-25 11:54:10 +08:00
slzhou 1beb3347fa fix: change compact rsp first column name 2023-12-25 10:18:19 +08:00
wade zhang 40994c3fbd
Merge pull request #24174 from taosdata/FIX/TD-28001-3.0
enh: protect syncNodeRestore with log buffer mutex
2023-12-25 10:08:43 +08:00
wade zhang 1fc7a1a72e
Merge pull request #24128 from taosdata/FEAT/TD-27125-3.0
enh: protect processing of snap preparation rsp with sender buf mutex
2023-12-25 10:08:25 +08:00
Haojun Liao 0877e0bfad other: merge 3.0 2023-12-25 09:13:31 +08:00
Bob Liu da0ecc18b9 test 2023-12-25 02:51:52 +08:00
Bob Liu 52c244d9ec adjust 2023-12-24 23:48:37 +08:00
Haojun Liao cd85dae3fd fix(stream): fix the dead lock. 2023-12-24 23:30:00 +08:00
Haojun Liao bf895fadcb fix(stream): fix invalid read. 2023-12-24 03:05:29 +08:00
Haojun Liao 30498a4028 refactor: do some internal refactor. 2023-12-24 02:24:46 +08:00
Bob Liu c9b69316c1 calcNeedCountEmpty 2023-12-24 01:19:16 +08:00
Haojun Liao 25f798e42f fix(stream): record the start failure tasks 2023-12-23 23:29:30 +08:00
Alex Duan 659acfd5f3
Merge pull request #24196 from taosdata/coverage/alex
coverage: remove tfunctionInt.c
2023-12-23 16:39:49 +08:00
Haojun Liao c61203b55a fix: fix deadlock. 2023-12-23 16:37:21 +08:00
Haojun Liao 8a714db17d fix: fix deadlock. 2023-12-23 15:33:50 +08:00
Haojun Liao 5c1ff76082 fix(stream): set rwlock attr. 2023-12-23 00:58:52 +08:00
Haojun Liao 66bdace9eb fix(stream): check rsp. 2023-12-23 00:09:55 +08:00
Haojun Liao 80604ec8e2 fix(stream): init rwlock. 2023-12-22 23:31:51 +08:00
Bob Liu ef5b5786b3 adjust 2023-12-22 18:14:26 +08:00
Bob Liu e3098accc4 support count empty table 2023-12-22 18:14:26 +08:00
Haojun Liao b175a4b7b3 refactor(stream): async stop tasks, and do some internal refactor. 2023-12-22 17:56:16 +08:00
fullhonest e13b3b9ceb Fix TD-27989: percentile crash 2023-12-22 17:51:16 +08:00
Alex Duan a71fabb24f coverage: remove tfunctionInt.c 2023-12-22 17:50:55 +08:00
dapan1121 709b7f4683
Merge pull request #24181 from taosdata/fix/TD-27967_TD-28004
fix: cache scan heap overflow and forbid DDD for to_char in windows
2023-12-22 16:54:46 +08:00
Haojun Liao 7ce545bcd4 refactor: refactor the lock type. 2023-12-22 16:14:49 +08:00
Haojun Liao dce0a6c74a fix(stream): remove invalid assert 2023-12-22 15:24:37 +08:00
Haojun Liao e91afa7df2 fix(stream): fix deadlock. 2023-12-22 14:51:04 +08:00
Haojun Liao 90898a16e0 refactor: do some internal refactor. 2023-12-22 13:57:15 +08:00
slzhou 7dd6cb4227 fix: move bi to community version 2023-12-22 13:17:25 +08:00
dapan1121 ceedd5b051
Merge pull request #24170 from taosdata/szhou/fix/TS-4382
fix: the pre-allocated column has no data to copy
2023-12-22 12:31:07 +08:00
Yihao Deng f557d86609
Merge branch '3.0' into fix/initBackendHashmutex 2023-12-22 10:51:54 +08:00
Haojun Liao c9475060de fix(stream): fix race condition. 2023-12-22 09:34:49 +08:00
wangjiaming0909 153221e1d6 fix: cache scan heap overflow and forbid DDD for to_char in windows 2023-12-21 19:46:33 +08:00
Haojun Liao 84583580e2 fix(stream): transfer the checkpoint trans id. 2023-12-21 19:12:49 +08:00
Haojun Liao 949ff6b18c
Merge pull request #24168 from taosdata/fix/TD-27979
fix:[TD-27979] init mutux
2023-12-21 18:38:02 +08:00
Benguang Zhao 4137a44fd0 enh: protect syncNodeRestore with log buffer mutex 2023-12-21 17:49:20 +08:00
slzhou 094c6cdfb4 fix: the pre-allocated column has no data to copy 2023-12-21 16:31:35 +08:00
Haojun Liao 2acc8423c5 fix(stream): send msg to mnode before closing all tasks. 2023-12-21 16:00:50 +08:00
wangmm0220 13851a60a4 fix:[TD-27979] init mutux 2023-12-21 15:26:41 +08:00
Alex Duan 1fa6cb8f69 coverage: isRowEntryCompleted had been called 5200w hits 2023-12-21 15:10:21 +08:00
Haojun Liao 8a8ddf5699 fix(stream): record the checkpoint failure when nodeEp changed. 2023-12-21 10:30:44 +08:00
Haojun Liao 32ce4b6a4c fix(stream): fix race condition. 2023-12-20 23:12:59 +08:00
Haojun Liao 64eee4bbd2 fix(stream): add conflict check for nodeUpdate 2023-12-20 19:06:32 +08:00
Haojun Liao 849aaf8d4f fix(stream): avoid dead lock. 2023-12-20 18:07:53 +08:00
yihaoDeng d6297e26ce init backend mutex 2023-12-20 16:56:12 +08:00
dapan1121 cd044137a0
Merge pull request #24130 from taosdata/fix/3.0/TD-27945
fix: session window block row index overflow
2023-12-20 16:13:47 +08:00
Haojun Liao 43fb7cf14a other: add log info. 2023-12-20 16:04:20 +08:00