Commit graph

10595 commits

Author SHA1 Message Date
Hongze Cheng
a2506e4a90 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-16 11:00:10 +08:00
Hongze Cheng
a0cae0ddca more code 2024-12-16 10:59:55 +08:00
Minglei Jin
7e6ffb12a8 Merge branch '3.0' into fix/TS-4937-2 2024-12-16 08:43:37 +08:00
Shengliang Guan
90272cf0c7
Merge pull request #29133 from taosdata/enh/TD-32403-3.0
enh: [TD-32403] replace unsafe functions
2024-12-15 18:11:25 +08:00
Minglei Jin
d18caf6606
Merge branch '3.0' into fix/TS-4937-2 2024-12-15 13:23:17 +08:00
Shengliang Guan
e8fcf16b89
Merge pull request #29138 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2024-12-15 12:08:55 +08:00
Hongze Cheng
2b4046ecf8 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-15 11:28:37 +08:00
Hongze Cheng
72abbd0e5b Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-32403-3.0 2024-12-15 11:25:48 +08:00
Hongze Cheng
5cac78d10b fix: compile issue 2024-12-14 20:00:09 +08:00
Shengliang Guan
ea96f51ba2 Merge branch '3.0' into merge/mainto3.0 2024-12-14 18:24:39 +08:00
Shengliang Guan
9c15eb7b3b Merge branch 'main' into merge/mainto3.0 2024-12-14 18:20:51 +08:00
Hongze Cheng
389f545a53 more code 2024-12-14 18:06:50 +08:00
Hongze Cheng
161081a0a2 feat: add drop tag index of super table feature 2024-12-14 17:21:17 +08:00
Hongze Cheng
582a40874f feat: replace add index 2024-12-14 17:08:44 +08:00
Hongze Cheng
bdaa3228a2 fix: CI case 2024-12-14 13:12:40 +08:00
Hongze Cheng
b6b9c65b99 more code 2024-12-13 20:59:39 +08:00
Hongze Cheng
7905c80fd4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-13 18:12:53 +08:00
Minglei Jin
7e7572cd8a not update auxiliaried ts to none 2024-12-13 17:44:26 +08:00
Hongze Cheng
b2181b4282 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-13 16:48:06 +08:00
Hongze Cheng
a6463884f0 more code 2024-12-13 16:47:05 +08:00
Hongze Cheng
921704e043 more code 2024-12-13 15:28:15 +08:00
Hongze Cheng
cc4a6608df Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-32403-3.0 2024-12-13 15:03:09 +08:00
Hongze Cheng
dea8d6fd62 fix some code 2024-12-13 15:03:01 +08:00
Shengliang Guan
3f6ddbcf48
Merge pull request #29124 from taosdata/feat/TD-30268
feat: support query memory pool
2024-12-13 14:37:42 +08:00
Hongze Cheng
8bf5f3f62b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-13 13:54:45 +08:00
Hongze Cheng
8525df81a8 fix: update table column compress 2024-12-13 12:27:40 +08:00
Hongze Cheng
95130d2cac feat: update table options 2024-12-13 12:20:08 +08:00
Hongze Cheng
13a4dcbc53 more code 2024-12-13 12:00:27 +08:00
Minglei Jin
9da0de4d5f fix(tsdb/cache): fix invalid param caused by column mismatching 2024-12-13 11:54:28 +08:00
Hongze Cheng
1247fb614c free resources 2024-12-13 10:49:25 +08:00
Hongze Cheng
69efdda495 fix: compile error 2024-12-13 08:48:30 +08:00
Hongze Cheng
8c7b8a8afa feat: refact alter child table tag 2024-12-12 20:33:55 +08:00
Hongze Cheng
3aebca5404 feat: update table column name 2024-12-12 19:05:39 +08:00
Hongze Cheng
823f3b2137 fix: ci case 2024-12-12 18:51:10 +08:00
Hongze Cheng
ff0389d8d9 drop table column 2024-12-12 17:19:06 +08:00
Jinqing Kuang
8605f1c32a fix(query)[TD-33181]. reset error code when retry in vnodeGetBufPoolToUse 2024-12-12 16:56:57 +08:00
Hongze Cheng
9ce7d0e986 fix: ci cases 2024-12-12 16:38:55 +08:00
Pan Wei
d5aa88165d
Merge branch '3.0' into feat/TD-30268 2024-12-12 13:41:59 +08:00
dapan1121
ca15163215 Merge remote-tracking branch 'origin' into feat/TD-30268 2024-12-12 11:41:00 +08:00
Hongze Cheng
01ceb2e90b more code 2024-12-12 11:27:34 +08:00
Hongze Cheng
b1c480afd1 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-12 11:26:19 +08:00
Kaili Xu
bad8d9dd2f
Merge branch '3.0' into enh/TD-32406-3.0 2024-12-12 10:32:31 +08:00
Hongze Cheng
2e4f435467 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-12 08:42:58 +08:00
Hongze Cheng
3ede729a7c feat: replace drop super table api 2024-12-12 08:42:48 +08:00
Hongze Cheng
2763c81f45 fix: memory problem 2024-12-11 21:15:58 +08:00
Shengliang Guan
ebcf538c05 Merge branch 'main' into merge/mainto3.0 2024-12-11 20:12:50 +08:00
Shengliang Guan
3fc511c128
Merge pull request #29079 from taosdata/fix/TD-32405
enh(meta): use memory safe functions
2024-12-11 19:29:00 +08:00
dapan1121
2bd493f77b fix: return code issues 2024-12-11 19:18:50 +08:00
Hongze Cheng
982c0665f5 more code 2024-12-11 18:47:47 +08:00
Minglei Jin
ab10a1815d fix iColHash null condition 2024-12-11 17:20:16 +08:00
Minglei Jin
f676926188 tests/script/api: last query with websocket 2024-12-11 17:18:58 +08:00
Shengliang Guan
448745754c
Merge pull request #29065 from taosdata/fix/create-db-log-and-return-code
fix/create-db-log-and-return-code
2024-12-11 17:18:42 +08:00
Hongze Cheng
4922cade44 feat: refact drop super table 2024-12-11 17:04:26 +08:00
kailixu
f48e0727e6 enh: use memory safe functions 2024-12-11 16:40:11 +08:00
Hongze Cheng
e853de4d3f fix: typo 2024-12-11 16:06:56 +08:00
Hongze Cheng
fd858372f6 more code 2024-12-11 15:44:42 +08:00
Minglei Jin
71d27a369b use check exit instead of goto 2024-12-11 14:36:35 +08:00
Minglei Jin
acfd94c123 tsdb/cache: remove block cache of rocks 2024-12-11 11:39:59 +08:00
Minglei Jin
fd29d6ad44 Merge branch '3.0' into fix/TS-4937-2 2024-12-11 11:20:28 +08:00
Hongze Cheng
82188ded46 fix: ci case 2024-12-11 09:29:55 +08:00
Hongze Cheng
02ceb83314 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-10 20:54:59 +08:00
kailixu
eaf5978b2c Merge branch '3.0' into feat/TD-30268 2024-12-10 18:49:15 +08:00
wangmm0220
7f6e0c5980 feat:[TD-32166] fix conflicts from 3.0 2024-12-10 15:09:09 +08:00
wangmm0220
bea48dfe98 feat:[TD-32166] check input params for tmq 2024-12-10 14:45:45 +08:00
WANG MINGMING
4a3eda51e0
Merge branch '3.0' into feat/TD-32642 2024-12-10 14:11:47 +08:00
Minglei Jin
1c7ff36dd0 meta: use tstrncpy instead of strcpy 2024-12-10 13:46:00 +08:00
Minglei Jin
92f41ef5c5 enh(meta): use memory safe functions 2024-12-10 11:15:41 +08:00
Hongze Cheng
4ba185fbfe Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-10 08:41:26 +08:00
Hongze Cheng
71d4274b6b fix: memory leak 2024-12-10 08:41:16 +08:00
Hongze Cheng
4458956f6a fix: check return code 2024-12-09 19:16:42 +08:00
Shengliang Guan
b99f32b8f0 Merge branch '3.0' into merge/mainto3.0 2024-12-09 19:06:11 +08:00
Shengliang Guan
e99b888654 Merge branch 'main' into merge/mainto3.0 2024-12-09 19:06:06 +08:00
Hongze Cheng
57f16a6f24 more code 2024-12-09 18:28:29 +08:00
Hongze Cheng
f549bbdeb2 fix: ci cases 2024-12-09 15:09:10 +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
b5642faef5 Merge remote-tracking branch 'origin/main' into enh/useSafySysFunc 2024-12-09 13:46:45 +08:00
Minglei Jin
f0c997cf80 remove block cache for rocksdb 2024-12-09 11:36:37 +08:00
Minglei Jin
f61dbfc459 Merge branch '3.0' into fix/TS-4937-2 2024-12-09 11:32:37 +08:00
dmchen
42e0d1fc81 fix/create-db-log-and-return-code 2024-12-09 10:42:24 +08:00
Hongze Cheng
5c8ce60dd0 more code 2024-12-08 16:54:30 +08:00
Hongze Cheng
9bfdbca110 fix: CI problem 2024-12-06 18:29:01 +08:00
dapan1121
d77147d296 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-12-06 17:43:19 +08:00
Minglei Jin
b3f0b2aa35 fix schema sver updating 2024-12-06 17:27:53 +08:00
Hongze Cheng
76d36ab9fb more code 2024-12-06 16:20:53 +08:00
Minglei Jin
20e4e7cd71 fix skyline init 2024-12-06 15:09:45 +08:00
Hongze Cheng
4804ff63cc fix: more code 2024-12-06 14:46:38 +08:00
Minglei Jin
ec0d8409a3 fix ci issues 2024-12-06 14:25:11 +08:00
Haojun Liao
05bfb61ec0 Merge branch 'main' into fix/liaohj 2024-12-06 14:11:54 +08:00
kailixu
f8343dcaac chore: merge 3.0 and update test case of show_create_db.py 2024-12-06 11:09:22 +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
wangmm0220
0165684131 feat:[TD-32642] merge from 3.0 2024-12-05 23:47:46 +08:00
Minglei Jin
d88e8d297a release simple hash 2024-12-05 18:35:15 +08:00
Minglei Jin
2b062ed146 tsdb/cache: merge lru with mem 2024-12-05 17:13:59 +08:00
dmchen
302758db1b fix/skip-trim-during-restore 2024-12-05 17:08:18 +08:00
Hongze Cheng
60ffaddc92 fix: CI issue 2024-12-05 16:57:25 +08:00
yihaoDeng
c5c56606c4 use safe sys func 2024-12-05 16:35:45 +08:00
Hongze Cheng
a51be1cee3 fix: invalid logic 2024-12-05 14:50:00 +08:00
Hongze Cheng
96b9e3d20e fix error 2024-12-05 13:41:54 +08:00
Hongze Cheng
98c7111f13 fix: compile issue 2024-12-04 19:28:35 +08:00
Hongze Cheng
23fb0fcc24 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-04 17:39:41 +08:00
Hongze Cheng
3e06712493 refact: create super table code 2024-12-04 17:39:28 +08:00
Minglei Jin
65e6c04a2d tsdb/cache: iterator for mem row 2024-12-04 14:14:54 +08:00
yihaoDeng
215208a985 Replace unsafe memory functions with safe versions 2024-12-04 13:35:11 +08:00
Minglei Jin
a0509ab93d tsdb/cache: framework for merging lru & mem 2024-12-04 09:57:15 +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
kailixu
92471c5834 feat: add time range list for auto compact 2024-12-03 17:51:41 +08:00
Hongze Cheng
8120765b24 Make a copy of old code 2024-12-03 17:00:37 +08:00
Hongze Cheng
cc1da2ebc7 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-03 16:39:52 +08:00
kailixu
583c4e8bb6 Merge branch '3.0' into enh/TD-30933-3.0 2024-12-03 15:28:19 +08:00
Hongze Cheng
3d2a5be1b6 more code 2024-12-03 15:20:27 +08:00
Hongze Cheng
25b9de5d51 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-03 14:32:03 +08:00
kailixu
c47cbc42cc Merge branch '3.0' into enh/TD-30933-3.0 2024-12-03 07:04:13 +08:00
yihaoDeng
3d92cbb691 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-12-02 19:05:33 +08:00
Hongze Cheng
0e1d731954 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-02 17:29:37 +08:00
Shengliang Guan
fb8a10e717
Merge pull request #28958 from taosdata/fix/TD-33037
fix(meta/commit): make begin return code instead of 0
2024-12-02 16:43:02 +08:00
kailixu
a157caa38d enh: process log rotate every 30 minutes 2024-11-29 18:57:09 +08:00
Minglei Jin
451093188d tsdb/cache: remove uid array when loading from imem 2024-11-29 15:47:49 +08:00
Minglei Jin
d20ef164b3 Merge branch '3.0' into fix/TS-4937-2 2024-11-29 15:15:09 +08:00
Hongze Cheng
9f6f82ff98 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-29 15:10:27 +08:00
yihaoDeng
e495d39220 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-29 13:50:09 +08:00
Shengliang Guan
fb4486cedb Merge branch 'main' into merge/mainto3.0 2024-11-28 19:21:25 +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
dapan1121
90b60d9d01 fix: scheduler timer stop issue 2024-11-28 13:56:27 +08:00
Minglei Jin
cd22ddbdd2 fix(meta/commit): make begin return code instead of 0 2024-11-28 10:53:23 +08:00
Minglei Jin
c60b6d9912 tsdb/cache: close col iter early 2024-11-28 10:44:24 +08:00
Shengliang Guan
26ba4b1f29 Merge branch '3.0' into merge/mainto3.0 2024-11-27 22:32:50 +08:00
Shengliang Guan
6db8a25c98 Merge branch 'main' into merge/mainto3.0 2024-11-27 22:31:17 +08:00
Hongze Cheng
df8a4ea6dc more code 2024-11-27 18:49:48 +08:00
Hongze Cheng
3ae5a72a4c more code 2024-11-27 17:53:53 +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
wangmm0220
0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +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
Hongze Cheng
9ec73f6ca6 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-26 13:23:54 +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
Shengliang Guan
c8c208be2f
Merge pull request #28918 from taosdata/fix/TD-33006-3.0
fix(query)[TD-33006]. resolve wild pointer release issue in tsdbCreateReader
2024-11-26 11:55:28 +08:00
Minglei Jin
12b0e70a22 tsdb/cache: use macro to check error code 2024-11-25 16:43:42 +08:00
Hongze Cheng
9bac4f4da2 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-25 16:39:22 +08:00
Shengliang Guan
ed3cc87575
Merge pull request #28851 from taosdata/ehn/vnode-open-log
ehn/vnode-open-log
2024-11-25 16:07:24 +08:00
Hongze Cheng
ef2e694a36 more code 2024-11-25 16:05:32 +08:00
Minglei Jin
65698470b7 cache/row iter close: move close to cleanup section 2024-11-25 16:02:58 +08:00
Minglei Jin
270e9f0bcf tsdb/cache: Not lazy init ctxArray 2024-11-25 15:55:40 +08:00
yihaoDeng
4d857b0149 fix mem leak 2024-11-25 15:22:53 +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
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
yihaoDeng
407eeb6620 Unable to 2024-11-22 14:43:11 +08:00
Hongze Cheng
4d6faa8f13 enh: (TD-29367-2) add a new meta handle function called metaHandleEntry2 2024-11-21 16:09:55 +08:00
Hongze Cheng
8991e50eee enh: (TD-29367-1)Add delete entry encode and decode 2024-11-21 15:52:20 +08:00
Shengliang Guan
ba15fb0644 Merge branch '3.0' into merge/mainto3.0 2024-11-21 11:04:36 +08:00
Shengliang Guan
cfa7d275f2 Merge branch 'main' into merge/mainto3.0 2024-11-21 11:00:00 +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
dapan1121
2738d5dd9c fix: code merge issue 2024-11-21 10:30:16 +08:00
dapan1121
164fa67db5 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-21 10:23:57 +08:00
Minglei Jin
4113921448 Merge branch '3.0' into fix/TS-4937-2 2024-11-20 18:41:24 +08:00
Minglei Jin
7947b94b03 tsdb/commit: update lru from imem 2024-11-20 18:40:49 +08:00
dmchen
a7fdabb6d7 ehn/vnode-open-log 2024-11-20 17:27:35 +08:00
wangjiaming0909
9314dfb80c fix not setting step in tsdbread 2024-11-20 14:29:27 +08:00
Minglei Jin
ffab4e8886 tsdb/cache: get first row from imem 2024-11-19 14:36:16 +08:00
Shengliang Guan
a4b6d9dee0
Merge pull request #28797 from taosdata/enh/TD-32907-3.0
enh: add bypassFlag to facilitate performance testing
2024-11-19 14:24:09 +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
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
kailixu
3225c381e2 enh: add bypassFlag to facilitate performance testing 2024-11-18 15:41:08 +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
Minglei Jin
66535adb70 tsdb/cache: update lru when committing 2024-11-15 17:04:22 +08:00
Hongze Cheng
0c45c80d71 enh: add dangle child table filter in recovery mode 2024-11-15 14:26:53 +08:00
Haojun Liao
b74a1bc726 refactor: update logs, and set correct vgId. 2024-11-15 13:48:42 +08:00
Haojun Liao
fd1996a1d1 fix(stream): fix error in build msg. 2024-11-15 01:27:31 +08:00
Haojun Liao
f65651f6ef fix(stream): update the msg encoder. 2024-11-15 00:19:35 +08:00
yihaoDeng
42065bf2e8 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-14 17:44:29 +08:00
Haojun Liao
c9a120e1d0 Merge branch '3.0' into fix/3_liaohj 2024-11-14 17:42:04 +08:00
Haojun Liao
b2b5a14d9d fix(stream): reset task add the failed chkptId info. 2024-11-14 17:38:40 +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
Shengliang Guan
a1f3b0a1ed
Merge pull request #28758 from taosdata/fix/3_liaohj
refactor: return the error code and do some refactor.
2024-11-14 15:57:51 +08:00
Minglei Jin
e3f57a1678 tsdb/cache: reuse update ctx array 2024-11-14 10:34:19 +08:00
Shengliang Guan
80b7cbdb84 Merge branch '3.0' into merge/mainto3.0 2024-11-13 23:11:05 +08:00
Haojun Liao
3b129f7e36 fix(stream): alwasy return success for resume req. 2024-11-13 19:35:01 +08:00
Haojun Liao
67a547f65a fix(stream): alwasy return success for resume req. 2024-11-13 13:46:23 +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
dapan1121
a8561fba4f Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-11 11:01:22 +08:00
dapan1121
411d61504f fix: remove taosMem calling 2024-11-11 09:09:40 +08:00
dapan1121
371094cc13 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-08 10:13:20 +08:00
wangjiaming0909
274a7fd876 refine unused codes 2024-11-08 09:50:32 +08:00
wangjiaming0909
2ddd07142a remove logs 2024-11-08 09:50:32 +08:00
wangjiaming0909
a70b4e28c8 fix tests 2024-11-08 09:50:30 +08:00
wangjiaming0909
9a92c136ce fix drop child table with tsma 2024-11-08 09:47:47 +08:00
wangjiaming0909
65dffbda0c fix tsma drop ctb 2024-11-08 09:47:04 +08:00
wangjiaming0909
413cf3e504 sink submit data one-by-one 2024-11-08 09:42:59 +08:00
54liuyao
f452ca47fe delete window state when drop table 2024-11-08 09:42:56 +08:00
wangjiaming0909
a5a3d1d8ad fix same timestamp written into same tsma res ctb 2024-11-08 09:40:06 +08:00
yihaoDeng
4f9c9a15db support disk usage 2024-11-07 20:20:44 +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
yihaoDeng
12beff2a0a support disk usage 2024-11-06 21:22:26 +08:00
yihaoDeng
a6436882a2 support disk usage 2024-11-06 15:25:50 +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
yihaoDeng
af80d0a6bf opt disk 2024-11-05 20:05:54 +08:00
yihaoDeng
dc576905f0 support disk usage 2024-11-05 19:57:13 +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
Minglei Jin
d8df6db06a fix schema update with sver param 2024-10-30 10:23:32 +08:00
54liuyao
d065d71821 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-30 10:09:48 +08:00
Shengliang Guan
c026f26289
Merge pull request #28546 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2024-10-30 08:57:21 +08:00
Haojun Liao
9bae0adba6 fix(stream): start scheduler task after set the refId. 2024-10-29 19:14:37 +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
yihaoDeng
b523cf8802 fix:conflicts from 3.0 2024-10-28 17:34:20 +08:00
Shungang Li
d34fc78a22 fix: (last) eliminate redundant logs caused by incorrect return results 2024-10-28 11:18:06 +08:00
Haojun Liao
51f3f29d5b fix(stream): fix syntax check failure. 2024-10-27 21:52:46 +08:00
Haojun Liao
4802f59dfe fix(stream): use the refId in stream meta list, in order to avoid access already freed stream tasks. 2024-10-27 15:49:40 +08:00
xinsheng Ren
412c10ed94
Merge branch '3.0' into enh/TD-32181/client 2024-10-25 22:54:04 +08:00
54liuyao
f79dcffc8c Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-25 14:14:43 +08:00
Minglei Jin
3795f9cd13 fix(vnode/commit): fix sync commit log output 2024-10-25 10:26:15 +08:00
54liuyao
cea454b002 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-24 19:24:55 +08:00
dapan1121
4f3484b823 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-10-24 16:49:38 +08:00
Shengliang Guan
f59f3901c0 Merge remote-tracking branch 'origin/main' into merge/3340 2024-10-24 10:16:26 +08:00
Shengliang Guan
81c30ab7c0 fix: format cmake file 2024-10-24 10:10:07 +08:00
xsren
f35d2847b9 enh: blockencode 2024-10-23 13:51:46 +08:00
xsren
d01a3481bc block buf len check 2024-10-23 13:51:46 +08:00
dmchen
bf2261bcff fix/TD-32621-add-log 2024-10-23 03:40:40 +00: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
54liuyao
6a2a5b80a1 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-18 09:28:18 +08:00
wangmm0220
bc05289192 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-18 09:28:16 +08:00
Haojun Liao
d715e50d68
Merge pull request #28403 from taosdata/fix/syntax
refactor: do some internal refactor.
2024-10-17 17:19:34 +08:00
54liuyao
e825d74213 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-17 17:12:00 +08:00
54liuyao
a62b5a3efd fix issue 2024-10-17 14:55:07 +08:00
Haojun Liao
c8e8cb0697 refactor: do some internal refactor. 2024-10-17 11:48:00 +08:00
Haojun Liao
6d3370d611
Merge pull request #28388 from taosdata/fix/syntax
fix(stream): only keep the latest pause operation status.
2024-10-17 09:55:14 +08:00
Hongze Cheng
1febe0b400
Merge pull request #28385 from taosdata/fix/TS-5529-3.0
fix: remove invalid error code check and add meta data recover and compact function
2024-10-17 08:37:30 +08:00
Haojun Liao
dd05353b74 refactor: do some internal refactor. 2024-10-16 22:07:37 +08:00
Hongze Cheng
71a762db75 add more error handle 2024-10-16 19:32:41 +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
wangmm0220
4f39974938 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-16 17:17:44 +08:00
Hongze Cheng
0c305a0678
Merge pull request #28372 from taosdata/fix/3.0/TD-32551
fix invaild snapshotVer while repair wal meta file
2024-10-16 16:49:49 +08:00
Hongze Cheng
b56701e05c fix: remove invalid error code check and add meta data recover and compact function 2024-10-16 16:31:30 +08:00
54liuyao
3e49f40c74 stream twa 2024-10-16 12:16:59 +08:00
54liuyao
944457d7a6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-16 12:09:17 +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
xiao-77
ca7f490e6d fix invaild snapshotVer while repair wal meta file 2024-10-15 16:53:15 +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
wangmm0220
61531e7339 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-14 13:55:45 +08:00
54liuyao
9377450199 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-14 13:55:05 +08:00
Pan Wei
80e2e426f0
Merge pull request #28277 from taosdata/enh/TD-32413/snprintf
Enh/td 32413/snprintf
2024-10-14 10:59:03 +08:00
wangmm0220
2e3bebe405 fix:[TD-32526] conflicts from 3.0 2024-10-13 12:59:50 +08:00
wangmm0220
fbed901add fix:[TD-32526] conflicts from 3.0 2024-10-12 18:41:48 +08:00
wangmm0220
db97e26d32 fix:[TD-32526] consumer null if add column because of pDataBlock not clear 2024-10-12 18:31:29 +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
Shungang Li
41f2653f0a fix: (last) add lock for writebatch 2024-10-12 09:52:46 +08:00
Pan Wei
e16af33fa3
Merge pull request #28311 from taosdata/enh/TD-32412
fix:[TD-32412] unsafe function
2024-10-12 09:42:26 +08:00
Hongze Cheng
f568d63ad0
Merge pull request #28309 from taosdata/fix/TD-32460
fix invalid free or mem leak
2024-10-12 09:08:59 +08:00
xinsheng Ren
d003cfaffb
Merge branch '3.0' into enh/TD-32413/snprintf 2024-10-11 19:50:48 +08:00
Minglei Jin
795c272ac9 fix(tsdb/scan): ignore lcn file only 2024-10-11 18:34:08 +08:00
WANG MINGMING
473a9f3b45
Merge branch '3.0' into enh/TD-32412 2024-10-11 17:11:07 +08:00
Pan Wei
bc0d958f58
Merge pull request #28232 from taosdata/enh/TD-32415-3.0
fix(query)[TD-32415]. Replace memory-unsafe functions
2024-10-11 17:04:29 +08:00
xinsheng Ren
9f645a0879
Merge branch '3.0' into enh/TD-32413/snprintf 2024-10-11 16:07:25 +08:00
Minglei Jin
3a58699a12
Merge branch '3.0' into feat/TS-5215-2 2024-10-11 15:03:03 +08:00
Hongze Cheng
f9b121e3db
Merge pull request #28298 from taosdata/fix/TD-32451-3.0
fix: (last) tsdbCacheGetBatch memleak issue
2024-10-11 14:41:39 +08:00
Jinqing Kuang
0199c8dddf fix(query)[TD-32415]. Replace memory-unsafe functions
- Replace memory unsafe functions with secure alternatives
- Fix automatical generation of subtable names
2024-10-11 14:34:19 +08:00
Haojun Liao
fb0d0b60a5 Merge branch '3.0' into fix/syntax 2024-10-11 13:53:05 +08:00
wangmm0220
f537832664 fix:[TD-32412] unsafe function 2024-10-11 10:53:32 +08:00
yihaoDeng
8028fa9710 fix invalid free or mem leak 2024-10-11 09:31:35 +08:00
Shungang Li
9f644cd2b2 fix: (last) tsdbCacheGetBatch memleak issue 2024-10-11 09:14:51 +08:00
wangmm0220
a9f393aa56 fix:[TS-5441] conflicts from 3.0 2024-10-10 18:32:25 +08:00
wangmm0220
42b7520d34 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-10 18:27:42 +08:00
Pan Wei
67bf944413
Merge pull request #28292 from taosdata/fix/buildRelease
fix: ret error
2024-10-10 18:18:25 +08:00
Minglei Jin
3905c94f03 vnode/tcs: use tcs instead of s3 interface 2024-10-10 16:34:37 +08:00
Haojun Liao
5c1cffed69 fix(stream): add some logs. 2024-10-10 15:54:15 +08:00
Haojun Liao
5e94ed5e25 Merge branch '3.0' into fix/syntax 2024-10-10 14:53:37 +08:00
Haojun Liao
5dc933f5f1 refactor: add some logs. 2024-10-10 14:52:51 +08:00
xsren
ef8367fbb4 fix: ret error 2024-10-10 14:40:59 +08:00
Hongze Cheng
26eebde0ef enh: change tsdb snapshot strategy to accelarate the snapshot process 2024-10-10 14:14:58 +08:00
Haojun Liao
3367f129da fix(vnd): check return value. 2024-10-10 11:27:37 +08:00
Haojun Liao
f70321ee53 fix(vnd): check return value. 2024-10-10 10:52:48 +08:00
xsren
e03ccdc6e2 replace snprintf 2024-10-10 10:35:48 +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
wangmm0220
e6bf8dcfde enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-09 18:10:43 +08:00
lyh250-666
676f8759e2 enh:modify error code passing 2024-10-09 15:37:00 +08:00
wangmm0220
0bcaf6f4e5 enh:[TS-5441] change poll flag to consumer for multi consumers 2024-10-09 15:30:28 +08:00
54liuyao
08283a34c2 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-09 11:19:29 +08:00
wangmm0220
08b2df7c4c fix:[TD-30270]conflicts from 3.0 2024-10-08 10:40:41 +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
Haojun Liao
e138cfc1f8
Merge pull request #28212 from taosdata/fix/3_liaohj
fix(query): return correct error code.
2024-09-30 17:03:59 +08:00
Hongze Cheng
64d43a5f43
Merge pull request #28191 from taosdata/fix/formateQId
formate qid
2024-09-30 16:58:22 +08:00
Haojun Liao
e2e1490f78 refactor: do some internal refactor. 2024-09-30 15:11:35 +08:00
Haojun Liao
e8ad3f4251 fix(query): return correct error code. 2024-09-30 15:07:16 +08:00
xsren
8db52fbf97 fix: mem free 2024-09-30 13:58:28 +08:00
Hongze Cheng
4620845f60
Merge pull request #28194 from taosdata/fix/3.0/TD-32399
Fix/3.0/td 32399 modify log msg and log level
2024-09-30 13:34:52 +08:00
xiao-77
6d56306111 modify tsdb cache release log to trace 2024-09-30 10:47:29 +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
1e96ea4b54 fix(stream): fix syntax error. 2024-09-29 21:41:12 +08:00
Haojun Liao
52be89c022 fix(stream): fix syntax error. 2024-09-29 19:18:49 +08:00
xiao-77
70bef74572 modify tsdb log 2024-09-29 18:58:18 +08:00
Haojun Liao
a23e6c2ce9 fix(stream): handle return value. 2024-09-29 18:43:26 +08:00
Haojun Liao
2f65886d01 refactor: do some internal refactor. 2024-09-29 18:26:57 +08:00
Haojun Liao
e1719f8de4 fix(stream): release ref. 2024-09-29 18:23:07 +08:00
yihaoDeng
57f7145878 formate qid 2024-09-29 17:56:11 +08:00
xiao-77
40a60cd35c modify log msg and log level 2024-09-29 16:18:43 +08:00
Haojun Liao
4c98786352 fix(stream): use meta id instead of ptr. 2024-09-29 16:12:46 +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
Hongze Cheng
e574f81f00
Merge pull request #28177 from taosdata/enh/remove_error_log_hz
Enh/remove_error_log_hz
2024-09-29 15:57:32 +08:00
Pan Wei
874a788959
Merge pull request #28164 from taosdata/postfix/3.0/TD-32356
postfix ctg dbCache heap use after free
2024-09-29 15:46:48 +08:00
Hongze Cheng
d948b59e5e
Merge pull request #28171 from taosdata/fix/TD-32337-3.0
fix: memory leak when alloc error occurs
2024-09-29 14:03:36 +08:00
Hongze Cheng
2230eda947 handle more error log 2024-09-29 12:42:08 +08:00
Hongze Cheng
7cdb54033b enh: make CI happy 2024-09-29 11:38:43 +08:00
Shungang Li
549d27955e fix: (last) dirty mark correction 2024-09-29 11:01:57 +08:00
Hongze Cheng
ef25d8ca36 handle return code 2024-09-29 10:51:59 +08:00
Hongze Cheng
f8be93571b fix: memory leak when alloc error occurs 2024-09-29 10:46:38 +08:00
Hongze Cheng
c812df98e8 enh: add some debug code 2024-09-29 09:13:55 +08:00
wangjiaming0909
1315deb04d fix rowMerger possibly null pointer 2024-09-27 18:17:14 +08:00
Shungang Li
10bd0fed21 enh: add lrucache overwriter 2024-09-27 17:24:45 +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
Shungang Li
435af1e486 fix: (last) mark lru dirty 2024-09-26 17:32:32 +08:00
Pan Wei
2549516cbf
Merge pull request #28098 from taosdata/fix/TS-5487-3.0
fix(query)[TS-5487]. Fix slow cleanup of metacahe on exit
2024-09-26 15:33:38 +08:00
Jinqing Kuang
2259dbebf7 fix(query)[TS-5487]. Fix slow cleanup of metacahe on exit
- Change the storage structure of the suid-related tagFilter list in the
  metacache to a hash set
- During cleanup on exit, first clear the suid tagFilter list before
  cleaning the LRU cache to avoid excessive overhead.

These modifications ensure that the metacache cleanup process is
efficient and maintains good LRU invalidation performance.
2024-09-26 13:27:24 +08:00
Hongze Cheng
0e1ef424fa remove more void 2024-09-26 11:27:01 +08:00