Commit graph

4071 commits

Author SHA1 Message Date
Shengliang Guan
ebcf538c05 Merge branch 'main' into merge/mainto3.0 2024-12-11 20:12:50 +08:00
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
c5c56606c4 use safe sys func 2024-12-05 16:35:45 +08:00
kailixu
583c4e8bb6 Merge branch '3.0' into enh/TD-30933-3.0 2024-12-03 15:28:19 +08:00
kailixu
a157caa38d enh: process log rotate every 30 minutes 2024-11-29 18:57:09 +08:00
yihaoDeng
e495d39220 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-29 13:50:09 +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
Shengliang Guan
7e8ef8ed98
Merge pull request #28920 from taosdata/fix/TD-33008-3.0
fix(query)[TD-33008]. fix error handling in tsdbCacheRead
2024-11-26 11:56:32 +08:00
Jinqing Kuang
513ccaaad8 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:11: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
Jinqing Kuang
fbc77d1e71 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 14:58:42 +08:00
yihaoDeng
407eeb6620 Unable to 2024-11-22 14:43:11 +08:00
Shengliang Guan
ba15fb0644 Merge branch '3.0' into merge/mainto3.0 2024-11-21 11:04:36 +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
kailixu
3ebb664953 enh: add bypassFlag to facilitate performance testing 2024-11-18 18:12:39 +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
kailixu
748c7f9cf2 enh: add bypassFlag to facilitate performance testing 2024-11-15 19:26:12 +08:00
wangjiaming0909
2be0ca15d8 fix group_partition test 2024-11-15 18:10:44 +08:00
yihaoDeng
42065bf2e8 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-14 17:44:29 +08:00
yihaoDeng
11064d43e6 support disk usage 2024-11-11 18:16:41 +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
yihaoDeng
8c56a75f4f support disk usage 2024-11-07 17:09:57 +08:00
Shungang Li
e3beccbde1 enh: add more log for last cache retrieve 2024-11-05 13:49:38 +08:00
Shungang Li
2879fafc1c fix: typo issue 2024-10-31 14:54:01 +08:00
Shungang Li
fde2a56076 enh: tsdbCacheRowFormatUpdate check for memory funcs 2024-10-31 11:47:32 +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
Minglei Jin
d8df6db06a fix schema update with sver param 2024-10-30 10:23:32 +08:00
Minglei Jin
6b67c2ebf0 uncomment tsdb cache commit 2024-10-29 15:07:13 +08:00
Minglei Jin
e364d5aa66 tsdb/cache: invalidate cached schema 2024-10-29 14:41:14 +08:00
Minglei Jin
cf3e84e79d tsdb/cache: cache schema to reuse 2024-10-29 12:25:25 +08:00
Shungang Li
d34fc78a22 fix: (last) eliminate redundant logs caused by incorrect return results 2024-10-28 11:18:06 +08:00
Shengliang Guan
f59f3901c0 Merge remote-tracking branch 'origin/main' into merge/3340 2024-10-24 10:16:26 +08:00
Shungang Li
0c4e863b56 fix: (last) iterator of nextRowIterGet 2024-10-22 14:37:56 +08:00
Minglei Jin
4401b5e568 Merge branch '3.0' into feat/TS-5215-2 2024-10-21 10:48:37 +08:00
Haojun Liao
f83993757f other: merge 3.0 2024-10-16 18:38:55 +08:00
Haojun Liao
27c087e9ae refactor: do some internal refactor. 2024-10-16 18:36:49 +08:00
Jinqing Kuang
de70067436 fix(query)[TD-32564]. Fix memory leak in exceptional cases
In function tsdbTFileSetInitRef, clear all FileObj stored in
the variable lvl when an error occurs, and release the memory
allocated for lvl itself.
2024-10-16 10:48:41 +08:00
Minglei Jin
96cc55a164
Merge branch '3.0' into feat/TS-5215-2 2024-10-15 13:58:29 +08:00
Hongze Cheng
2fdcc525e5
Merge pull request #28327 from taosdata/fix/TD-32435-3.0
fix: (last) add lock for writebatch
2024-10-14 15:49:58 +08:00
Jing Sima
6231d46cc5 enh:[TD-32189] Add validation to prevent changes to resultinfo structure. 2024-10-12 15:14:59 +08:00
54liuyao
10810d48de Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/syntax 2024-10-12 15:02:55 +08:00
Minglei Jin
d525270261 Merge branch '3.0' into feat/TS-5215-2 2024-10-12 11:24:19 +08:00
Hongze Cheng
8ad0bb2d3d
Merge pull request #28325 from taosdata/fix/TD-32508
fix(tsdb/scan): ignore lcn file only
2024-10-12 10:07:43 +08:00