Commit graph

332 commits

Author SHA1 Message Date
facetosea
d1bd2b3ee8 fix: group key buff length 2025-07-05 14:23:39 +08:00
Pan Wei
f6ab877e05
fix: case memory issues (#31621)
* enh: add operator reset func

* fix: merge join reset issue

* fix: memory issues

* fix: add debug assert

* fix: memory issues

* fix: memory leak

* fix: memory issues

* fix taos log miss

* fix: case issue

* fix: case issue

* fix: case issues

* fix: drop dnode issue

* fix: memory issues

* fix: memory issues

---------

Co-authored-by: huohong <sallyhuo@taosdata.com>
2025-07-03 13:26:22 +08:00
dapan1121
b6e07d7cb5 fix: reader crash issue 2025-06-27 13:44:23 +08:00
wangmm0220
2b2178e5e6 fix(stream): add logic of resetting operator 2025-06-18 17:39:59 +08:00
wangjiaming0909
9bd7381978 stream-runner: runner impl 2025-05-10 15:42:05 +08:00
wangjiaming0909
1ccc6c69a8 new-stream: runner impl 2025-04-29 15:31:17 +08:00
dapan1121
330cf9982d fix: compile issues 2025-04-24 09:11:54 +08:00
wangjiaming0909
163dd33a0a new-stream: impl stream runner 2025-04-16 18:16:55 +08:00
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
Simon Guan
43ca6d5f9e refactor: adjust some logs 2025-02-28 16:49:46 +08:00
Simon Guan
76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +08:00
dapan1121
2bd493f77b fix: return code issues 2024-12-11 19:18:50 +08:00
dapan1121
011ff04234 fix: scheduler dead lock issue 2024-12-05 18:07:37 +08:00
wangjiaming0909
2ddd07142a remove logs 2024-11-08 09:50:32 +08:00
wangjiaming0909
9a92c136ce fix drop child table with tsma 2024-11-08 09:47:47 +08:00
54liuyao
ba31bf2c52 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-06 09:42:50 +08:00
Jing Sima
355aa885de fix:[TD-32506] fix mem leak in percentile function. 2024-11-04 09:35:15 +08:00
54liuyao
de92e455a6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-04 09:11:43 +08:00
54liuyao
2a24805646 add block data capacity 2024-11-01 11:34:18 +08:00
54liuyao
d13819bbf4 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-30 09:05:46 +08:00
54liuyao
370fb56a0d add ci 2024-09-27 18:24:28 +08:00
Haojun Liao
09600132ec other: merge 3.0 2024-09-26 09:59:29 +08:00
Pan Wei
6d8ab955cf
Merge pull request #28094 from taosdata/fix/3.0/TD-32310
fix:[TD-32310] Avoid access null pointer when error occurs..
2024-09-26 09:50:13 +08:00
Jing Sima
8d02e3e310 fix:[TD-32310] Avoid access null pointer when error occurs.. 2024-09-25 11:15:48 +08:00
Pan Wei
159a625cc1
Merge pull request #28051 from taosdata/fix/TD-32258-3.0
fix(query)[TD-32258]. Fix error handling in operator interface functions
2024-09-25 09:45:08 +08:00
Haojun Liao
3c7f718210 fix(query): check for null ptr. 2024-09-25 09:37:23 +08:00
Jinqing Kuang
83f1a590b0 fix(query)[TD-32258]. Fix error handling in operator interface functions
- Contain errors within individual operators, preventing error
  propagation to upper-level operators
- Use longjmp to jump directly to the outermost error handler
  for unresolvable issues, avoiding unnecessary error code
  returns through multiple layers
- Simplify error-handling logic for better maintainability
2024-09-24 18:15:14 +08:00
Jing Sima
122b707ac8 enh:[TD-32158] Free memory allocated in function setup. 2024-09-24 11:35:36 +08:00
Jing Sima
23b525458e fix:[TD-32262] Avoid mem leak when error occurs. 2024-09-23 13:50:55 +08:00
Pan Wei
918a20a9fd
Merge pull request #27993 from taosdata/enh/TD-31691
enh:modify error code passing
2024-09-20 17:26:58 +08:00
lyh250-666
116844208d enh:modify error code passing 2024-09-20 13:23:44 +08:00
54liuyao
f71b14da13 fix(stream):set correct primary key column index 2024-09-19 18:39:00 +08:00
Haojun Liao
0236db51f6 fix(query): fix memory leak and do some internal refactor. 2024-09-06 15:44:25 +08:00
lyh250-666
9c8f630759 enh:modify error code passing in libs/executor/ 2024-09-03 11:01:02 +08:00
Pan Wei
a22025ea00
Merge pull request #27553 from taosdata/fix/TD-31775/memLeak
fix: free operator
2024-08-30 09:26:53 +08:00
Pan Wei
759ab30366
Merge pull request #27545 from taosdata/fix/removeassert
fix: remove asserts
2024-08-30 08:47:08 +08:00
xsren
d43df78537 fix: free operator 2024-08-29 19:43:59 +08:00
dapan1121
feb1c8518e fix: remove asserts 2024-08-29 15:08:38 +08:00
Haojun Liao
c118df0ec4 fix(query): fix memory leak. 2024-08-27 17:04:44 +08:00
dapan1121
99cca75128
Merge pull request #27425 from taosdata/fix/adj_assert
ehn(query): remove query executor assert
2024-08-26 11:22:01 +08:00
xsren
bc0ad2d461 fix: check blockEncode result 2024-08-23 15:51:18 +08:00
54liuyao
de4f09b8fd ehn(query): remove query executor assert 2024-08-23 11:01:45 +08:00
54liuyao
a82c220645 fix issue 2024-08-15 17:38:29 +08:00
54liuyao
cf796a45c1 fix issue 2024-08-15 17:03:32 +08:00
54liuyao
db0c2e4be4 free operator 2024-08-07 15:53:23 +08:00
Haojun Liao
9e8038b020
Merge pull request #27022 from taosdata/fix/TD-31270
fix mem leak
2024-08-07 09:30:19 +08:00
54liuyao
372c0f21f2 fix mem leak 2024-08-06 19:36:39 +08:00
Haojun Liao
e0fc36ce97 fix(query):check return code 2024-08-06 17:32:20 +08:00
Haojun Liao
59d190508d fix(query):check return code 2024-08-06 16:46:40 +08:00
54liuyao
143745d023 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-31212 2024-08-06 10:41:12 +08:00