Commit Graph

5997 Commits

Author SHA1 Message Date
xinsheng Ren 8453726080
fix: when querying super table, using ORDER BY and LIMIT together may return an unexpected record.
* fix: limit error

* fix: limit error, test case.
2025-03-18 13:58:30 +08:00
Haojun Liao ab92886820
fix(stream): reduce the consensus checkpoint id trans. (#30105)
* fix(stream): reduce the consensus checkpoint id trans.

* refactor(stream): add some logs.

* refactor(stream): set the max checkpoint exec time 30min.

* refactor(stream): add checkpoint-consensus trans conflict check.

* refactor(stream): remove unused local variables.

* fix(stream): fix syntax error.

* fix(stream): 1. fix free memory error 2. continue if put result into dst hashmap failed.

* fix issue

* fix issue

* fix(mnd): follower mnode not processes the timer event.

* fix(stream): print correct error msg.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): truncate long subtable name

* fix(stream): add buffer len.

* refactor(stream): update some logs.

* fix issue

* refactor(stream): update some logs.

* refactor(stream): update some logs.

* fix(stream): check return value.

* fix(stream): fix syntax error.

* fix(stream): check return value.

* fix(stream): update the timer check in mnode.

* fix(stream): add restart stage tracking.

* fix(stream): track the start task stage for meta.

* fix(stream): fix error in log.

* refactor(stream): adjust log info.

* fix mem issue

* fix(stream): check the number of required tasks for consensus checkpointId.

* fix(stream): lock the whole start procedure.

* fix(stream): add lock during start all tasks.

* fix(stream): update logs.

* fix(stream): update logs.

* fix(stream): update logs.

* fix(stream): fix dead-lock.

* fix(stream): fix syntax error.

* fix(stream): not drop the scan-history task.

* fix(stream): fix syntax error.

* fix(stream): wait for executor stop before restarting.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): disable some logs.

* fix(stream): reset the start info if no task left.

---------

Co-authored-by: 54liuyao <54liuyao@163.com>
Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com>
2025-03-17 10:20:17 +08:00
facetosea 8fbd28eb6e fix: state col precal 2025-03-12 14:33:18 +08:00
54liuyao 1ddc510976 fix(stream): fix stream mem leak 2025-03-10 16:28:28 +08:00
Haojun Liao 24882459e3 chore: merge main 2025-03-05 13:40:44 +08:00
Haojun Liao 2c92cca603 test(analytics): add test case and set the unit to be second. 2025-03-04 23:31:02 +08:00
Haojun Liao 450561226a fix(analytics): fix syntax error. 2025-03-04 14:02:21 +08:00
Haojun Liao 0e37b45e06 fix(analytics): fix syntax error. 2025-03-04 13:56:39 +08:00
Haojun Liao 9139f3cb47 fix(analytics): fix syntax error. 2025-03-04 13:44:56 +08:00
Haojun Liao 8c035a930a refactor(analytics): do some internal refactor. 2025-03-04 13:40:33 +08:00
Haojun Liao f85347b311 fix(analysis): fix syntax error. 2025-03-03 23:44:21 +08:00
Haojun Liao 19f09d679d feat(stream): add timeout parameter. 2025-03-03 23:05:14 +08:00
Haojun Liao 96cd36900a fix(analysis): fix syntax error. 2025-03-03 18:28:17 +08:00
Haojun Liao f563a35b3f fix(stream):check the maximum allowed forecast rows, add one test case, and do some internal refactor. 2025-03-03 17:27:05 +08:00
Haojun Liao ac667164ed refactor: do some internal refactor. 2025-03-03 16:20:58 +08:00
Simon Guan 1ae2bb28e8
Merge pull request #29954 from taosdata/enh/killtrans
enh(stream): not waiting during drop stream tasks.
2025-02-28 10:40:53 +08:00
54liuyao 9d3a00920e fix(stream): fix mem leak && rebuild event window when the window end flag is modified 2025-02-27 11:23:40 +08:00
Haojun Liao 11e7126f98 Merge branch 'main' into enh/killtrans 2025-02-27 00:35:28 +08:00
Haojun Liao 786ee101cd other: merge main. 2025-02-27 00:18:25 +08:00
Haojun Liao bf1f162aa0 fix(stream): drop task in synch model in write thread. 2025-02-27 00:15:36 +08:00
Haojun Liao 012ee53d35 fix(stream): drop task in synch model in write thread. 2025-02-27 00:15:31 +08:00
Haojun Liao 45b0e47a19 refactor(stream): add long exec stream queue for history tasks in step1 and re-calculate task execution. 2025-02-27 00:15:03 +08:00
Haojun Liao c14ba08d7c refactor(stream): drop task in async ways 2025-02-27 00:12:11 +08:00
Jinqing Kuang a987d925a1 fix(query)[TD-33833]: fix function projectApplyFunctions for null pointer handling 2025-02-25 15:48:25 +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
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
54liuyao 870fe1c071 fix(tsma):drop invalid state for tsma 2025-02-20 11:52:04 +08:00
Haojun Liao c4cd6dd62d fix(stream): drop task in synch model in write thread. 2025-02-17 10:06: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 fd96b096ea refactor(stream): drop task in async ways 2025-02-13 23:41:06 +08:00
Haojun Liao 2f6977dfda Merge branch 'main' into enh/analysis 2025-01-23 18:55:32 +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
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
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
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
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
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
factosea c85a57c055 fix: join cols not set 2025-01-08 11:24:24 +08:00
Jing Sima 794ab3ae16 fix:[TD-33473] Fix cleanup percentile failed. 2025-01-07 14:59:51 +08:00
Shengliang Guan 0312435deb
Merge pull request #29390 from taosdata/enh/TS-4994-more-test-case
Enh/ts 4994 more test case
2024-12-29 22:14:40 +08:00
Shengliang Guan 5bb7be712d
Merge pull request #29376 from taosdata/fix/cov
test: update test cases and fix related bugs.
2024-12-28 16:19:40 +08:00
Shengliang Guan ec2c8c435e
Revert "Enh:[td 29974]improve trans" 2024-12-27 22:26:43 +08:00