Commit Graph

5613 Commits

Author SHA1 Message Date
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
54liuyao 813cab6e33 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-19 14:45:38 +08:00
Haojun Liao eb5ee966a3
Merge pull request #27915 from taosdata/fix/TD-32138
fix(stream):fix mem leak and  adj malloc res
2024-09-19 13:51:48 +08:00
Pan Wei c40d31a105
Merge pull request #27925 from taosdata/fix/TD-32131
fix: group cache retrieve block failed issue
2024-09-19 10:20:15 +08:00
Pan Wei 9742c11039
Merge pull request #27943 from taosdata/fix/TD-32162
fix: memory init issue
2024-09-19 10:20:06 +08:00
Hongze Cheng c0b3cc17fc
Merge pull request #27899 from taosdata/enh/TD-32121-3.0
enh: retrieveRows no more if got all data
2024-09-19 09:12:14 +08:00
Jinqing Kuang 4b46c4c1fc enh(query)[TD-32130]. Handle return values of memory allocation functions 2024-09-19 09:06:01 +08:00
dapan1121 315aad8834 fix: memory init issue 2024-09-18 18:36:21 +08:00
54liuyao 442bf96b87 add check 2024-09-18 17:24:00 +08:00
54liuyao bfb66d5486 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-09-18 16:55:30 +08:00
54liuyao c4566f98b8 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-18 16:26:37 +08:00
dapan1121 41f8f211f0 fix: group cache retrive block failed issue 2024-09-18 14:17:02 +08:00
54liuyao b8cd739383 add ci and fix issue 2024-09-18 11:08:47 +08:00
Pan Wei 7a33fb7c9f
Merge pull request #27900 from taosdata/fix/memCheck
pointer check
2024-09-18 11:01:50 +08:00
54liuyao 19a51d82eb fix(stream):fix mem leak and malloc res 2024-09-18 10:58:27 +08:00
Pan Wei eb32a41c29
Merge pull request #27902 from taosdata/fix/memoryAllocCheck
Fix: memory alloc check
2024-09-18 08:55:41 +08:00
xsren f684e12c27 pointer check 2024-09-14 18:11:36 +08:00
Haojun Liao 5f486d6976 Merge branch '3.0' into fix/3_liaohj 2024-09-14 17:29:29 +08:00
dapan1121 1ccc74d768 fix: add memory alloc validation 2024-09-14 17:28:24 +08:00
Shungang Li 0fd4928dc2 enh: retrieveRows no more if got all data 2024-09-14 17:02:38 +08:00
Haojun Liao b78cbb7dc5
Merge pull request #27888 from taosdata/fix/ly_stream
fix(stream):adj build file state res
2024-09-14 13:50:51 +08:00
Haojun Liao b494163f28 refactor: check return value. 2024-09-14 13:39:23 +08:00
Pan Wei 42abc16774
Merge pull request #27816 from taosdata/enh/TD-31903-3.0
enh(query)[TD-31903]. Handle return values for function calls
2024-09-14 11:28:19 +08:00
54liuyao b649f1f1c4 fix(stream):adj build file state res 2024-09-14 10:51:57 +08:00
Haojun Liao 1a90e9612d refactor: check return value. 2024-09-13 23:04:41 +08:00
Pan Wei 571a704cdc
Merge pull request #27805 from taosdata/fix/TD-31962
fix:[TD-31962]memory leak by crash_gen
2024-09-13 15:34:16 +08:00
Jinqing Kuang 0cb4c927ec enh(query)[TD-31903]. Handle return values for function calls 2024-09-13 11:45:59 +08:00
54liuyao de44c5dc5e Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-13 11:13:04 +08:00
Pan Wei 12d8dfc801
Merge pull request #27829 from taosdata/fix/TD-31870/os2
semphore
2024-09-13 10:59:53 +08:00
wangmm0220 3c8ae1fc9f fix:[TD-31962]memory leak by crash_gen 2024-09-13 09:27:11 +08:00
Pan Wei 527283a7e8
Merge pull request #27824 from taosdata/fix/ly_res
fix(query):use window start key when ts column is null
2024-09-13 08:50:23 +08:00
Pan Wei 446d3ab97c
Merge pull request #27849 from taosdata/fix/TD-31896
fix: function return code issue
2024-09-13 08:41:28 +08:00
Haojun Liao c13248dd4e refactor: remove void. 2024-09-12 19:23:05 +08:00
dapan1121 007b64a3c1 fix: void function call issue 2024-09-12 15:48:07 +08:00
54liuyao aa80aa39bc fix(query):use window start key when ts column is null 2024-09-12 15:34:57 +08:00
dapan1121 a7269e4536 fix: remove void function call 2024-09-12 14:17:14 +08:00
Hongze Cheng 3cbe6cfce1
Merge pull request #27817 from taosdata/fix/TD-31991
fix meta dead lock
2024-09-12 09:43:41 +08:00
54liuyao 7c32cc7796 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-12 09:08:40 +08:00
Pan Wei b795638456
Merge pull request #27760 from taosdata/fix/3.0/TD-31974
fix:[TD-31974] fix memory leak when error occurs after mode function init
2024-09-12 08:44:08 +08:00
Haojun Liao 3297c59dcd
Merge pull request #27821 from taosdata/fix/syntax
fix(query): fix race condition for table group list.
2024-09-12 00:28:57 +08:00
xsren e226898e17 semphore 2024-09-11 20:36:03 +08:00
Pan Wei e4d218cddf
Merge pull request #27811 from taosdata/fix/TS-5400
fix(query):fix the issue of return db error when the timestamp is 0
2024-09-11 18:51:04 +08:00
Haojun Liao 2bb9dc609a fix(query): fix race condition for table group list. 2024-09-11 18:18:44 +08:00
Pan Wei 8b7b5b7c6d
Merge pull request #27752 from taosdata/fix/TD-31870/OSFileRetCode
osDir
2024-09-11 17:52:14 +08:00
yihaoDeng 9b418bee78 fix meta dead lock 2024-09-11 16:37:06 +08:00
Pan Wei 798718e903
Merge pull request #27793 from taosdata/fix/TD-31948
fix: block data shrink issue
2024-09-11 16:32:58 +08:00
54liuyao 5cfe7b8ec9 fix(query):fix the issue of return db error when the timestamp is 0 2024-09-11 14:58:06 +08:00
Jing Sima d670778802 fix:[TD-31974] fix memory leak when error occurs after mode function init. 2024-09-11 14:47:14 +08:00
wangmm0220 1850f3fb52 fix:[TD-31962]memory leak by crash_gen 2024-09-11 11:51:02 +08:00
xsren aea768d2c0 osFile 2024-09-10 17:40:19 +08:00
dapan1121 dc983b9a39 fix: add block data check 2024-09-10 16:56:36 +08:00
xsren aa5683cfd9 osfile 2024-09-10 14:55:14 +08:00
54liuyao bb785ce53e fix(query):set scan flag info 2024-09-10 14:47:42 +08:00
xsren 2a3917029f osFile 2024-09-10 11:29:50 +08:00
dapan1121 b57cd27827 enh: add block check 2024-09-09 18:20:00 +08:00
54liuyao dc0b2fb614 remove assert 2024-09-09 18:00:55 +08:00
54liuyao 75727e47b5 remove assert 2024-09-09 17:58:40 +08:00
54liuyao 88d01d8980 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-09 11:21:23 +08:00
Haojun Liao 46246c47bb
Merge pull request #27729 from taosdata/fix/3_liaohj
fix(query): fix memory leak and do some internal refactor.
2024-09-08 18:24:05 +08:00
Haojun Liao dfcff062e3
Merge pull request #27741 from taosdata/fix/syntax
fix(stream): reset error code.
2024-09-08 18:23:47 +08:00
Haojun Liao 199de25410 fix(stream): fix syntax error. 2024-09-08 15:17:08 +08:00
Haojun Liao 23ccbbdda5 fix(stream): fix syntax error. 2024-09-08 15:10:54 +08:00
Haojun Liao b3e5997336 fix(stream): reset error code. 2024-09-08 14:54:08 +08:00
dapan1121 cbafc37880 fix: memory leak in dispatcher 2024-09-07 17:19:20 +08:00
Haojun Liao 370ba19062 fix(query): fix memory leak. 2024-09-06 17:30:31 +08:00
Haojun Liao 6470cfc26e fix(query): fix memory leak. 2024-09-06 15:58:52 +08:00
Haojun Liao 7bf9ca8e82 refactor: remove invalid code. 2024-09-06 15:48:28 +08:00
Haojun Liao 0236db51f6 fix(query): fix memory leak and do some internal refactor. 2024-09-06 15:44:25 +08:00
Haojun Liao 8a1d527da9 refactor: adjust log. 2024-09-06 13:58:03 +08:00