Commit graph

10407 commits

Author SHA1 Message Date
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
Hongze Cheng
53caf9f018 ehn: remove void 2024-09-26 10:43:16 +08:00
Minglei Jin
e19514e2c4 void cleanups 2024-09-25 16:52:17 +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
Hongze Cheng
20d9befb9b enh: handle memory leak when error occurs 2024-09-25 08:45:21 +08:00
Hongze Cheng
a9f170c59e
Merge pull request #28075 from taosdata/enh/TD-31890-17
ehn: remove void
2024-09-24 20:17:18 +08:00
Pan Wei
b6ede06707
Merge pull request #28076 from taosdata/enh/TD-31691
enh:modify addede rror code passing
2024-09-24 18:44:41 +08:00
Hongze Cheng
e16af0e45c more 2024-09-24 18:04:58 +08:00
Hongze Cheng
b55aec4b13 more code 2024-09-24 17:42:20 +08:00
Hongze Cheng
c6f5363674 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-31890-17 2024-09-24 17:12:16 +08:00
Hongze Cheng
c824a70b83
Merge pull request #27962 from taosdata/enh/removeVoidOfTransport
remove void
2024-09-24 17:12:03 +08:00
Hongze Cheng
4b75755af1 more change 2024-09-24 16:48:07 +08:00
Hongze Cheng
85e3b26a4d Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-31890-17 2024-09-24 16:40:48 +08:00
lyh250-666
5f6802e0a1 enh:modify addede rror code passing 2024-09-24 16:29:28 +08:00
Hongze Cheng
6a2e7769ae
Merge pull request #28047 from taosdata/enh/-TD-31890-15
ehn: handle void
2024-09-24 16:26:43 +08:00
Hongze Cheng
6abd0d6749 make it compile 2024-09-24 16:21:51 +08:00
Hongze Cheng
cccd2483d0 ehn: remove void 2024-09-24 16:08:48 +08:00
Hongze Cheng
e8b50df6ca
Merge pull request #28062 from taosdata/enh/-TD-31890-16
ehn: remove void
2024-09-24 15:29:56 +08:00
yihaoDeng
44cac014d6 Merge remote-tracking branch 'origin/3.0' into enh/removeVoidOfTransport 2024-09-24 14:46:33 +08:00
Hongze Cheng
5cfec529d9 pass CI 2024-09-24 13:52:47 +08:00
Hongze Cheng
4c23f9d5bd Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/-TD-31890-15 2024-09-24 13:20:20 +08:00
Hongze Cheng
3adcde6c28 fix CI problems 2024-09-24 13:06:24 +08:00
Hongze Cheng
645160d251 ehn: remove void 2024-09-24 10:06:30 +08:00
Zhixiao Bao
a95f00f463
Merge branch '3.0' into enh/TD-31892 2024-09-24 09:03:25 +08:00
Hongze Cheng
370a4e9c63 more fix 2024-09-24 08:37:15 +08:00
Hongze Cheng
22b58d03de Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/-TD-31890-15 2024-09-24 08:34:08 +08:00
Hongze Cheng
5ac139f57b
Merge pull request #28039 from taosdata/enh/TD-31890-13
enh: handle void
2024-09-24 08:29:38 +08:00
xiao-77
6bc8972c8c fix ci snapshot.py 2024-09-23 19:56:25 +08:00
Hongze Cheng
c6942dfc0b
Merge pull request #28030 from taosdata/enh/TD-31890-11
enh: handle void
2024-09-23 18:55:16 +08:00
Hongze Cheng
c9da6822e0 ehn: handle void 2024-09-23 18:02:25 +08:00
Haojun Liao
66cfee2c0e
Merge pull request #28024 from taosdata/fix/syntax
fix(tsdb): check the return value.
2024-09-23 17:22:36 +08:00
Hongze Cheng
a4114850b4 more 2024-09-23 15:38:55 +08:00
Hongze Cheng
00ef87dd3f enh: handle void 2024-09-23 15:33:28 +08:00
yihaoDeng
aa1fdacf23 Merge remote-tracking branch 'origin/3.0' into enh/removeVoidOfTransport 2024-09-23 15:24:01 +08:00
yihaoDeng
8e8f9c747a Merge branch '3.0' into enh/removeVoidOfTransport 2024-09-23 15:21:40 +08:00
xiao-77
9e8518e772 fix add mem free before retuen 2024-09-23 14:11:19 +08:00
Haojun Liao
60308ae844 fix(tsdb): return value if failed. 2024-09-23 14:05:36 +08:00
Hongze Cheng
f8cab36045 enh: handle void 2024-09-23 14:02:29 +08:00
Hongze Cheng
17dfd6ba42 enh: handle void 2024-09-23 13:48:34 +08:00
Hongze Cheng
5639fd0baf
Merge pull request #27947 from taosdata/enh/TS-5111-3.0
enh: support drop table with uid
2024-09-23 13:36:27 +08:00
Hongze Cheng
ba248dd94e
Merge pull request #28002 from taosdata/enh/TD-31895-3.0
enh: return value process
2024-09-23 11:27:24 +08:00
Haojun Liao
72d44d4207 other: merge 3.0 2024-09-23 11:05:31 +08:00
Haojun Liao
b8f06a06db fix(tsdb): check the return value. 2024-09-23 10:57:19 +08:00
wangmm0220
c2fb23d841 fix:conflicts from 3.0 2024-09-23 10:15:57 +08:00
kailixu
fb4a37e2f1 enh: code optimization 2024-09-21 22:08:41 +08:00
kailixu
bb31622693 Merge branch '3.0' into enh/TS-5111-3.0 2024-09-21 13:48:33 +08:00
Haojun Liao
dd266585a5
Merge pull request #28007 from taosdata/fix/3_liaohj
refactor: update the error logs.
2024-09-21 01:28:56 +08:00
Haojun Liao
f3b42fd9d1 enh(stream): generate the force_window_close trigger block. 2024-09-20 19:18:35 +08:00
xiao-77
7db555c788 fix crash at ci 2024-09-20 17:36:34 +08:00
xiao-77
8c9b7e9a15 Merge branch '3.0' into enh/TD-31892 2024-09-20 17:21:46 +08:00
Haojun Liao
c84598d9c3 refactor: do print error msg. 2024-09-20 17:12:52 +08:00
kailixu
6561e164d4 enh: return value process 2024-09-20 16:17:55 +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
Pan Wei
9e115de97f
Merge pull request #27914 from taosdata/fix/TD-31899
fix:[TD-31899] check return value by malloc/strdup
2024-09-20 15:09:00 +08:00
kailixu
74242ea74b Merge branch '3.0' into enh/TS-5111-3.0 2024-09-20 11:57:21 +08:00
Pan Wei
706479bdb2
Merge pull request #27987 from taosdata/enh/TD-31691
enh:modify error code passing
2024-09-20 11:47:24 +08:00
WANG MINGMING
06cf1c25b0
Merge branch '3.0' into fix/TD-31899 2024-09-20 11:46:16 +08:00
xiao-77
4717b99cef fix ci 2024-09-20 10:33:33 +08:00
kailixu
b0a711e575 Merge branch '3.0' into enh/TS-5111-3.0 2024-09-20 09:45:49 +08:00
lyh250-666
3367c787b0 enh:modify error code passing 2024-09-20 08:56:46 +08:00
Pan Wei
fa9f8f257b
Merge pull request #27984 from taosdata/enh/TD-31691
enh:modify error code passing
2024-09-20 08:44:07 +08:00
kailixu
3efa99520a enh: support drop table with uid 2024-09-20 01:54:07 +08:00
kailixu
8a5c47a9c2 Merge branch '3.0' into enh/TS-5111-3.0 2024-09-19 21:25:11 +08:00
xiao-77
389f5ff088 fix core at tsdbCache 2024-09-19 20:56:13 +08:00
lyh250-666
ae7dde1aa2 enh:modify error code passing 2024-09-19 19:51:51 +08:00
wangmm0220
f98db0d995 fix:[TD-31899] check return value by malloc/strdup 2024-09-19 19:44:34 +08:00
yihaoDeng
1192bc903f Merge branch '3.0' into enh/removeVoidOfTransport 2024-09-19 19:37:50 +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
kailixu
87339ac8fb enh: support drop table with uid 2024-09-19 19:03:06 +08:00
Pan Wei
b6c9c27aff
Merge pull request #27967 from taosdata/enh/TD-31691
enh:modify error code passing
2024-09-19 18:53:22 +08:00
kailixu
9cc0702a77 enh: drop table with uid 2024-09-19 18:34:49 +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
xiao-77
8ba8210f64 remove void in wal lruCache and tsdbCache 2024-09-19 16:22:23 +08:00
lyh250-666
63d98e2c5c enh:modify error code passing 2024-09-19 15:51:30 +08:00
yihaoDeng
7518d274e0 remove void check 2024-09-19 15:39:57 +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
kailixu
964ee72932 Merge branch '3.0' into enh/TS-5111-3.0 2024-09-19 12:58:52 +08:00
Hongze Cheng
b21e162f19 enh: error code handle 2024-09-19 11:36:29 +08:00
Hongze Cheng
54c6db8224
Merge pull request #27935 from taosdata/enh/TD-31890-8
enh: clear void functions
2024-09-19 10:24:35 +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
Hongze Cheng
86122d81ea Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-31890-8 2024-09-19 08:55:34 +08:00
kailixu
207c7aded0 enh: support drop table with uid 2024-09-18 19:38:57 +08:00
kailixu
2ea574fa4f chore: merge 3.0 2024-09-18 19:06:15 +08:00
Hongze Cheng
486e6679ca
Merge pull request #27939 from taosdata/fix/TD-32105-3.0
fix: quick exit when there is snapshot task in progress
2024-09-18 18:41:51 +08:00
Hongze Cheng
3aed4386ba fix: quick exit when there is snapshot task in progress 2024-09-18 17:06:05 +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
Hongze Cheng
45f5c947ea enh: clear void functions 2024-09-18 16:09:39 +08:00
Hongze Cheng
6cb94f69f2 enh: memory malloc return 2024-09-18 15:22:09 +08:00
kailixu
28edf40c2a enh: support drop table with uid 2024-09-18 13:57:17 +08:00
Pan Wei
4c459155f1
Merge pull request #27890 from taosdata/fix/TD-31870/os4
fix: os return
2024-09-18 11:03:44 +08:00
Haojun Liao
334b1c55c6
Merge pull request #27906 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-09-18 10:27:17 +08:00
wangmm0220
3eae8f1c99 fix:[TD-31899] check return value by malloc/strdup 2024-09-18 10:15:01 +08:00
kailixu
d7fcf21f8b enh: support drop table with uid 2024-09-17 15:41:10 +08:00
kailixu
cd358de7ce enh: support drop table with uid 2024-09-16 18:54:53 +08:00
kailixu
a6c76329fc enh: drop table with uid 2024-09-16 12:59:21 +08:00
kailixu
1b6694af20 enh: support drop table with uid 2024-09-16 11:39:11 +08:00
Haojun Liao
3332a0b822 refactor: do some internal refactor. 2024-09-15 01:19:30 +08:00
Hongze Cheng
e9a8975a0d
Merge pull request #27887 from taosdata/fix/TD-32051-3.0
fix: (last) nextRowIterGet compare pk
2024-09-14 21:01:49 +08:00
Shungang Li
0fd4928dc2 enh: retrieveRows no more if got all data 2024-09-14 17:02:38 +08:00
Haojun Liao
31354d4767 fix(stream): fix syntax error. 2024-09-14 12:22:51 +08:00
xsren
1b48080a94 fix: os return 2024-09-14 11:47:20 +08:00
Shungang Li
0ea38a15a8 fix: (last) nextRowIterGet compare pk 2024-09-14 10:26:14 +08:00
Haojun Liao
1a90e9612d refactor: check return value. 2024-09-13 23:04:41 +08:00
Haojun Liao
99dbb78992 refactor: check return value for stream. 2024-09-13 22:43:55 +08:00
Haojun Liao
a33015e712 refactor: pass error code to invoker. 2024-09-13 19:35:02 +08:00
Pan Wei
bac26332eb
Merge pull request #27795 from taosdata/fix/TD-31899
fix:[TD-31899] remove void(func)
2024-09-13 18:24:45 +08:00
Hongze Cheng
55dc17e165
Merge pull request #27856 from taosdata/fix/TD-31882-2
fix(tsdb/cache/read): comment lastTs out to load stt data
2024-09-13 17:06:06 +08:00
WANG MINGMING
bf3dbc1d4d
Merge branch '3.0' into fix/TD-31899 2024-09-13 14:31:53 +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
Hongze Cheng
553234c1ec
Merge pull request #27844 from taosdata/fix/TD-32042-3.0
fix: (last) heap-buffer-overflow in tsdbCacheDel
2024-09-13 10:47:48 +08:00
Minglei Jin
8547b8c942 fix(tsdb/cache/read): comment lastTs out to load stt data 2024-09-13 09:54:26 +08:00
WANG MINGMING
1854663f92
Merge branch '3.0' into fix/TD-31899 2024-09-13 09:09:09 +08:00
Pan Wei
c35ec8e07c
Merge pull request #27820 from taosdata/fix/TD-32027-3.0
fix(query)[TD-32027]. Fix null pointer access in exceptional cases
2024-09-13 09:07:08 +08:00
Jinqing Kuang
7b4116b28e fix(query)[TD-32027]. Fix null pointer access in exceptional cases 2024-09-12 19:47:02 +08:00
Haojun Liao
c13248dd4e refactor: remove void. 2024-09-12 19:23:05 +08:00
Shungang Li
5e8f6557b8 fix: (last) heap-buffer-overflow in tsdbCacheDel 2024-09-12 16:20:56 +08:00
WANG MINGMING
6234369d12
Merge branch '3.0' into fix/TD-31899 2024-09-12 16:18:35 +08:00
xsren
90d9784984 osEnv 2024-09-12 16:12:31 +08:00
Haojun Liao
3d50df7191 refactor: remove void. 2024-09-12 16:05:07 +08:00
Haojun Liao
e0a275f1d4 fix(stream): do some internal refactor and rewrite the error code for encode. 2024-09-12 14:49:35 +08:00
Hongze Cheng
19e95c126c
Merge pull request #27807 from taosdata/fix/TD-31880-3.0
fix: (last) call rocksdb_write before rocksdb_multi_get
2024-09-12 14:05:29 +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
Haojun Liao
68d6d7c01c
Merge pull request #27823 from taosdata/fix/create_tb
fix(query):fix invalid read.
2024-09-12 00:29:28 +08:00
Shungang Li
4d103c09d4 fix: ignore tsdbCacheFlushDirty errcode 2024-09-11 19:22:04 +08:00
Haojun Liao
4319cacdc3 fix(query):fix invalid read. 2024-09-11 19:09:17 +08:00
Pan Wei
8b7b5b7c6d
Merge pull request #27752 from taosdata/fix/TD-31870/OSFileRetCode
osDir
2024-09-11 17:52:14 +08:00
Hongze Cheng
a3b0a544e9
Merge pull request #27779 from taosdata/fix/TD-31882
fix(tsdb/cache): comment mem's early ts block
2024-09-11 16:13:30 +08:00
Shungang Li
44a955218c fix: (last) call rocksdb_write before rocksdb_multi_get 2024-09-11 13:48:23 +08:00
Hongze Cheng
9b3cd3fb8d enh: error code handle 2024-09-11 10:56:40 +08:00
wangmm0220
118eeec480 fix:[TD-31899] remove void(func) 2024-09-11 10:06:58 +08:00
wangmm0220
b2878d1851 fix:[TD-31899] remove void(func) 2024-09-11 09:54:59 +08:00
Shungang Li
fede52d5b7 enh: (last) rm rwritebatch 2024-09-11 09:24:19 +08:00
Hongze Cheng
37c12b6c3a enh: error handling 2024-09-10 18:55:02 +08:00
Hongze Cheng
b21a8670ba
Merge pull request #27771 from taosdata/enh/TD-31890-3
enh: error code handle
2024-09-10 18:02:08 +08:00
xsren
aea768d2c0 osFile 2024-09-10 17:40:19 +08:00
Minglei Jin
529af8d20b fix(tsdb/cache): comment mem's early ts block 2024-09-10 16:48:16 +08:00
Pan Wei
9eeec14f7e
Merge pull request #27763 from taosdata/fix/3.0/TD-31976
fix tdb/client eating error codes caused creating tsma blocking
2024-09-10 15:28:22 +08:00
Hongze Cheng
08be2b98bc fix: coredump 2024-09-10 15:20:09 +08:00
xsren
aa5683cfd9 osfile 2024-09-10 14:55:14 +08:00
Hongze Cheng
f18c1d8710 enh: error code handle 2024-09-10 14:35:43 +08:00
Hongze Cheng
37491186ee
Merge pull request #27767 from taosdata/enh/TD-31890-2
enh: remove void with error code handle
2024-09-10 14:20:55 +08:00
Hongze Cheng
09780dad3a
Merge pull request #27753 from taosdata/fix/TD-31954-3.0
enh: (last) add check for taosLRUCacheInsert
2024-09-10 13:54:48 +08:00
Hongze Cheng
63b64a90c0 enh: remove void with error code handle 2024-09-10 13:12:05 +08:00
Hongze Cheng
77a5ab8721
Merge pull request #27761 from taosdata/enh/TD-31890
enh: remove void in tsdb
2024-09-10 13:04:03 +08:00
Haojun Liao
3540ec9d44
Merge pull request #27742 from taosdata/fix/syntax
refactor: remove void.
2024-09-10 12:57:14 +08:00
xsren
2a3917029f osFile 2024-09-10 11:29:50 +08:00
wangjiaming0909
e8123a9422 fix tdb/client eating error codes caused creating tsma blocking 2024-09-10 11:14:18 +08:00
54liuyao
77ffe89bf6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-10 10:22:20 +08:00
Hongze Cheng
6bc44239c0 enh: remove void in tsdb 2024-09-10 10:05:38 +08:00
Shungang Li
8924df6175 enh: (last) handle LRU overwrite errorcode 2024-09-10 09:52:32 +08:00
Pan Wei
99f320b7e0
Merge pull request #27755 from taosdata/fix/TD-31971-3.0
fix(query)[TD-31971]. Fix potential wild pointer access in tsdbReaderClose
2024-09-10 08:52:09 +08:00
Jinqing Kuang
1ef8574429 fix(query)[TD-31971]. Fix potential wild pointer access in tsdbReaderClose
Resolved an issue in tsdbReaderClose where wild pointer access could
occur in cases of insufficient memory or other exceptions.
2024-09-09 18:11:52 +08:00
Hongze Cheng
e0c86eee89 fix: possible coredump 2024-09-09 17:15:52 +08:00
wangmm0220
f1d900bf75 enh:[TD-30270]merge from 3.0 2024-09-09 16:57:02 +08:00
Shungang Li
bdb85e640d enh: (last) add check for taosLRUCacheInsert 2024-09-09 16:51:45 +08:00
wangmm0220
d870d0a967 enh:[TD-30270]opti data struct in tmq 2024-09-09 16:05:32 +08:00
Haojun Liao
68e3beac0e fix(stream): fix syntax error. 2024-09-09 15:51:25 +08:00
Haojun Liao
a29903101a refactor: remove void and do some internal refactor. 2024-09-09 14:49:05 +08:00
Hongze Cheng
8c64b1049c
Merge pull request #27749 from taosdata/enh/TD-31803-11
enh: error handle in message encode and decode
2024-09-09 14:47:14 +08:00
Pan Wei
07424b7a06
Merge pull request #27719 from taosdata/fix/TD-31790/errCheck
fix: distinguish the calling scenarios of the metaGetTbTSchema function
2024-09-09 14:10:20 +08:00
Hongze Cheng
a260a5f2f7 enh: error handle in message encode and decode 2024-09-09 11:49:44 +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
xsren
c98f6daf11 errcode cast 2024-09-09 10:21:57 +08:00
Hongze Cheng
f2d044fb72
Merge pull request #27734 from taosdata/fix/TS-5390-3.0
fix: (last) mergeLastCid add check for iCol
2024-09-09 08:37:03 +08:00
Haojun Liao
958b443fc2 refactor: check return value. 2024-09-08 23:49:04 +08:00
Haojun Liao
31ab46f210 other: merge 3.0 2024-09-08 22:52:17 +08:00
Haojun Liao
06f42443cb refactor: remove void. 2024-09-08 22:49:05 +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
Shungang Li
03b1ec08d1 fix: (last) mergeLastCid add check for iCol 2024-09-07 17:45:16 +08:00
Hongze Cheng
6722b7788c
Merge pull request #27721 from taosdata/fix/TD-31915
fix(tsdb/file2): free fobj if appending failed
2024-09-07 08:55:53 +08:00
Hongze Cheng
92ae3d06ed
Merge pull request #27718 from taosdata/fix/TD-31934-3.0
fix: add null check for getTableLoadInfo
2024-09-06 17:36:32 +08:00
Haojun Liao
370ba19062 fix(query): fix memory leak. 2024-09-06 17:30:31 +08:00
Haojun Liao
6af9f279bc fix(query): fix memory leak. 2024-09-06 17:01:17 +08:00
Haojun Liao
0236db51f6 fix(query): fix memory leak and do some internal refactor. 2024-09-06 15:44:25 +08:00
Hongze Cheng
44c19e9da8 fix more 2024-09-06 15:36:57 +08:00
Minglei Jin
0614bc47a8 fix(tsdb/file2): free fobj if appending failed 2024-09-06 14:47:50 +08:00
xsren
3fb89fb814 fix: distinguish the calling scenarios of the metaGetTbTSchema function 2024-09-06 14:16:58 +08:00
Shungang Li
a02acd7383 fix: add null check for getTableLoadInfo 2024-09-06 14:01:55 +08:00
54liuyao
7501c5a865 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-06 13:26:23 +08:00
Jing Sima
dde0ad1e54 enh:[TD-31902] Remove void. 2024-09-06 10:38:10 +08:00
wangmm0220
23507b0eac fix:[TD-31899] remove void(func) 2024-09-06 10:16:15 +08:00
Haojun Liao
1e57724533
Merge pull request #27688 from taosdata/fix/3_liaohj
fix(stream): handle continuous retrieve during checkpoint procedure.
2024-09-06 09:11:08 +08:00
Jinqing Kuang
ad5aa4b032 fix(query)[TD-31929]. Fix mem-leak caused by redundant allocations 2024-09-05 16:58:20 +08:00
Haojun Liao
5266d87249 Merge remote-tracking branch 'origin/fix/3_liaohj' into fix/3_liaohj 2024-09-05 16:04:54 +08:00
Haojun Liao
277528996e fix(stream): handle continuous retrieve during checkpoint procedure. 2024-09-05 16:04:36 +08:00