Commit Graph

5681 Commits

Author SHA1 Message Date
Shengliang Guan 8d15823d43 Merge remote-tracking branch 'origin/3.0' into feat/anode3 2024-10-10 11:36:27 +08:00
54liuyao 9f72bd7e70 add limit on number fo history window 2024-10-10 10:42:04 +08:00
yihaoDeng 1ba3178a85 add config 2024-10-09 20:11:56 +08:00
yihaoDeng e58f667611 add config 2024-10-09 20:11:21 +08:00
54liuyao 669c3aa4db fix windows ci issue 2024-10-09 19:48:24 +08:00
54liuyao dd7f705dcc Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-09 19:31:44 +08:00
Shengliang Guan 6ab7eff6ea feat: enable analysis 2024-10-09 19:21:57 +08:00
Shengliang Guan ef39c9c41e
Merge pull request #28265 from taosdata/feat/anode1
feat: anode
2024-10-09 18:48:55 +08:00
Pan Wei 2ab40b9abe
Merge pull request #28261 from taosdata/enh/TD-31691
enh:modify error code passing
2024-10-09 18:31:20 +08:00
54liuyao 69b8505a8d fix ci issue 2024-10-09 17:49:24 +08:00
Shengliang Guan 22f50c4bbf feat: analysis operator 2024-10-09 17:46:40 +08:00
Shengliang Guan 4dc0c2f47e feat: data analysis 2024-10-09 17:09:43 +08:00
54liuyao 8709a12ce2 fix ci issue 2024-10-09 17:00:09 +08:00
54liuyao e6f11c180c fix ci issue 2024-10-09 16:03:09 +08:00
lyh250-666 676f8759e2 enh:modify error code passing 2024-10-09 15:37:00 +08:00
54liuyao 58d8b9f84e fix ci issue 2024-10-09 11:32:20 +08:00
54liuyao 609fb0b198 fix ci issue 2024-10-09 10:19:31 +08:00
54liuyao 67237ae615 fix ci issue 2024-10-09 10:07:39 +08:00
54liuyao 1353614dc2 fix ci issue 2024-10-09 10:02:52 +08:00
Jing Sima 8acdbe597d fix:[TD-32372] Clean up in a right way. 2024-10-09 09:26:57 +08:00
54liuyao 1e5a9870ed Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-09 09:05:25 +08:00
dapan1121 0055d9544c fix: use safe function 2024-10-08 19:18:48 +08:00
dapan1121 e51199d541 fix: data deleter memory leak issue 2024-10-08 15:16:48 +08:00
54liuyao c9308e7482 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-30 17:12:25 +08:00
Pan Wei 76f7d4a702
Merge pull request #28209 from taosdata/fix/TD-32401/mem
fix: mem  free
2024-09-30 16:20:29 +08:00
xsren 8db52fbf97 fix: mem free 2024-09-30 13:58:28 +08:00
54liuyao 2a6e0ed386 calculate stream fill row buff size 2024-09-30 11:33:44 +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
Haojun Liao 84da5eab2e
Merge pull request #28187 from taosdata/fix/3_liaohj
fix(stream): use meta id instead of ptr.
2024-09-30 09:00:56 +08:00
Haojun Liao 4173144ded fix(stream): return value. 2024-09-29 22:59:18 +08:00
Haojun Liao f8b46586ed
Merge pull request #28180 from taosdata/fix/TD-32391
fix(stream):fix issue for stream count window state buff
2024-09-29 17:44:14 +08:00
Pan Wei ef18811654
Merge pull request #28170 from taosdata/fix/TD-32360-3.0
fix(query)[TD-32360]. Fix memory leak during tsort in exceptional scenarios
2024-09-29 17:01:10 +08:00
Hongze Cheng fe18c77809
Merge pull request #28163 from taosdata/fix/TD-32338-3.0
enh: add lrucache overwriter
2024-09-29 16:06:13 +08:00
Jinqing Kuang f5c9bf9b5d fix(query)[TD-32360]. Fix memory leak during tsort in exceptional scenarios
When extracting data from the sort source, an error may cause a long
jump to the outermost execution layer. This leads to a local variable in
createBlocksQuickSortInitialSources not being released, resulting a
memory leak. This fix ensures proper resource cleanup in such cases to
prevent leaks.
2024-09-29 14:53:21 +08:00
54liuyao 7517228dde fix(stream):fix issue for stream count window state buff 2024-09-29 14:16:16 +08:00
Jing Sima 5a2c78daa2 fix:[TD-32385] Return true errcode when error occurs. 2024-09-29 10:09:15 +08:00
54liuyao 370fb56a0d add ci 2024-09-27 18:24:28 +08:00
Shungang Li 10bd0fed21 enh: add lrucache overwriter 2024-09-27 17:24:45 +08:00
Haojun Liao e134ed1c99 refactor: do some internal refactor. 2024-09-27 17:19:11 +08:00
Pan Wei b9df867479
Merge pull request #28155 from taosdata/fix/ly_res
adjust log level
2024-09-27 15:48:04 +08:00
Pan Wei 1be93844ef
Merge pull request #28153 from taosdata/fix/TD-32353-3.0
fix(query)[TD-32353]. Fix error handling during tag scan
2024-09-27 15:20:51 +08:00
Pan Wei dc7f309f85
Merge pull request #28130 from taosdata/fix/3.0/TD-32334
fix:[TD-32334] Generate correct time window when using interp with fill next and linear.
2024-09-27 15:06:51 +08:00
Haojun Liao 5780740623
Merge pull request #28149 from taosdata/fix/syntax
fix(query): fix memory leak.
2024-09-27 14:55:16 +08:00
54liuyao c52da5ab33 adjust log level 2024-09-27 14:21:51 +08:00
Jinqing Kuang 03c33e77aa fix(query)[TD-32353]. Fix error handling during tag scan
Correct the row count in the result data block when the tag scan
tolerates partial errors. This prevents upper-layer operators from
accessing invalid memory address.
2024-09-27 13:55:11 +08:00
54liuyao df8cfa65c2 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-27 11:37:37 +08:00
xinsheng Ren 8ee207881f
Merge branch '3.0' into enh/TD-32203/taosndup 2024-09-27 09:52:40 +08:00
Haojun Liao b1942889d8 refactor: remove unused code. 2024-09-27 09:34:46 +08:00
Haojun Liao 64cb7a1d5e fix(query): fix memory leak. 2024-09-27 09:27:58 +08:00
Jing Sima 77e63d0922 fix:[TD-32334] Generate correct time window when using interp with fill next and linear. 2024-09-27 09:08:17 +08:00
xsren 9972357c17 file function result 2024-09-26 18:13:52 +08:00
54liuyao 459a53c20b enh:optimize code 2024-09-26 14:51:57 +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
54liuyao 818a1f6a81 adj code 2024-09-25 16:53:06 +08:00
54liuyao d44529e62f Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-25 15:12:15 +08:00
Jing Sima 8d02e3e310 fix:[TD-32310] Avoid access null pointer when error occurs.. 2024-09-25 11:15:48 +08:00
Haojun Liao c2ff609c5f
Merge pull request #28068 from taosdata/fix/TD-32265
fix(stream):rebuild stream event window
2024-09-25 10:49:11 +08:00
54liuyao cc3ec61089 add ci and fix issue 2024-09-25 10:29:55 +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
Haojun Liao 922b0681ea fix(query): check for null ptr. 2024-09-24 19:38:49 +08:00
54liuyao 2d56c8f058 fix issue & add log 2024-09-24 19:34:34 +08:00
54liuyao 72bd34a6b2 Merge branches '3.0' and 'fix/TD-32265' of https://github.com/taosdata/TDengine into fix/TD-32265 2024-09-24 19:25:05 +08:00
Haojun Liao cc6daa0855 Merge branch '3.0' into fix/3_liaohj 2024-09-24 19:14:50 +08:00
Jinqing Kuang 7f3c6c5e97 fix(query)[TD-32259]. Fix error handling in merge sort
- Ensure proper release of allocated datablocks on error
- Address potential double free issue
2024-09-24 19:06:20 +08:00
Haojun Liao c1333a920d fix(query): check for null. 2024-09-24 18:58:49 +08:00
Haojun Liao 4e4003c5a7 Merge branch '3.0' into fix/3_liaohj 2024-09-24 18:36:18 +08:00
Haojun Liao 2b78b660bd refactor: update the error logs. 2024-09-24 18:19:47 +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
54liuyao db50c9230a fix issue 2024-09-24 16:58:46 +08:00
54liuyao 9764d210a8 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-32265 2024-09-24 16:30:01 +08:00
lyh250-666 5f6802e0a1 enh:modify addede rror code passing 2024-09-24 16:29:28 +08:00
54liuyao 8eff35cd77 fix(stream):rebuild stream event window 2024-09-24 14:33:53 +08:00
Jing Sima ad7b2ddc1b enh:[TD-32158] Free memory only when function need cleanup. 2024-09-24 11:35:36 +08:00
Jing Sima 122b707ac8 enh:[TD-32158] Free memory allocated in function setup. 2024-09-24 11:35:36 +08:00
Pan Wei c26385d19f
Merge pull request #28025 from taosdata/fix/3.0/TD-32262
fix:[TD-32262] Avoid mem leak when error occurs.
2024-09-23 16:09:50 +08:00
Pan Wei 5d83ea76dc
Merge pull request #28022 from taosdata/fix/TD-32256
fix: memory leak in group cache issue
2024-09-23 15:33:07 +08:00
Jing Sima 23b525458e fix:[TD-32262] Avoid mem leak when error occurs. 2024-09-23 13:50:55 +08:00
dapan1121 5bdb9ce563 fix: compile issue 2024-09-23 11:35:43 +08:00
Haojun Liao 2f698f525e
Merge pull request #28003 from taosdata/fix/ly_stream_3.0
fix(stream):fix issue for stream operator decode
2024-09-23 11:11:41 +08:00
dapan1121 d2d6a6078a fix: memory leak in group cache issue 2024-09-23 10:23:41 +08:00
Hongze Cheng ec143691ef
Merge pull request #28012 from taosdata/fix/fixMemleak
Fix/fixMemleak
2024-09-23 10:19:08 +08:00
54liuyao a0e7791e49 fix issue 2024-09-23 10:13:42 +08:00
Pan Wei 3a7c03e2d8
Merge pull request #28005 from taosdata/fix/TD-32196-3.0
fix(query)[TD-32196]. Fix error code handling in group sort
2024-09-23 09:53:06 +08:00
yihaoDeng 962d77db62 fix mem leak 2024-09-20 18:24:46 +08:00
54liuyao b9c39b59fc Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-09-20 18:03:32 +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
54liuyao 681b20bdfb fix(stream):fix issue for stream operator decode 2024-09-20 16:41:14 +08:00
Jinqing Kuang 0dacdff1f3 fix(query)[TD-32196]. Fix error code handling in group sort 2024-09-20 16:37:50 +08:00
54liuyao e53fafc08f Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-20 15:31:03 +08:00
54liuyao ecaa66e53f set watermark and interval 2024-09-20 15:30:44 +08:00
lyh250-666 e45edbbda2 enh:modify error code passing 2024-09-20 15:20:04 +08:00
lyh250-666 116844208d enh:modify error code passing 2024-09-20 13:23:44 +08:00
54liuyao a032de131b fix issue 2024-09-19 19:42:23 +08:00
54liuyao 2938233519 Merge branch 'fix/TD-30837' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-19 19:07:41 +08:00
54liuyao f71b14da13 fix(stream):set correct primary key column index 2024-09-19 18:39:00 +08:00
Haojun Liao c5eca0486e Merge remote-tracking branch 'origin/fix/TD-30837' into fix/TD-30837
# Conflicts:
#	source/dnode/vnode/src/tq/tq.c
#	source/libs/stream/inc/streamInt.h
#	source/libs/stream/src/streamSched.c
2024-09-19 16:39:54 +08:00
Pan Wei 380470bceb
Merge pull request #27918 from taosdata/enh/TD-32130-3.0
enh(query)[TD-32130]. Handle return values of memory allocation functions
2024-09-19 16:32:08 +08:00
Haojun Liao e1d8e98b11 feat(stream): support the force_window_close trigger. 2024-09-19 16:23:51 +08:00