Commit graph

10110 commits

Author SHA1 Message Date
yihaoDeng
abc4a3768f opt code 2024-12-09 14:48:21 +08:00
yihaoDeng
32b5ec1da7 opt code 2024-12-09 14:35:12 +08:00
yihaoDeng
b5642faef5 Merge remote-tracking branch 'origin/main' into enh/useSafySysFunc 2024-12-09 13:46:45 +08:00
Haojun Liao
05bfb61ec0 Merge branch 'main' into fix/liaohj 2024-12-06 14:11:54 +08:00
Haojun Liao
43ad35f911 refactor: adjust the lock procedure for unregister stream tasks. 2024-12-06 09:20:39 +08:00
Haojun Liao
406e877700 fix(stream): send chkpt-source rsp to mnd even if it is failed. 2024-12-06 00:11:51 +08:00
yihaoDeng
c5c56606c4 use safe sys func 2024-12-05 16:35:45 +08:00
yihaoDeng
215208a985 Replace unsafe memory functions with safe versions 2024-12-04 13:35:11 +08:00
Haojun Liao
3847ed2dc9 refactor: 1) adjust wal scan interval to be 500ms, 2) record the checkpointVer to be timestamp for force_window_close, 3) do some other internal refactor. 2024-12-04 09:43:51 +08:00
yihaoDeng
95a1005e1f update test case and remove invalid code 2024-11-28 15:09:20 +08:00
Shengliang Guan
ab604c18f9
Merge pull request #28925 from taosdata/feat/updateMultiTag
Feat/updateMultiTag
2024-11-28 14:24:23 +08:00
Shengliang Guan
642a5152f7
Merge pull request #28900 from taosdata/fix/liaohj
fix(stream): check whether dispatch trigger block is expired or not
2024-11-27 15:47:47 +08:00
Haojun Liao
5e49268cd8 Merge branch 'main' into fix/liaohj 2024-11-27 15:44:53 +08:00
yihaoDeng
221eac50ca refactor code 2024-11-27 09:28:01 +08:00
yihaoDeng
a84a849ef7 add test case 2024-11-27 09:12:17 +08:00
yihaoDeng
2aac26e0a9 fix partial failure 2024-11-27 07:56:24 +08:00
yihaoDeng
e87570c036 fix invalid free 2024-11-26 20:50:37 +08:00
Shengliang Guan
135131fb3a
Merge pull request #28921 from taosdata/fix/TD-33008-main
fix(query)[TD-33008]. fix error handling in tsdbCacheRead
2024-11-26 11:56:41 +08:00
yihaoDeng
4d857b0149 fix mem leak 2024-11-25 15:22:53 +08:00
Jinqing Kuang
7bbda0c92a fix(query)[TD-33008]. fix error handling in tsdbCacheRead
Fix an issue that a freed null pointer was accessed during error
handling in tsdbCacheRead, which would cause a crash.
2024-11-25 15:09:11 +08:00
Jinqing Kuang
ab7badb0c0 fix(query)[TD-33006]. resolve wild pointer release issue in tsdbCreateReader
Initialize pointer member variables in tsdbCreateReader to prevent
random memory errors. It addresses a bug where uninitialized pointers
are freed during error cleanup.
2024-11-25 15:01:49 +08:00
yihaoDeng
97e08abe8c support update multi tag 2024-11-25 10:55:28 +08:00
yihaoDeng
3027e377fa support update multi tag 2024-11-23 22:18:30 +08:00
Haojun Liao
d397c9a9b7 fix(stream): remove failed task in hash table and array list. 2024-11-22 19:22:37 +08:00
Shengliang Guan
e8d663809d
Merge pull request #28756 from taosdata/fix/main/tsbs_perf_optimization
fix tsbs perf issue
2024-11-21 10:40:47 +08:00
wangjiaming0909
9314dfb80c fix not setting step in tsdbread 2024-11-20 14:29:27 +08:00
Shengliang Guan
99bebacd8e
Merge pull request #28784 from taosdata/fix/TD-32861-main
fix(query)[TD-32861]. fix that WHERE condition not work in statements with INTERP function
2024-11-19 09:40:28 +08:00
Shengliang Guan
6044bb06f1
Merge pull request #28793 from taosdata/fix/main/TD-32883
remove duplicate group by cols
2024-11-18 19:32:16 +08:00
Jinqing Kuang
f5c66cec19 fix(query)[TD-32861]. fix that WHERE condition not work with INTERP function
Previously, a statement with INTERP would force underlying TABLE SCAN
operator to scan all data within the RANGE clause, causing the time
range constraint in the WHERE condition to be ignored. This fix ensures
that the TABLE SCAN respects both the RANGE clause and WHERE condition,
improving query accuracy and performance.
2024-11-18 16:08:27 +08:00
wangjiaming0909
6c18289de0 fix tsbs perf issue 2024-11-18 14:11:21 +08:00
wangjiaming0909
2be0ca15d8 fix group_partition test 2024-11-15 18:10:44 +08:00
Hongze Cheng
0c45c80d71 enh: add dangle child table filter in recovery mode 2024-11-15 14:26:53 +08:00
Shengliang Guan
b88088792e
Merge pull request #28752 from taosdata/fix/liaohj
fix(stream): always return success for resume req.
2024-11-14 15:58:03 +08:00
Haojun Liao
67a547f65a fix(stream): alwasy return success for resume req. 2024-11-13 13:46:23 +08:00
Jinqing Kuang
b4e0f9a922 enh(query)[TD-32127]: improve code quality of tsdbRead module
- Add parameter validation for functions to ensure robustness
- Nullify pointers when freeing memory to prevent dangling pointers
- Initialize local variables to avoid undefined behavior
- Add error handling and logging for better debugging
2024-11-11 11:53:28 +08:00
Hongze Cheng
6c487c3f48
Merge pull request #28472 from taosdata/enh/TD-31867-main
enh: add more log for last cache retrieve
2024-11-07 19:46:46 +08:00
54liuyao
719a3faa12 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-06 11:13:15 +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
Shengliang Guan
0be118c0aa
Merge pull request #28408 from taosdata/enh/TD-32181/client
Enh/td 32181/client
2024-11-06 09:42:05 +08:00
Shungang Li
e3beccbde1 enh: add more log for last cache retrieve 2024-11-05 13:49:38 +08:00
Haojun Liao
8148f26d30
Merge branch '3.0' into fix/ref 2024-11-05 10:50:28 +08:00
54liuyao
158eda13f9 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-31 17:49:58 +08:00
Shungang Li
2879fafc1c fix: typo issue 2024-10-31 14:54:01 +08:00
Haojun Liao
b1ad121bae fix(stream): release task before returning. 2024-10-31 14:49:16 +08:00
Shungang Li
fde2a56076 enh: tsdbCacheRowFormatUpdate check for memory funcs 2024-10-31 11:47:32 +08:00
xsren
73be7ddbc6 fix: set tablefield of stream block to NULL 2024-10-30 19:38:08 +08:00
Shungang Li
84b17a144b Merge branch 'fix/TS-4937' into fix/TD-32338-3.0 2024-10-30 16:33:09 +08:00
Shungang Li
6da22e6483 enh: tsdb cache schema 2024-10-30 16:13:27 +08:00
54liuyao
b6d16eccdb Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-30 14:54:42 +08:00
Shengliang Guan
ea9ed2e538
Merge pull request #28300 from taosdata/enh/TS-5441-3.0
enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info
2024-10-30 13:43:41 +08:00