TDengine/source/dnode/mnode/impl/inc
liuyao 2de6736160
feat(stream): add new trigger continuous_window_close (#30125)
* opt stream build twa result

* opt force window close memory

* feat(stream):optimize new interval and scan operator

* adj log

* opt code

* opt code

* fill history

* fix issue for fill history

* add ci

* feat(stream): add new stream nonblock interval operator

* adjust code

* use new scan operator

* use new scan operator

* add log

* fix issue

* recover stream scan next function

* fix issue

* fix issue

* fix issue

* ignore disorder data

* fix issue

* fix issue for interval sliding

* fix issue

* fix ci issue

* fix ci issue

* fix ci issue

* add semi && final nonblock interval operator

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* refactor(stream): track the msgId for each upstream tasks.

* fix(stream): fix race condition.

* fix(stream): update the task last msgId when putting into input queue succ.

* fix issue

* fix issue

* put recalculate data to rocksdb

* fix issue

* fix issue

* enh(query)[TD-33071]: add support for saving and restoring tsdbReader scan progress

- Implement functionality to save scan progress during tsdbReader operations
- Enable resuming scans from the last saved position

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* add rec interval check

* enh(stream):add recalculate tasks.

* enh(stream): support the re-calculate the tasks.

* fix issue && do refactor

* do refactor

* fix issue

* fix issue

* update backend opt

* add new interface

* add new session operator

* support blob

* add new session operator

* fix issue

* add rec state for rec task

* fix invalid read

* add new session window

* enh(stream): update the stream tasks backend.

* new session operator

* add pull data

* fix(stream): fix error in expand stream backend.

* fix issue

* fix issue

* fix issue

* merge code

* fix issue

* fix(stream): check for null ptr.

* fix(stream): add more check.

* fix issue

* fix issue

* fix issue

* add debug code

* fix issue

* fix issue

* fix issue

* set rec end flag

* fix(stream): opt re-calculate stream tasks.

* fix issue

* fix issue

* add new operator

* enh(stream): dispatch recalculate block to agg tasks.

* fix issue

* fix issue

* fix(stream): adjust filter.

* fix issue

* refactor

* refactor(stream): adjust the recalculate end block.

* fix issue

* fix(stream): set correct create trigger block.

* fix issue

* fix(stream): fix error in build recalculate end block.

* fix(stream): check null ptr.

* add stream client && fix issue

* fix mem leak

* fix(stream): free msg.

* add stream client

* fix(stream): fix error.

* add stream client && fix issue

* add stream client

* refactor(stream): set the recalculate task complete.

* add wend and group_id for session window dest table

* feat(stream): refactor and set the recalcul agg task complete.

* add cfg for adapter

* fix issue

* add state && event operator

* feat(stream): support fill-history task.

* add new fill operator

* fix(stream): set correct backend when updating fill-history task to recalculate task.

* add new fill operator

* fix(stream): s2025-03-06 11:10:31.272
et ops always open in scan tsdb

* fix(stream):set the correct taskType for sink task.

* new fill operator

* adj stream fill operator

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* adj test

* fix issue

* fix(stream): fix issue

* fix(steam): fix issue

* fix(steam): fix issue

* fix(steam): fix issue

* fix(steam): fix issue

* fix(stream): fix issue

* fix(stream): fix issue

* fix(stream): fix issue

* fix: ut com error

* fix(stream): fix mem leak and adjust operator type check rule

* fix(stream): fix mem leak and adjust test case

* refactor code

* fix(stream): free items.

* fix(stream): free fix memory leak.

* fix(stream): fix syntax error.

* fix: ignore unexpect block

* fix: adjust op type

---------

Co-authored-by: Haojun Liao <hjliao@taosdata.com>
Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com>
Co-authored-by: yihaoDeng <luomoxyz@126.com>
2025-03-14 20:14:01 +08:00
..
mndAcct.h TD-10431 rename some funcs 2021-11-29 13:29:13 +08:00
mndAnode.h enh(analysis): add the algorithm in telemetry report. 2025-01-23 00:29:18 +08:00
mndArbGroup.h fix/TS-5805-check-arb 2024-12-25 02:43:51 +00:00
mndCluster.h feat: support uniq grant 2024-01-22 13:20:15 +08:00
mndCompact.h fix/TD-30742 2024-08-02 04:46:30 +00:00
mndCompactDetail.h more code 2024-11-13 16:17:16 +08:00
mndConfig.h Move rebuild config sdb to after restored. 2024-12-17 11:22:38 +08:00
mndConsumer.h fix:[TD-TD-31308] error code if topic not exist 2024-08-08 09:46:00 +08:00
mndDb.h more code 2024-11-08 11:13:37 +08:00
mndDef.h feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
mndDnode.h Merge branch '3.0' into enh/3.0/TD-31709 2024-12-16 10:00:02 +08:00
mndFunc.h TD-10431 rename some funcs 2021-11-29 13:29:13 +08:00
mndGrant.h feat: support uniq grant 2024-02-13 23:17:05 +08:00
mndIndex.h enh: change redo logs of trans create-stb-index and drop-index as prepare logs 2024-02-23 10:22:58 +08:00
mndIndexComm.h fix iter and case 2023-02-18 18:24:10 +08:00
mndInfoSchema.h feat: system table visible permission 2022-08-24 17:36:10 +08:00
mndInt.h enh: adjust some logs 2025-02-27 09:55:11 +08:00
mndMnode.h feat/restore dnode 2023-05-09 17:15:37 +08:00
mndPerfSchema.h format more code 2022-10-13 11:56:16 +08:00
mndPrivilege.h feat:[TD-28247]add grant for subscribe and stream 2024-01-25 16:07:09 +08:00
mndProfile.h mnode monitor 2022-03-03 20:23:53 +08:00
mndQnode.h feat/restore dnode 2023-05-09 17:15:37 +08:00
mndQuery.h fix: fix coverity check issues 2022-10-17 19:48:36 +08:00
mndScheduler.h fix(stream): take ver snapshot for all vgroups before launching stream with fill-history option opened. 2024-02-01 11:37:57 +08:00
mndShow.h fix/TD-31891-remove-void-stb 2024-09-05 09:58:02 +00:00
mndSma.h tsma avoid fetching tsma for no tsma tables 2024-04-16 14:25:34 +08:00
mndSnode.h enh: force drop dnode 2022-10-31 17:29:24 +08:00
mndStb.h fix/TD-31891-remove-void-stb 2024-09-05 09:58:02 +00:00
mndStream.h refactor(stream): stop all tasks before drop vnodes. 2025-03-02 02:06:14 +08:00
mndSubscribe.h fix:[TD-31017]process return value in mnode for tmq 2024-07-22 17:30:49 +08:00
mndSync.h refact: post sem in mnode while sync timeout 2022-12-13 11:11:22 +08:00
mndTelem.h TD-10431 rename some funcs 2021-11-29 13:29:13 +08:00
mndTopic.h fix:[TD-31115] add consumer check when drop topic or group in tmq 2024-08-06 19:27:42 +08:00
mndTrans.h Revert "Revert "Revert "Revert "Enh:[td 29974]improve trans"""" 2024-12-29 19:40:32 +08:00
mndUser.h enh: return error code 2024-07-22 15:29:37 +08:00
mndVgroup.h support meta_only option 2025-02-25 17:57:25 +08:00
mndView.h feat: support view meta updating 2023-10-13 16:29:34 +08:00