Commit Graph

23028 Commits

Author SHA1 Message Date
Haojun Liao 3923707826 fix(stream): fix memory leak. 2025-02-26 01:33:40 +08:00
Jinqing Kuang a987d925a1 fix(query)[TD-33833]: fix function projectApplyFunctions for null pointer handling 2025-02-25 15:48:25 +08:00
Shengliang Guan e429264432
Merge pull request #29884 from taosdata/enh/killtrans
enh(stream): auto kill checkpoint trans that last long time
2025-02-25 11:29:49 +08:00
Haojun Liao 8bcc8399e6 fix(stream): reset value. 2025-02-23 16:27:35 +08:00
Haojun Liao e378b5cb8a fix(stream): adjust scan timer 2025-02-23 03:42:44 +08:00
Haojun Liao 034c907ee1 refactor: do some internal refactor. 2025-02-23 01:38:05 +08:00
Haojun Liao 09b6642e45 refactor(stream): scan wal is driven by time, instead of insert events. 2025-02-22 12:33:32 +08:00
Haojun Liao 2228a9fc33
Merge branch 'main' into fix/checkfh 2025-02-21 11:11:36 +08:00
Haojun Liao 24cce3477f fix(stream): update the checkpoint info for follower anyway. 2025-02-21 10:00:55 +08:00
Haojun Liao 8c1ddb547f fix(query): check return value. 2025-02-21 02:24:00 +08:00
Haojun Liao ecc667c22b
Revert "refactor(stream): drop task in async ways" 2025-02-21 01:10:18 +08:00
Haojun Liao 306f6ebc93 fix(stream): clear start task info if no tasks exist. 2025-02-20 23:54:06 +08:00
Haojun Liao 4edc21e446 refactor(stream): disable error injection. 2025-02-20 17:42:50 +08:00
Haojun Liao 0a672f1b96 refactor(stream): update logs. 2025-02-20 16:55:10 +08:00
Shengliang Guan 42bafc0d47
Merge pull request #29848 from taosdata/fix/ly_stream
fix(tsma):drop invalid state for tsma
2025-02-20 15:04:03 +08:00
Shengliang Guan 0a9f5086f0
Merge pull request #29775 from taosdata/fix/analysis
refactor(stream): drop task in async ways
2025-02-20 13:38:53 +08:00
54liuyao 870fe1c071 fix(tsma):drop invalid state for tsma 2025-02-20 11:52:04 +08:00
factosea 168d497fc0 fix: rewrite orderby list 2025-02-17 18:09:36 +08:00
Haojun Liao c4cd6dd62d fix(stream): drop task in synch model in write thread. 2025-02-17 10:06:09 +08:00
Shengliang Guan 596e381e0e
Merge pull request #29779 from taosdata/fix/metanull
fix(stream): access value after null ptr check.
2025-02-17 09:36:09 +08:00
Haojun Liao 465e5eabd7 fix(stream): drop task in synch model in write thread. 2025-02-15 23:20:05 +08:00
Haojun Liao 25cdfa5ee9 refactor(stream): add long exec stream queue for history tasks in step1 and re-calculate task execution. 2025-02-14 18:34:20 +08:00
Haojun Liao 73ec4af4a7 Merge branch 'main' into fix/analysis 2025-02-14 15:37:11 +08:00
Shengliang Guan d6bd52ece7
Merge pull request #29750 from taosdata/enh/streamqueue
refactor(stream): add more operation handled in ctrl queue, and limit the stream input q size
2025-02-14 15:02:23 +08:00
Haojun Liao 297f248203 fix(stream): access value after null ptr check. 2025-02-14 14:34:08 +08:00
Haojun Liao fd96b096ea refactor(stream): drop task in async ways 2025-02-13 23:41:06 +08:00
Haojun Liao d4b19169ea fix(stream): fix double free when failed to send msg. 2025-02-12 15:33:50 +08:00
Haojun Liao 78e976caff refactor(stream): limit stream input q size. 2025-02-11 22:57:28 +08:00
Haojun Liao 9d0a4f88f3 refactor(stream): idle for 1s when exec for 5s. 2025-02-11 22:57:23 +08:00
Shengliang Guan 3298fe77bf
Merge pull request #29727 from taosdata/fix/TD-33640-3.0m
fix: keep_time_offset format of show create database
2025-02-11 14:24:21 +08:00
xinsheng Ren 4e8ded8745
Merge branch 'main' into fix/TS-5946/lfjoin 2025-02-10 20:25:31 +08:00
facetosea 56f988b16e fix: planner 2025-02-10 11:17:53 +00:00
Shengliang Guan dae17cd1b0
Merge pull request #29718 from taosdata/enh/streamqueue
refactor(stream): notify close stream in main thread
2025-02-10 18:44:27 +08:00
kailixu 12c9d460c4 fix: keep_time_offset format of show create database 2025-02-10 15:36:54 +08:00
kailixu 27963d0978 fix: keep_time_offset format of show create database 2025-02-10 14:21:44 +08:00
dapan1121 f8798e33b4 fix: join scan range error issue 2025-02-10 11:43:58 +08:00
Shengliang Guan d4dddb5fd7
Merge pull request #29713 from taosdata/fix/main/TS-5968
fix query information_schema report sync leader unreachable
2025-02-10 10:25:35 +08:00
Haojun Liao a2dcba10a7 refactor(stream): 1) notify closing in main thread. 2) not saving the halt status. 2025-02-09 01:42:24 +08:00
factosea 4ebf642369 splitFlag 2025-02-08 17:57:50 +08:00
dapan1121 8ce9e6ee1d fix: join condition push down issue 2025-02-08 17:14:48 +08:00
wangjiaming0909 490bce2605 fix query information_schema report sync leader unreachable 2025-02-08 16:19:02 +08:00
factosea cbc5212635 fix: split 2025-02-08 13:40:32 +08:00
factosea 6915166b06 test case 2025-02-08 00:15:35 +08:00
dapan1121 5bff0aa2a7 enh: support delete without time range 2025-02-06 18:00:26 +08:00
Haojun Liao 093233203d
Revert "refactor(stream): do some internal refactor ." 2025-01-24 17:11:15 +08:00
Shengliang Guan 3089e3d904
Merge pull request #29544 from taosdata/fix/tag
refactor(stream): do some internal refactor .
2025-01-24 16:27:22 +08:00
Linhe Huo bc0570f9ad
Merge pull request #29632 from taosdata/enh/analysis
enh(analysis): enable community edition to support anodes.
2025-01-24 15:33:16 +08:00
dapan1121 02b32eea16 fix: cquery not quit issue 2025-01-24 09:48:31 +08:00
Haojun Liao 2f6977dfda Merge branch 'main' into enh/analysis 2025-01-23 18:55:32 +08:00
dapan1121 bd450fe751 fix: add meta debug log 2025-01-23 16:12:54 +08:00
Shengliang Guan f6f08fa846
Merge pull request #29615 from taosdata/fix/disp_lost
fix(stream): check the checkpoint-report transId and checkpointId
2025-01-23 09:47:36 +08:00
Shengliang Guan 08e56fd27f
Merge pull request #29633 from taosdata/fix/TD-33551
enh: support ? in limit clause
2025-01-23 08:50:07 +08:00
dapan1121 463212513f fix: set operator limit issue 2025-01-22 18:06:03 +08:00
Shengliang Guan 3bbecbbba4
Merge pull request #29626 from taosdata/fix/TS-5932
fix: invalid subtable in tbname list
2025-01-22 17:24:03 +08:00
Haojun Liao d6dc966ed1 fix(analysis): fix compiler error on windows. 2025-01-22 15:12:43 +08:00
dapan1121 46a7ec74de fix: limit/offset translate issues 2025-01-22 14:48:04 +08:00
Jing Sima c2e15394d6 fix:[TS-5941] fix interpolate varchar/nchar data error 2025-01-22 13:40:26 +08:00
dapan1121 84c37d501a enh: support ? in limit clause 2025-01-22 11:45:12 +08:00
Haojun Liao 84580286ce enh(analysis): enable community edition to support anodes. 2025-01-22 11:11:06 +08:00
dapan1121 89cea7859a fix: invalid subtable in tbname in clause issue 2025-01-21 17:41:37 +08:00
Haojun Liao 3206c688ed fix(stream): fix syntax error. 2025-01-21 16:30:43 +08:00
Haojun Liao 0ea46585f4 fix(stream): update checkpoint-info after check the failed checkpointId, and update the consensus-checkpoint id in mnode. 2025-01-21 16:29:00 +08:00
Shengliang Guan 39f651e356
Merge pull request #29610 from taosdata/fix/main/TD-33570
fix:[TD-33570]return same error code
2025-01-21 15:54:50 +08:00
xiao-77 a4e88660db fix(rpc):use tsApplyMemoryAllowed to control memory alloc while apply msg. 2025-01-21 11:33:08 +08:00
pengrongkun94@qq.com 6588f9bec3 fix TD-33570 2025-01-20 17:09:41 +08:00
Shengliang Guan 75854c56a7
Merge pull request #29578 from taosdata/fix/elapsed/sma
enh: elapsed sma
2025-01-20 10:09:36 +08:00
Shengliang Guan 3b74de43cb
Merge pull request #29598 from taosdata/fix/disp_lost
fix(stream): adjust the free stream meta position and check the close flag
2025-01-20 09:17:03 +08:00
Haojun Liao c93fe999ba refactor(stream): injection error. 2025-01-18 01:26:49 +08:00
Haojun Liao 6274eea7c4 fix(stream): adjust the free stream meta position and check the close flag of streamMeta before starting scan wal. 2025-01-17 19:15:08 +08:00
Shengliang Guan 0268aae656
Merge pull request #29593 from taosdata/fix/contrib
enh: merge contrib test
2025-01-17 15:45:58 +08:00
Shengliang Guan d4ceb37f8c fix: ut errors 2025-01-17 13:44:21 +08:00
dmchen 2312ed4c28 fix/insert-when-2-replicas 2025-01-17 04:12:57 +00:00
Shengliang Guan 25f5b8673f fix: compile errors 2025-01-17 10:53:02 +08:00
Shengliang Guan e844ced5c1 Merge remote-tracking branch 'freemine/freemine.bypass.specific.test.case.for.community' into fix/contrib 2025-01-17 09:21:05 +08:00
Haojun Liao 29421c17d8 fix(stream): fix syntax error. 2025-01-16 17:48:26 +08:00
Haojun Liao eff1aff58e fix(stream): update the task last msgId when putting into input queue succ. 2025-01-16 17:16:31 +08:00
factosea 9fa1ac534d enh: elapsed sma 2025-01-15 17:54:39 +08:00
Shengliang Guan 6abfa0a442
Merge pull request #29570 from taosdata/fix/TS-5900/smaRequired
fix: sma required at string type
2025-01-15 17:21:21 +08:00
Shengliang Guan 97a091a8bb
Merge pull request #29567 from taosdata/fix/TS-5906
fix:[TS-5906]clear meta cache for subscription if tag is changed
2025-01-15 10:39:19 +08:00
factosea 11d34f728a fix: data load required 2025-01-14 17:06:22 +08:00
wangmm0220 cae21da2d4 fix:[TS-5906]clear meta cache for subscription if tag is changed 2025-01-14 15:35:43 +08:00
Shengliang Guan 5087e42933
Merge pull request #29512 from taosdata/fix/TS-5863/join
fix: join cols not set
2025-01-11 19:26:20 +08:00
Haojun Liao a3eea6fe1c fix(stream): fix race condition. 2025-01-10 14:11:15 +08:00
Haojun Liao 737138856c refactor(stream): track the msgId for each upstream tasks. 2025-01-10 11:29:17 +08:00
dapan1121 cdd8246c1e fix: qnode scale out issue 2025-01-10 10:22:58 +08:00
dapan1121 d047ec23fd fix: subplan type error and subplan scale out issue 2025-01-09 18:35:54 +08:00
WANG Xu 4e4331c654
Merge pull request #29477 from taosdata/test/main_TD33437
Increase TDengine/TDinternal script compatibility
2025-01-09 10:37:07 +08:00
Shengliang Guan 6e1b95932c
Merge pull request #29505 from taosdata/fix/main/TD-33470
fix:TD-33470 remove geom topo check and add some test
2025-01-09 10:35:42 +08:00
Haojun Liao d344228242 enh(stream): reduce the in-queue size to be 10MiB. 2025-01-08 19:11:41 +08:00
Shengliang Guan 2064bd1deb
Merge pull request #29492 from taosdata/fix/main/TD-33450
fix: correct error message when CREATE TABLE under system databases
2025-01-08 18:32:47 +08:00
Shengliang Guan 37eb686d7c
Merge pull request #29502 from taosdata/fix/main/TD-33457
Fix(cfg): resolve dynamic configuration update failure after rolling …
2025-01-08 17:31:13 +08:00
Shengliang Guan eaa815b512
Merge pull request #29500 from taosdata/fix/main/TD-33473
fix:[TD-33473] Fix cleanup percentile failed.
2025-01-08 16:01:41 +08:00
kailixu fc0a97c161 fix: ddl in system database 2025-01-08 15:58:58 +08:00
kailixu 22f46c2eb0 fix: ddl in system database 2025-01-08 15:39:47 +08:00
factosea 9277b0285f fix: error code 2025-01-08 15:24:04 +08:00
factosea e71ea69cdb fix: seqStableJoinComposeRes 2025-01-08 15:22:19 +08:00
Shengliang Guan 7421c95949
Merge pull request #29507 from taosdata/fix/TS-5878-main
fix(query)[TS-5878]: correct column name for SELECT * FROM subquery
2025-01-08 11:39:19 +08:00
factosea c85a57c055 fix: join cols not set 2025-01-08 11:24:24 +08:00
Shengliang Guan 756fcd17f7
Merge pull request #29494 from taosdata/fix/TS-5869
fix: alias not keep in view issue
2025-01-08 10:48:10 +08:00
xiao-77 872a24eb1e Fix valgrind errors. 2025-01-07 23:47:36 +08:00