Commit graph

19955 commits

Author SHA1 Message Date
Haojun Liao
fb3fe03c1f fix(stream): to avoid repeatly start checkpoint timer if previous timer is not started yet. 2024-07-18 14:57:39 +08:00
Minglei Jin
6ce5320750 wal/mgmg: use new return macros for wal mgmt 2024-07-18 14:40:49 +08:00
Minglei Jin
180411434a wal/ref: use new return macros for ref 2024-07-18 14:14:51 +08:00
dapan1121
5cd03bb2ce fix: compile issues 2024-07-18 14:13:29 +08:00
54liuyao
952908f0c9 adj stream operator result 2024-07-18 14:01:24 +08:00
xsren
960103a6ef fix: mem leak 2024-07-18 13:58:47 +08:00
Haojun Liao
3277496f84 fix(stream): fix syntax error. 2024-07-18 13:26:14 +08:00
dapan1121
123b0e9378 fix: catalog free issue 2024-07-18 13:25:56 +08:00
Haojun Liao
5d797ce7fd fix(stream): fix syntax error. 2024-07-18 13:24:45 +08:00
xsren
e8218f7f63 fix: set fqdn for udfd 2024-07-18 12:18:17 +08:00
54liuyao
455c9d32c4 adj stream operator result 2024-07-18 11:44:15 +08:00
54liuyao
99f4484328 adj stream operator result 2024-07-18 11:26:50 +08:00
Haojun Liao
fd3a06586b fix(stream): fix syntax error. 2024-07-18 10:49:46 +08:00
54liuyao
4e6b898c9a adj stream operator result 2024-07-18 10:37:14 +08:00
Minglei Jin
964397ea63 move log macros into internal header 2024-07-18 10:29:25 +08:00
Minglei Jin
f485e4c5e8 remove wal seek module 2024-07-18 10:16:12 +08:00
54liuyao
ab642b245c adj stream operator result 2024-07-18 10:09:15 +08:00
xsren
24183d3f86 fix: start udfd with env var 2024-07-18 09:58:23 +08:00
Minglei Jin
d2be5e0464 refactor wal's meta & reader 2024-07-18 09:51:31 +08:00
Haojun Liao
438921e9cc refactor: check return value for each function. 2024-07-18 09:30:58 +08:00
Yihao Deng
d0d73daf7e fix invalid read when taosc quit 2024-07-18 01:13:00 +00:00
dapan1121
66245a54f0 fix: taos array init issue 2024-07-18 09:06:52 +08:00
54liuyao
d5873aa1b2 adj log 2024-07-18 09:01:35 +08:00
Minglei Jin
5e4b7b35a5 fix compile error 2024-07-18 08:04:19 +08:00
wangmm0220
18ed8e2904 Merge branch '3.0' of https://github.com/taosdata/TDengine into opti/TS-4593-3.0 2024-07-17 19:56:14 +08:00
Haojun Liao
43dc95869f fix(stream):set the initialized value. 2024-07-17 19:41:06 +08:00
54liuyao
113cb57326 adj stream operator result 2024-07-17 19:35:35 +08:00
dapan1121
2eec17b20c enh: add catalog return code processing 2024-07-17 19:23:20 +08:00
Haojun Liao
0b6a49ac7d fix(stream): fix error and do some internal refactor. 2024-07-17 19:17:53 +08:00
Haojun Liao
9bdc65ceb1 fix(stream):fix syntax error. 2024-07-17 18:57:29 +08:00
Haojun Liao
b35d107bf9 refactor: check return value for each function. 2024-07-17 18:55:04 +08:00
Haojun Liao
2b00d6549d refactor: check return value for each function. 2024-07-17 17:57:08 +08:00
factosea
aee48971de fix: taoshash put 2024-07-17 17:52:29 +08:00
Minglei Jin
10dc3b35e0 remove struct dot initialization for cpp 2024-07-17 17:39:13 +08:00
Haojun Liao
0100bb51b9 other: merge 3.0 2024-07-17 17:36:49 +08:00
dapan1121
fa2fb83014
Merge pull request #26609 from taosdata/TD-31000
ret value for parTranslater.c
2024-07-17 17:33:39 +08:00
Haojun Liao
2aa4d6028b refactor: check return value for each function. 2024-07-17 16:56:36 +08:00
Haojun Liao
30186f466b refactor: check return value for each function. 2024-07-17 16:47:56 +08:00
Haojun Liao
552e59f42b refactor: check return value for each function. 2024-07-17 15:40:00 +08:00
Minglei Jin
e2371f9d91 remove unused internal api: walSeekWriteVer 2024-07-17 14:52:42 +08:00
Minglei Jin
e6c86f5586 fix(wal/write): remove walWrite which is only used in unit testing 2024-07-17 14:45:23 +08:00
Hongze Cheng
35606a5658 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-30987-3 2024-07-17 13:07:07 +08:00
Haojun Liao
9b3a9d52fb
Merge pull request #26603 from taosdata/fix/create_tb
fix(stream): check dst stable schema before create submit msg
2024-07-17 12:31:40 +08:00
Haojun Liao
53ed030967 Merge branch '3.0' into fix/3_liaohj 2024-07-17 11:25:19 +08:00
dapan1121
aeb21a536e
Merge pull request #26610 from taosdata/fix/TD-30966.sch.0
fix: scheduler return code
2024-07-17 11:21:51 +08:00
Hongze Cheng
6f29e7638c
Merge pull request #26562 from taosdata/fix/TD-30872-3.0
fix: parseOneStbRow support for jsontag
2024-07-17 11:03:07 +08:00
wangjiaming0909
0cccaa8ac4 ret value for parTranslater.c 2024-07-17 10:26:06 +08:00
Haojun Liao
395b437fec Merge branch '3.0' into fix/create_tb 2024-07-17 10:24:20 +08:00
Haojun Liao
5057749790 fix(stream): fix race condition for dispatch msg. 2024-07-17 10:22:49 +08:00
Haojun Liao
9aadc5e4ac fix(stream): fix race condition for dispatch msg. 2024-07-17 10:18:58 +08:00
dapan1121
a62c0fda83 fix: scheduler UT issues 2024-07-17 09:12:42 +08:00
dapan1121
23e72a6e69
Merge pull request #26587 from taosdata/feat/TD-30975
feat:[TD-30975]process return value in schemaless
2024-07-17 09:10:58 +08:00
Haojun Liao
665fbd6f22
Merge pull request #26551 from taosdata/fix/TD-30967
feat: adj result of function
2024-07-17 09:09:23 +08:00
Haojun Liao
103e9194b0
Merge pull request #26592 from taosdata/fix/syntax
fix(tsdb): check return value.
2024-07-17 09:08:22 +08:00
Hongze Cheng
5c6c9a8219 fix: test compile 2024-07-16 20:26:46 +08:00
Hongze Cheng
7cce77c260 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-30987-3 2024-07-16 20:19:31 +08:00
dapan1121
352abe0b5c fix: scheduler return code 2024-07-16 19:03:12 +08:00
Hongze Cheng
1a4d4254ab
Merge pull request #26595 from taosdata/fix/TD-30989-audit
fix/TD-30989
2024-07-16 18:52:49 +08:00
Haojun Liao
94f596c4ce refactor: remove the invalid return value. 2024-07-16 18:52:01 +08:00
Hongze Cheng
64363627fe enh: refact tqueue code 2024-07-16 17:30:32 +08:00
dapan1121
cfa9435a20 fix: invalid ref id issue 2024-07-16 16:26:01 +08:00
Haojun Liao
691c1dfa7d fix(stream): check dst stable schema before generating auto create table. 2024-07-16 14:45:09 +08:00
dapan1121
cb48954ef3 enh: add return code validation 2024-07-16 13:26:26 +08:00
dmchen
2d3d6e7b31 fix/TD-30989 2024-07-16 02:10:15 +00:00
dapan1121
9ed56939df Merge remote-tracking branch 'origin/3.0' into fix/TD-30966.sch.0 2024-07-16 08:54:40 +08:00
54liuyao
29381075c5 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30967 2024-07-16 08:54:12 +08:00
Haojun Liao
25f5c9dc5e other: merge 3.0 2024-07-15 19:41:54 +08:00
Haojun Liao
51e9723d66 refactor: do some refactor. 2024-07-15 19:37:52 +08:00
dapan1121
82b517dd2a enh: add scheduler return code processing 2024-07-15 19:28:04 +08:00
Haojun Liao
a46b7b3a41 fix(stream): adjust the time to free task backend. 2024-07-15 19:19:58 +08:00
dapan1121
7bbe84a1b0
Merge pull request #26576 from taosdata/fix/TD-30966.2
fix: qworker UT case
2024-07-15 19:16:03 +08:00
wangmm0220
aed8a75e35 feat:[TD-30975]process return value in schemaless 2024-07-15 19:07:20 +08:00
dapan1121
c10106a4da
Merge pull request #26512 from taosdata/enh/TD-29679
use regex cache
2024-07-15 19:01:50 +08:00
54liuyao
b5ccc3db92 adj stream function result 2024-07-15 18:19:05 +08:00
dapan1121
b81493b7b4 fix: compile issues 2024-07-15 17:32:36 +08:00
dapan1121
abe49ff61a enh: add scheduler return code processing 2024-07-15 17:11:36 +08:00
Shungang Li
51000ffe7f fix: parseOneStbRow support for jsontag 2024-07-15 16:35:23 +08:00
dapan1121
50d7a458e5 fix: qworker ut cases 2024-07-15 15:40:39 +08:00
54liuyao
3cdb957f22 adj function of stream operator result 2024-07-15 15:32:11 +08:00
dapan1121
4951ed9fa7
Merge pull request #26552 from taosdata/fix/TD-30966.0
fix: validate function return value
2024-07-15 14:59:47 +08:00
dapan1121
b3402a93bc
Merge pull request #26530 from taosdata/fix/3.0/TS-5150
fix:[TS-5150] Fix stddev wrong result with null type.
2024-07-15 14:57:32 +08:00
Haojun Liao
a886351298 fix(stream): update checkpoint into different dir. 2024-07-15 14:52:28 +08:00
dapan1121
a8c39cdd11 enh: add return code processing 2024-07-15 14:48:21 +08:00
54liuyao
4efd774ce8 adj stream function return 2024-07-15 14:32:31 +08:00
54liuyao
503822a9c5 adj ut 2024-07-15 14:24:09 +08:00
Haojun Liao
c4cde6f268 fix(stream): mark the timer launched by which checkpoint procedure. 2024-07-15 14:23:33 +08:00
Hongze Cheng
dccbd4be99
Merge pull request #26545 from taosdata/enh/TD-30880-2
Enh/TD-30880-2
2024-07-15 14:15:48 +08:00
Hongze Cheng
77e2582cc1
Merge pull request #26536 from taosdata/enh/TD-30856-3.0
enh: 'create table' parses csv file per tsMaxInsertBatchRows
2024-07-15 13:54:48 +08:00
dapan1121
a82b0b805d fix: error handling issue 2024-07-15 13:50:04 +08:00
54liuyao
33f873b8ec Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-07-15 13:42:45 +08:00
54liuyao
9b067d075f adj stream function return 2024-07-15 13:38:34 +08:00
Yihao Deng
3414738b63 Minimize redundant logs 2024-07-15 03:26:45 +00:00
Yihao Deng
a1f23648b7 Minimize redundant logs 2024-07-15 03:22:21 +00:00
dapan1121
4c2c9a71d5 fix: table info issue 2024-07-15 10:05:57 +08:00
wangmm0220
e78a75d183 opti:[TS-4593] transform offset from file to tdb in tmq 2024-07-15 09:48:04 +08:00
54liuyao
3b914248a5 adj bloomfilter 2024-07-12 15:52:54 +08:00
54liuyao
5b982354e1 adj bloomfilter 2024-07-12 15:30:03 +08:00
dapan1121
e527f2fd0b fix: validate function return value 2024-07-12 15:22:39 +08:00
Haojun Liao
f424460a0c other: merge 3.0 2024-07-12 15:17:06 +08:00
Haojun Liao
8b269ca955 refactor: do some internal refactor. 2024-07-12 15:12:43 +08:00
Haojun Liao
58b44de576
Merge pull request #26526 from taosdata/fix/3_liaohj
fix(stream):commit the update of table meta.
2024-07-12 15:11:51 +08:00
factosea
eed684e072 fix: match check 2024-07-12 14:16:55 +08:00
factosea
2604a17fef fix: invalid operation 2024-07-12 12:04:23 +08:00
factosea
57f826608a checkout regex pattern at client 2024-07-12 11:48:48 +08:00
Yihao Deng
0d7bd8e3af fix compile error 2024-07-12 03:01:19 +00:00
Yihao Deng
d37ac7935f Merge remote-tracking branch 'origin/3.0' into enh/TD-30880-2 2024-07-12 02:55:58 +00:00
Yihao Deng
d5eb7202f3 fix compile error 2024-07-12 02:54:59 +00:00
sima
c25bc3f2ca fix:[TS-5150] Fix stddev wrong result with null type. 2024-07-12 09:19:46 +08:00
factosea
cfda747613 fix: match cache release 2024-07-11 21:00:08 +08:00
Haojun Liao
93c06be262 fix(stream): free checkpoint trigger block in case of redundant trigger block recved. 2024-07-11 17:03:21 +08:00
Shungang Li
942599fe04 enh: 'create table' parses csv file per tsMaxInsertBatchRows 2024-07-11 16:14:31 +08:00
Haojun Liao
15573efbbc fix(stream):commit the update of table meta. 2024-07-11 14:57:40 +08:00
dapan1121
e4c624f286
Merge pull request #26489 from taosdata/fix/3.0/TD-30819
feat:[TD-30819] Reduce memory usage when use percentile with interval.
2024-07-11 13:35:39 +08:00
dapan1121
3e3e7e3808
Update timewindowoperator.c 2024-07-11 13:35:25 +08:00
dapan1121
0d784d94d6
Merge pull request #26453 from taosdata/fix/TD-30915
fix:[TD-30915]tmq exit elegantly
2024-07-11 13:15:10 +08:00
factosea
d0ade067b2 init regex cache in unit test 2024-07-11 09:12:41 +08:00
Haojun Liao
e273173d20
Merge pull request #26499 from taosdata/fix/3_liaohj
fix(stream): fix race-condition during expand stream tasks.
2024-07-11 00:06:57 +08:00
factosea
41b8693430 use regex cache 2024-07-10 19:46:09 +08:00
sima
f17c535ca0 feat:[TD-30819] Reduce memory usage when using percentile with interval. 2024-07-10 19:43:19 +08:00
wangmm0220
1e156c9ce1 fix:cleanup scheduler timer & remove destroy global variables to avoid heap use after free 2024-07-10 18:58:06 +08:00
dapan1121
076fd07a26
Merge pull request #26492 from taosdata/enh/3.0/bigger_tsma_interval
Enh/3.0/bigger tsma interval
2024-07-10 18:30:40 +08:00
Haojun Liao
7214cea808 fix(stream): check if task is killed during generated interval results. 2024-07-10 18:16:51 +08:00
Haojun Liao
60fa674be8 fix(stream): fix race-condition during expand stream tasks. 2024-07-10 17:46:33 +08:00
sima
154ef739d9 fix:[TD-30819] fix memory leak in SqlFunctionCtx. 2024-07-10 10:59:51 +08:00
54liuyao
dcb8673063 set key for session window state 2024-07-10 09:01:39 +08:00
dapan1121
92089e2d86
Merge pull request #26417 from taosdata/enh/TD-29154/diff
Enh/td 29154/diff
2024-07-10 08:38:32 +08:00
factosea
81b62f4a15 fix: use int64 for timestamp 2024-07-09 18:47:33 +08:00
Hongze Cheng
0fcc57b52a
Merge pull request #26439 from taosdata/enh/TD-30442
Enh/TD-30442
2024-07-09 18:04:34 +08:00
Yihao Deng
1b052eefd0 refactor code 2024-07-09 09:48:26 +00:00
wangjiaming0909
64f3d11783 add tests for month/year tsma interval 2024-07-09 17:39:44 +08:00
Yihao Deng
ddd3c23ff0 refactor code 2024-07-09 09:12:02 +00:00
Yihao Deng
41f8553d53 refactor code 2024-07-09 08:35:04 +00:00
Yihao Deng
ee09e26f47 refactor code 2024-07-09 08:24:30 +00:00
Haojun Liao
773f70a907 fix(stream): fix syntax error. 2024-07-09 15:55:56 +08:00
Haojun Liao
c71413c2aa fix(stream): discard the repeat send consensus-checkpointId msg. 2024-07-09 14:52:15 +08:00
factosea
163b31a4ee fix: type overflow 2024-07-09 14:48:21 +08:00
Haojun Liao
acde36a25b Merge branch '3.0' into fix/3_liaohj 2024-07-09 14:43:35 +08:00
Haojun Liao
75d2e96b9a
Merge pull request #26446 from taosdata/fix/cov
refactor(stream): delay checkpointInterval to generate the checkpoint
2024-07-09 09:00:43 +08:00
factosea
20f4eda56d fix: tinyint 2024-07-09 07:05:40 +08:00
Haojun Liao
9f4f4f7f9f fix(stream): set the null column when extracting data from submit data. 2024-07-09 00:01:54 +08:00
factosea
3e320ebdf1 build failed 2024-07-08 23:22:41 +08:00
factosea
28dc3c85ea type overflow 2024-07-08 20:38:23 +08:00
wangjiaming0909
cdca567ad3 fix query tsma with month/year interval 2024-07-08 19:12:15 +08:00
wangjiaming0909
73d4fa48f9 support month/year tsma interval 2024-07-08 18:22:33 +08:00
Haojun Liao
bdced636b3 fix(stream): free task state when stopping stream tasks. 2024-07-08 18:20:35 +08:00
Yihao Deng
fe9aebc4fe fix invalid read 2024-07-08 09:27:42 +00:00
Haojun Liao
de7e25f259 fix(stream): fix race condition in handling the hbMsg rsp. 2024-07-08 16:57:13 +08:00
Hongze Cheng
1c774f021f
Merge pull request #26443 from taosdata/fix/TD-30807
fix UAF
2024-07-08 16:14:56 +08:00
Haojun Liao
7cfdf0c14d fix(stream): not check the total number of sub tasks with different status. 2024-07-08 15:43:29 +08:00
Yihao Deng
ef46c0c545 Merge remote-tracking branch 'origin/3.0' into enh/TD-30880 2024-07-08 07:34:39 +00:00
Yihao Deng
982fed581d fix invalid read 2024-07-08 07:34:06 +00:00
Haojun Liao
6e15c16cf7 fix(stream): check the set consensus-checkpointId ts. 2024-07-08 14:33:28 +08:00
Yihao Deng
e02caa9757 add http interface 2024-07-08 05:41:38 +00:00
Yihao Deng
c3caa8475a add http interface 2024-07-08 03:25:41 +00:00
Yihao Deng
392e65c2ac add http interface 2024-07-08 03:22:26 +00:00
Yihao Deng
0e1677d397 add http interface 2024-07-08 02:51:47 +00:00
Yihao Deng
92281bb4a3 add http interface 2024-07-08 02:44:52 +00:00
Yihao Deng
3148463ab3 add http interface 2024-07-08 02:43:58 +00:00
Yihao Deng
1c4f354adf add http interface 2024-07-08 02:32:55 +00:00
Hongze Cheng
c8aa963417
Merge pull request #26434 from xinjiempolde/enh/TD-21826-3.0
enh/td-21826-3.0 error handling for stmt
2024-07-08 10:21:14 +08:00
Yihao Deng
df12b72549 fix invalid read 2024-07-08 01:37:47 +00:00
Haojun Liao
ce4153b6fc fix(stream): use hb to send the consens-checkpointid req. 2024-07-08 09:05:33 +08:00
Yihao Deng
8cbe534f93 fix invalid read 2024-07-07 06:04:59 +00:00
wangjiaming0909
dbc2e9ec75 support bigger tsma interval 2024-07-05 18:21:48 +08:00
Yihao Deng
0e9205c314 fix UAF 2024-07-05 09:13:30 +00:00
Haojun Liao
8e6bb176c2 fix(stream): use trans to set the consensus-checkpoint id 2024-07-05 16:17:20 +08:00
Yihao Deng
3202776f0a Merge remote-tracking branch 'origin/3.0' into enh/TD-30442 2024-07-05 07:31:57 +00:00
Yihao Deng
4ac897be44 refactor backend 2024-07-05 06:51:13 +00:00
dmchen
3a4412b282 fix/TD-30876 2024-07-05 06:24:53 +00:00
xjzhou
b8012df909 handle fixed table name int sql 2024-07-05 14:18:51 +08:00
Yihao Deng
52a8082622 refactor backend 2024-07-05 03:40:19 +00:00
Yihao Deng
7730413924 Merge remote-tracking branch 'origin/3.0' into enh/TD-30442 2024-07-05 03:22:35 +00:00
Yihao Deng
f9679feaa7 fix compile error 2024-07-05 02:42:22 +00:00
Yihao Deng
f8c7908611 fix compile error 2024-07-05 02:29:55 +00:00
dapan1121
2dbedaf88b
Merge pull request #26415 from taosdata/feat/3.0/TS-5131
feat:[TS-5131] Support parse alias table name with backquote.
2024-07-05 09:01:32 +08:00
Haojun Liao
db4a00c74e fix(stream): not restart for reset task status. 2024-07-05 08:55:40 +08:00
Yihao Deng
94a480292f Merge remote-tracking branch 'origin/3.0' into enh/TD-30442 2024-07-05 00:48:41 +00:00
factosea
99f9c28e77 fix: return code 2024-07-05 08:07:00 +08:00
Yihao Deng
0cdfae3a2c refactor backend 2024-07-04 12:13:17 +00:00
Haojun Liao
799f61c2db other: fix coverity issue. 2024-07-04 19:20:07 +08:00
Yihao Deng
92ab689c46 refactor backend 2024-07-04 10:26:58 +00:00
Yihao Deng
8428a5be37 refactor backend 2024-07-04 10:25:37 +00:00
Haojun Liao
998421e5ad fix(stream): update some logs. 2024-07-04 17:49:59 +08:00
Haojun Liao
e6defda0d0 fix(stream): check for checkpoint interrpution in sendReady monitor. 2024-07-04 17:48:58 +08:00
Haojun Liao
c35c634977 fix(stream): add flag to disable the concurrently started consensus-checkpointId procedure. 2024-07-04 17:08:32 +08:00
xjzhou
3151d0663c update 2024-07-04 16:45:10 +08:00
Yihao Deng
7171b6dd6d fix comment 2024-07-04 08:34:42 +00:00
Yihao Deng
5b1dddf4d5 fix comment 2024-07-04 08:14:50 +00:00
sima
7526f8315a feat:[TS-5131] Support parse alias table name with backquote. 2024-07-04 16:10:19 +08:00
Yihao Deng
eb1a5e3cc6 fix comment 2024-07-04 08:05:51 +00:00
factosea
593d8adc42 test case 2024-07-04 15:56:12 +08:00
Haojun Liao
47b0a0464e fix(stream): send checkpoint-source-rsp to mnode before reset task status. 2024-07-04 15:21:16 +08:00
Yihao Deng
ea01f1eb85 fix comment 2024-07-04 06:38:14 +00:00
Yihao Deng
0bd51f2133 fix comment 2024-07-04 06:36:36 +00:00
Haojun Liao
653f7a1a43 fix(stream): refactor the checkpoint consensus policy. 2024-07-04 13:55:50 +08:00
factosea
5f0ac46029 diff 2024-07-04 11:04:59 +08:00
dapan1121
a8a725936e
Merge pull request #26342 from taosdata/fix/TD-30725
fix:[TD-30725]modify error code & fix potential memory leaks
2024-07-04 11:00:49 +08:00
xjzhou
19cbd47bef Merge remote-tracking branch 'origin/3.0' into enh/TD-21826-3.0 2024-07-03 17:08:07 +08:00
Yihao Deng
95469124f8 fix stream restart crash 2024-07-03 06:47:52 +00:00
Hongze Cheng
71af880554
Merge pull request #26376 from xinjiempolde/fix/TD-30864-3.0
fix(TD-30864): taos crashed at parInsertSql.c
2024-07-03 09:35:53 +08:00
dapan1121
56689cf97a
Merge pull request #26360 from taosdata/fix/3.0/TD-30305
fix coverity issues
2024-07-03 08:50:11 +08:00
Hongze Cheng
e679c8d95a
Merge pull request #26374 from taosdata/fix/TD-30856-3.0
fix: buildTagIndexForBindTags errcode
2024-07-02 18:55:40 +08:00
xjzhou
c851049d7c fix(TD-30864): taos crashed at parInsertSql.c 2024-07-02 16:28:30 +08:00
Yihao Deng
471580ec5e Merge remote-tracking branch 'origin/3.0' into enh/TD-30442 2024-07-02 08:26:10 +00:00
Yihao Deng
ca1562a990 add self check 2024-07-02 08:23:56 +00:00
Shungang Li
21d653f10f fix: buildTagIndexForBindTags errcode 2024-07-02 16:22:59 +08:00
Haojun Liao
279bfb4de0
Merge pull request #26364 from taosdata/fix/3_liaohj
fix(stream): fix error in pause/resume procedure.
2024-07-02 15:32:43 +08:00
Haojun Liao
4e56b6f9eb fix(stream): fix error in pause/resume procedure. 2024-07-02 13:33:31 +08:00
xjzhou
88aa15e944 enh: Enhance error handling for stmt 2024-07-02 11:05:54 +08:00
xjzhou
d69c5b1840 isStmtBind 2024-07-02 10:56:55 +08:00
dapan1121
2f970dbc03
Merge pull request #26351 from taosdata/fix/TS-5105-1
fix(query):adj second param for last_row
2024-07-02 10:50:36 +08:00
wangjiaming0909
024422bfd7 fix coverity issues 2024-07-02 09:27:14 +08:00
Haojun Liao
420b59fea5
Merge pull request #26344 from taosdata/fix/3_liaohj
fix(stream): validate the stream hb msg, and discard the invalid hb msg.
2024-07-02 09:07:31 +08:00
dapan1121
6d0b8eeed4
Merge pull request #26302 from taosdata/TD-26483
feat(query):add thread pool
2024-07-01 19:04:52 +08:00
54liuyao
24308a4acb adj pool name 2024-07-01 18:52:36 +08:00
Haojun Liao
2c86e3940f fix(stream): fix memory leak. 2024-07-01 17:43:10 +08:00
54liuyao
ff32797e05 adj second param for last_row 2024-07-01 16:58:39 +08:00
54liuyao
b723e05535 adj second param for last_row 2024-07-01 16:57:46 +08:00
Haojun Liao
c166c8de70 fix(stream): fix memory leak. 2024-07-01 16:53:43 +08:00
dapan1121
b16bf11280
Merge pull request #26333 from taosdata/fix/3.0/TS-5103
fix fill wrong timestamp value
2024-07-01 16:42:21 +08:00
54liuyao
be2c16723d adj second param for last_row 2024-07-01 16:38:47 +08:00
Haojun Liao
6d64d0e081 fix(stream): fix memory leak. 2024-07-01 15:34:04 +08:00
Haojun Liao
3ae8916384 fix(stream): add more check for checkpoint info update for leader. 2024-07-01 14:59:55 +08:00
Haojun Liao
f09be802ea other: merge 3.0 2024-07-01 13:32:30 +08:00
Haojun Liao
b07d2b4adc
Merge pull request #26340 from taosdata/fix/check_end_pos
fix(stream): reset the status before re-send data.
2024-07-01 11:13:36 +08:00
54liuyao
c3deebf5b6 adj name 2024-07-01 11:08:40 +08:00
wangjiaming0909
6c6f322a83 change vnode/qnode query threads min value 2024-07-01 11:08:40 +08:00
wangjiaming0909
5040ff5bd9 mnode/qnode support QueryAutoQWorkerPool 2024-07-01 11:08:40 +08:00
54liuyao
26adfdd48d adj name 2024-07-01 11:08:40 +08:00
54liuyao
55341586b5 drop limit 2024-07-01 11:08:40 +08:00
wangjiaming0909
a25571313f remove test code 2024-07-01 11:08:39 +08:00
54liuyao
02a7d29841 adj log 2024-07-01 11:08:39 +08:00
54liuyao
8fdd64e92e limit the size of query queue 2024-07-01 11:08:39 +08:00
54liuyao
0383257900 limit the size of query queue 2024-07-01 11:08:39 +08:00
54liuyao
03a7b43af6 client use new thread pool 2024-07-01 11:08:39 +08:00
wangjiaming0909
11a98ffab2 QueryAutoQWorker 2024-07-01 11:08:39 +08:00
wangmm0220
304460f452 fix:[TD-30725] fix potential memory leaks 2024-07-01 10:49:24 +08:00
Hongze Cheng
ce4ecb0371
Merge pull request #26324 from xinjiempolde/enh/TD-23926-3.0
enh/td-23926-3.0 insert into db.?
2024-07-01 09:29:50 +08:00
Hongze Cheng
e4826e63f4
Merge pull request #26328 from taosdata/feat/TS-4917-3.0
fix: parseOneStbRow fill tag name
2024-07-01 09:15:53 +08:00
Haojun Liao
5c002e4bbe fix(stream):set the srcTaskId for checkpoint-trigger block 2024-07-01 08:55:38 +08:00
Haojun Liao
398a1b08ac fix(stream): set the correct rsp msg start position. 2024-07-01 08:55:04 +08:00
Yihao Deng
7290920c6f add self check 2024-06-29 04:35:54 +00:00
Yihao Deng
f023e7780c add self check 2024-06-29 04:33:14 +00:00
Haojun Liao
1f8991ec91 fix(stream): set the correct rsp msg position. 2024-06-29 00:40:57 +08:00
Haojun Liao
e74b8473f1 fix(stream): clear the active checkpoint info after report to mnode. 2024-06-28 23:40:05 +08:00
Haojun Liao
5585a141d5 fix(stream): set the failed id before clear the checkpoint info. 2024-06-28 23:16:03 +08:00
wangjiaming0909
d03a14506e fix fill wrong timestamp value 2024-06-28 17:31:49 +08:00
Haojun Liao
1ffec769b8 fix(stream): clear the msgId if send success, and handle the race condition problem. 2024-06-28 17:03:14 +08:00
Haojun Liao
2345f6cf7f Merge branch '3.0' into fix/check_end_pos 2024-06-28 16:30:36 +08:00
Haojun Liao
79be59d20c fix(stream): reset the status before re-send data. 2024-06-28 16:27:31 +08:00
Haojun Liao
67f483430e fix(stream): reset the status before re-send data. 2024-06-28 16:25:59 +08:00
Yihao Deng
bf656ec80f fix merge conflict 2024-06-28 08:23:09 +00:00
Yihao Deng
2e59284388 add self check 2024-06-28 08:14:34 +00:00
Yihao Deng
2ae54486b5 add self check 2024-06-28 07:01:45 +00:00
Yihao Deng
8fe57c1669 add self check 2024-06-28 03:08:02 +00:00
Yihao Deng
51e4abe256 add self check 2024-06-28 02:58:30 +00:00
Shungang Li
fa6e3c9c6f fix: parseOneStbRow fill tag name 2024-06-28 10:50:13 +08:00
sima
6282ebef22 fix:[TD-30755] fix heap-buffer-overflow when no qualified data in pk's data block. 2024-06-28 09:20:42 +08:00
Haojun Liao
025437df0c fix(stream): fix error in checkpoint consensus. 2024-06-27 19:25:18 +08:00
Haojun Liao
48bf5eb4d8 other: merge 3.0 2024-06-27 19:23:06 +08:00
Hongze Cheng
dfe260fbde
Merge pull request #26316 from taosdata/feat/TS-4917-3.0
fix for create table from csv
2024-06-27 18:03:42 +08:00
Yihao Deng
de77ce6480 add self check 2024-06-27 09:51:49 +00:00
xjzhou
12c64a1c45 Merge remote-tracking branch 'origin/3.0' into enh/TD-23926-3.0 2024-06-27 17:02:54 +08:00
Shungang Li
e61c5a4083 fix: parseOneStbRow break if token parse err 2024-06-27 14:17:32 +08:00
Hongze Cheng
5e235b50fa
Merge pull request #26295 from taosdata/fix/TD-30720
fix(streamMeta): commit tdb after load tasks
2024-06-27 14:04:02 +08:00
Hongze Cheng
10237869d9
Merge pull request #26292 from taosdata/fix/TD-30620
Add index filtering based on column value type
2024-06-27 13:41:42 +08:00
Yihao Deng
1004ac6924 add self check 2024-06-27 05:28:17 +00:00
Yihao Deng
7c328f0cfa add self check 2024-06-27 05:28:06 +00:00
Shungang Li
85e4f09239 fix: parseCsvFile reset pTag to NULL 2024-06-27 10:30:58 +08:00
Yihao Deng
f2fc09cd02 add self check 2024-06-27 01:48:59 +00:00
Yihao Deng
0a35d7ef6b add self check 2024-06-27 01:33:25 +00:00
sima
96e3222726 fix:[TD-30730] fix mergejoin operator's timetruncate caculation on timezone. 2024-06-27 08:42:59 +08:00
sima
4601583361 fix:[TD-30730] Modify precision rules for input parameters of function timetruncate and add test. 2024-06-27 08:42:59 +08:00
sima
5685346d78 fix:[TD-30730] Modify precision rules for input parameters of function to_iso8601 and add test. 2024-06-27 08:42:59 +08:00
Yihao Deng
a5441cdcde Add index filtering based on column value type 2024-06-26 08:49:38 +00:00
Yihao Deng
58b3dd7b99 Add index filtering based on column value type 2024-06-26 08:45:14 +00:00
xjzhou
42361fcd45 fix: failed to identify dbName when only ? exists 2024-06-26 16:38:21 +08:00
Haojun Liao
a44e17d5ea fix(stream): enable to re-send hbmsg if mnode failed to recv this hbmsg. 2024-06-26 15:21:14 +08:00
xjzhou
1a32279f7f Merge remote-tracking branch 'origin/3.0' into enh/TS-23926-3.0 2024-06-26 14:21:15 +08:00
Minglei Jin
3014c66965 fix(streamMeta): commit tdb after load tasks 2024-06-26 11:21:31 +08:00
Yihao Deng
512671df85 Add index filtering based on column value type 2024-06-26 02:56:49 +00:00
xjzhou
1c8110e7a4 Merge remote-tracking branch 'origin/3.0' into enh/TS-23926 2024-06-26 10:34:36 +08:00
Hongze Cheng
b761bd2e38 enh: port main change to 3.0 2024-06-26 10:32:15 +08:00
Haojun Liao
b6948dcc4e refactor: do some internal refactor. 2024-06-26 10:19:45 +08:00
Haojun Liao
1818edcb2b fix(stream): consensus the start checkpoint id, and extract the streamhb related functions into a new file. 2024-06-26 10:18:32 +08:00
Yihao Deng
ac351c5b58 add self check info 2024-06-26 01:26:39 +00:00
Yihao Deng
061648071e add self check info 2024-06-25 12:35:25 +00:00
Yihao Deng
49ba8132c0 add self check info 2024-06-25 12:04:10 +00:00
Hongze Cheng
59c8656e61
Merge pull request #26275 from taosdata/feat/TS-4917-3.0
feat: 'create table' from csv file
2024-06-25 17:56:23 +08:00
54liuyao
25b150af10 fix(stream):fill result immediately after delete data 2024-06-25 17:24:59 +08:00
dapan1121
ccda3a7f0d
Merge pull request #26263 from taosdata/fix/TS-4921
feat:[TS-4921] add slow log logic
2024-06-25 17:07:35 +08:00
Haojun Liao
c2ad0a6ec5
Revert "fix(stream):fill result immediately after delete data" 2024-06-25 16:53:32 +08:00
Haojun Liao
156e3ce109
Merge pull request #26267 from taosdata/fix/TD-30585
fix(stream):fill result immediately after delete data
2024-06-25 16:46:52 +08:00
xjzhou
3fb5f2b1d3 Merge remote-tracking branch 'origin/3.0' into enh/TS-23926 2024-06-25 16:16:56 +08:00
xjzhou
b444e18d90 enh: stmt supports 'insert into db.?' 2024-06-25 16:16:32 +08:00
Haojun Liao
e6f376f5cb
Merge pull request #26278 from taosdata/fix/3_liaohj
fix(stream): update the remote checkpoint directory in snode.
2024-06-25 15:52:01 +08:00
Yihao Deng
33aef6ddc5 add self check info 2024-06-25 07:12:09 +00:00
54liuyao
4235045d72 adj delete range 2024-06-25 14:36:21 +08:00
Shungang Li
b55337ec42 feat: 'create table' ignore lines start with '#' 2024-06-25 14:34:59 +08:00
Shungang Li
586f8094c2 fix: handle mac/win compile warn 2024-06-25 14:10:34 +08:00
Haojun Liao
195469f1dd fix(stream): disable the checkpoint-info-update for tasks in non-checkpoint status 2024-06-25 12:57:50 +08:00
Shungang Li
41021285a1 fix: more ret check 2024-06-25 11:36:55 +08:00
Shungang Li
2292829e47 fix: add check for memory alloc 2024-06-25 10:56:24 +08:00
Shungang Li
eaa45470a5 feat: 'create table' add keyword file 2024-06-25 10:55:36 +08:00
Shungang Li
17e84e1fca Merge branch '3.0' into feat/TS-4917-3.0 2024-06-25 10:33:12 +08:00
Haojun Liao
42beba30a8
Merge pull request #26274 from taosdata/fix/3_liaohj
fix(stream): do update the checkpoint info if not in checkpoint status.
2024-06-24 23:05:26 +08:00
Shungang Li
b3368f6472 feat: 'create table' from csv file 2024-06-24 22:13:03 +08:00
Yihao Deng
7cab27110a add self check info 2024-06-24 12:26:10 +00:00
54liuyao
a4211efacf calc end key 2024-06-24 19:19:15 +08:00
Haojun Liao
6b0b65527f fix(stream): do update the checkpoint info if not in checkpoint status. 2024-06-24 19:18:31 +08:00
54liuyao
41a85e80a3 calc end key 2024-06-24 17:19:38 +08:00
54liuyao
4f8dfe7522 fix(stream):fill dresultim mediately after delete data 2024-06-24 15:52:27 +08:00
dapan1121
3decadf764
Merge pull request #26213 from taosdata/fix/3.0/first_last_fill_order_fault
fix first last fill with ts order fault
2024-06-24 15:44:24 +08:00
Haojun Liao
de1a9702bf
Merge pull request #26268 from taosdata/fix/3_liaohj
fix(stream): pause not stop the start procedure of stream tasks.
2024-06-24 14:36:47 +08:00
Haojun Liao
bd8c7d8c93 fix(stream): pause not stop the start procedure of stream tasks. 2024-06-24 13:25:48 +08:00
wangmm0220
ed16b1e8db fix:conflict from 3.0 2024-06-24 12:03:10 +08:00
54liuyao
2d7d144ca2 fix(stream):fill dresultimmediately after delete data 2024-06-24 10:56:26 +08:00
wangmm0220
a29d1b0c59 fix:test case error 2024-06-24 10:18:09 +08:00
Haojun Liao
ffef405c3a
Merge pull request #26242 from taosdata/fix/3_liaohj
fix(stream): disable pause if task is un-init.
2024-06-23 10:01:49 +08:00
Hongze Cheng
2ba22e34f5
Merge pull request #26216 from xinjiempolde/fix/TS-5024-3.0
fix: stmt bind crashed when colIdx exceeds column nums
2024-06-23 09:53:46 +08:00
Haojun Liao
393369fcd8 fix(stream):clear checkpoint-ready msg. 2024-06-23 00:40:12 +08:00
wangmm0220
65fac20367 fix:[TS-4921] merge from 3.0 2024-06-22 15:02:34 +08:00
Haojun Liao
21e1763ff4 fix(stream): set correct flag for checkpoint. 2024-06-22 11:16:20 +08:00
Haojun Liao
095510ba41 fix(stream): fix deadlock 2024-06-21 23:43:25 +08:00
Haojun Liao
94f3c6ec2d fix(stream): fix deadlock 2024-06-21 23:40:03 +08:00
Haojun Liao
82febd30a0 fix(stream): check the task status checkpoint-ready msg send timer. 2024-06-21 18:48:34 +08:00
Haojun Liao
5a9500055d fix(stream): check the task status checkpoint-ready msg send timer. 2024-06-21 18:44:54 +08:00
Haojun Liao
5966b4f83f fix(stream): fix error in assert. 2024-06-21 17:17:39 +08:00
Haojun Liao
4c4bb0a2e4 other: merge 3.0. 2024-06-21 16:11:50 +08:00
Haojun Liao
53f9af06ff fix(stream): fix invalid write. 2024-06-21 15:44:38 +08:00
dapan1121
b5dea8c847
Merge pull request #26226 from taosdata/fix/TD-30672
fix: query hang issue cause of task set redirecting
2024-06-21 15:38:55 +08:00
Haojun Liao
119001e30b fix(stream): update the retrieve checkpoint-trigger msg. 2024-06-21 15:11:48 +08:00
Haojun Liao
e7105edaa4 fix(stream): disable pause if task is un-init. 2024-06-21 14:14:44 +08:00
Hongze Cheng
6a43d68bed
Merge pull request #26192 from taosdata/fix/TD-30642-3.0
fix/TD-30642
2024-06-21 11:03:40 +08:00
Haojun Liao
aea4254d40 fix(stream): async start task. 2024-06-21 10:37:06 +08:00
Haojun Liao
f8578b4a69 fix(stream): fix syntax error. 2024-06-21 09:34:18 +08:00
Haojun Liao
ebf2df965c
Update streamBackendRocksdb.c 2024-06-21 09:28:42 +08:00
Haojun Liao
2cb9644471 fix(stream): update the checkpoint info only when the status is normal. 2024-06-21 09:23:29 +08:00
Haojun Liao
8fd9baf6f5 fix(stream):synchronized upload checkpoint data to snode. 2024-06-21 09:11:16 +08:00
dapan1121
ac4e804088 Merge remote-tracking branch 'origin/3.0' into fix/TD-30672 2024-06-21 08:59:46 +08:00
Haojun Liao
bf16c596a6 fix(stream): fix syntax error. 2024-06-21 08:46:09 +08:00
Haojun Liao
096ba251ec Merge branch '3.0' into fix/3_liaohj 2024-06-20 23:12:18 +08:00
Haojun Liao
2ecc725b1a fix(stream): not clear check downstream info. 2024-06-20 21:31:23 +08:00
Haojun Liao
151fc212b8
Merge pull request #26218 from taosdata/fix/3_liaohj
fix(stream): clear the local backend default directory
2024-06-20 18:26:28 +08:00
Hongze Cheng
70851f6bed
Merge pull request #26160 from taosdata/enh/TD-30554-3.0
tfs: support disable create new file
2024-06-20 16:46:00 +08:00
kailixu
cefff2bfee Merge branch '3.0' into enh/TD-30554-3.0 2024-12-31 08:35:03 +08:00
kailixu
fa694d6fe3 tfs: support disable create new file 2024-12-31 08:34:17 +08:00
dapan1121
05ebfa70d4
Merge pull request #26212 from taosdata/fix/TS-5064.3
fix: cast long binary crash issue
2024-06-20 16:26:13 +08:00
Haojun Liao
e1cb4e021f fix(stream): clear the local backend default directory, when no checkpoint generated yet. 2024-06-20 16:24:02 +08:00
Haojun Liao
df003cca3c
Merge pull request #26197 from taosdata/fix/3_liaohj
fix(util): uncomment the timestamp decode function with AVX2 instructions
2024-06-20 16:16:52 +08:00
xjzhou
883eb48bf2 fix: stmt bind crashed when colIdx exceeds column nums 2024-06-20 15:22:50 +08:00
Hongze Cheng
9a97f976e9
Merge pull request #26178 from taosdata/feat/TS-4954-3.0
Feat/ts-4954-3.0-2
2024-06-20 15:07:13 +08:00
Haojun Liao
9c16549561
Merge pull request #26202 from taosdata/fix/TD-30558
fix(stream): adj stream tbname cache
2024-06-20 14:41:51 +08:00
dapan1121
c9d847787e fix: level task done number issue 2024-06-20 14:21:33 +08:00
wangjiaming0909
29274a330f fix first last fill with ts order fault 2024-06-20 14:17:04 +08:00
dapan1121
784fda8191 fix: cast long binary crash issue 2024-06-20 13:54:02 +08:00
54liuyao
0471afb840 adj sream tbname cache 2024-06-20 13:25:36 +08:00
dapan1121
0a8a3d15bc Merge remote-tracking branch 'origin/3.0' into fix/TD-30672 2024-06-20 11:34:50 +08:00
dapan1121
49d9552ab6 fix: task reset redirect issue 2024-06-20 11:18:23 +08:00
54liuyao
1b317ae578 adj sream tbname cache 2024-06-20 11:06:09 +08:00
54liuyao
6a3bbccda9 adj par tbname cache 2024-06-20 10:23:44 +08:00
Hongze Cheng
60f06b1db5
Merge pull request #26162 from taosdata/fix/TD-30542-3.0
fix/TD-30542
2024-06-20 09:39:13 +08:00
54liuyao
ecfb5e5f4c adj par name catch 2024-06-20 09:28:04 +08:00
wangmm0220
5dcfed2d51 feat:[TS-4921]add logic for slow log 2024-06-19 18:54:26 +08:00
dmchen
61edc79045 fix/TD-30642 2024-06-19 08:01:58 +00:00
dapan1121
0397826c68
Merge pull request #26139 from taosdata/feat/TD-30313
optimize show cluster alive stmt
2024-06-19 15:49:59 +08:00
Haojun Liao
f353636136 refactor: do some internal refactor. 2024-06-19 15:08:25 +08:00
Haojun Liao
04281bcd07 fix(util): uncomment the timestamp decode function with AVX2 instructions, and do some internal refactor. 2024-06-19 15:06:09 +08:00
Haojun Liao
da63a40796
Merge pull request #26188 from taosdata/fix/3_liaohj
fix(stream): fix a typo.
2024-06-19 14:58:21 +08:00
Haojun Liao
0e7f9a56c3
Merge pull request #26164 from taosdata/fix/TD-30627
adj create count window state
2024-06-19 14:42:08 +08:00
Haojun Liao
2534ce5071 fix(stream): fix a typo. 2024-06-19 10:29:01 +08:00
kailixu
4c41008657 fix: print format 2024-06-18 19:11:33 +08:00
kailixu
6d2b8fe2bf tfs: support disable create new file 2024-06-18 19:08:00 +08:00
kailixu
809c691b22 Merge branch '3.0' into enh/TD-30554-3.0 2024-06-18 16:47:51 +08:00
Minglei Jin
356f6645ad
Merge branch '3.0' into fix/TD-30545 2024-06-18 11:28:29 +08:00
54liuyao
e858dd5df0 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-30313 2024-06-18 10:28:01 +08:00
kailixu
d87a7d2809 Merge branch '3.0' into enh/TD-30554-3.0 2024-06-18 08:51:53 +08:00
54liuyao
3ba7bc8ec5 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-06-18 08:41:10 +08:00
Haojun Liao
c3ae66c95c
Merge pull request #26169 from taosdata/fix/3_liaohj
fix(stream): not revise the stream id for fill-history task.
2024-06-18 08:38:29 +08:00
Haojun Liao
bca3cf4e9e fix(stream): fix error in unit test. 2024-06-17 23:51:25 +08:00
Haojun Liao
c4a2756907 fix(stream): not revise the stream id for fill-history task. 2024-06-17 23:13:54 +08:00
dmchen
ec1e7c77d6 fix case 2024-06-17 12:40:23 +00:00
Haojun Liao
f57ff96408 fix(stream): do some refactor. 2024-06-17 19:56:18 +08:00
Haojun Liao
60fac80345 fix(stream): add some logs. 2024-06-17 19:34:09 +08:00
54liuyao
00c64ed0e3 adj create count window state 2024-06-17 19:33:01 +08:00
Haojun Liao
0f4ffdf49a fix(stream): add some info. 2024-06-17 18:57:31 +08:00
dmchen
e59e52d343 fix case 2024-06-17 10:44:53 +00:00
dmchen
7fc72f1ba5 license 2024-06-17 09:14:11 +00:00
Haojun Liao
bdbcdf3465 refactor: add two assert. 2024-06-17 16:58:58 +08:00
Haojun Liao
848b1e19b5 fix(stream): fix some typo. 2024-06-17 14:39:46 +08:00
dmchen
4c8ce7a14c feat/TS-4954 2024-06-17 06:31:39 +00:00
Hongze Cheng
9269e44e08
Merge pull request #26133 from taosdata/fix/TD-30583-30
double check enableWhiteList
2024-06-17 13:21:19 +08:00
Hongze Cheng
e0a5b6f2ea
Merge pull request #26140 from taosdata/fix/TD-30467-3.0
fix: check range option
2024-06-17 11:36:24 +08:00
Haojun Liao
b89b2158f1
Merge pull request #26135 from taosdata/fix/TD-30578
check cursor for count window
2024-06-17 11:25:19 +08:00
54liuyao
4474788e36 adj log 2024-06-17 11:24:30 +08:00
54liuyao
2298b4eae8 adj log 2024-06-17 11:19:10 +08:00
kailixu
e1f5e6d533 Merge branch '3.0' into enh/TD-30554-3.0 2024-06-17 10:44:11 +08:00
kailixu
bb40184260 fix: add primary disk although disable create new file 2024-06-17 10:43:48 +08:00
Minglei Jin
930c5d2adf cleanup wal level 0 before ref removing 2024-06-17 08:57:53 +08:00
dapan1121
52060f5fba
Merge pull request #26144 from taosdata/fix/TD-30039/unexpectedUdfCreate
Fix/td 30039/unexpected udf create
2024-06-17 08:35:02 +08:00
dapan1121
e34a8b48df
Merge pull request #26008 from taosdata/fix/TS-4833/dataloaded
partition interval and limimt, dataload error
2024-06-17 08:32:19 +08:00
kailixu
4ed3b30352 tfs: support disable create new file 2024-06-17 06:14:49 +08:00
kailixu
e3645def98 Merge branch '3.0' into enh/TD-30554-3.0 2024-06-17 05:52:15 +08:00
“happyguoxy”
65044b3964 colId init 2024-06-15 20:56:58 +08:00
factosea
19f6766c9a fix: blockAgg 2024-06-15 18:08:25 +08:00
Haojun Liao
62b69932b2
Merge pull request #26150 from taosdata/fix/3_liaohj
fix(stream): move the expansion of the stream task related task to right place.
2024-06-15 17:37:39 +08:00
Haojun Liao
b44d87475d fix(test): fix syntax error. 2024-06-14 17:54:44 +08:00
Minglei Jin
d47fe255ae remova level 0's empty wals when closing vnode 2024-06-14 17:09:48 +08:00
Haojun Liao
42e0dff589 fix(stream): move the expansion of the stream task related fill-history task to the place where the fill-history task must have been deoployed already. 2024-06-14 17:03:04 +08:00
Haojun Liao
85baf2b3e1
Merge pull request #26147 from taosdata/fix/3_liaohj
fix(test): wait for a little bit more time.
2024-06-14 16:34:40 +08:00
kailixu
af7a41f6cd Merge branch '3.0' into fix/TD-30467-3.0 2024-06-14 15:25:26 +08:00
Haojun Liao
4490f40c96 fix(stream): do some internal refactor. 2024-06-14 14:43:57 +08:00
Haojun Liao
9af6076b4f fix(stream): add the dispatch entry. 2024-06-14 14:42:22 +08:00
kailixu
eb72cec8d2 chore: naming optimization 2024-06-14 08:10:07 +08:00
facetosea
2044cec6ca test 2024-06-13 21:06:58 +08:00
Haojun Liao
325ad5beb8 fix(stream):set correct node id 2024-06-13 18:25:34 +08:00
factosea
a707a2921b fix: udfScalarProcFunc exception 2024-06-13 17:49:58 +08:00
Haojun Liao
5f4b506777
Merge pull request #26131 from taosdata/fix/3_liaohj
fix(stream): add dispatch data monitor to handle the network broken problem that may cause the stream process frozen.
2024-06-13 17:38:28 +08:00
factosea
d9043d6984 fix: unexpected udf function 2024-06-13 16:57:49 +08:00
kailixu
1f646713fe fix: check range option of alter user 2024-06-13 16:36:18 +08:00
54liuyao
7620be6e28 optimize show cluster alive stmt 2024-06-13 16:23:50 +08:00
54liuyao
367b3b153f check cursor for count window 2024-06-13 15:35:26 +08:00
Yihao Deng
f59b88ea93 double check enableWhiteList 2024-06-13 07:03:15 +00:00
Haojun Liao
0f8c0fa8cb fix(stream): add dispatch data monitor to handle the network broken problem that may cause the stream process frozen. 2024-06-13 14:56:20 +08:00
facetosea
6da1215573 fix blockid 2024-06-13 14:48:02 +08:00
facetosea
ff24eaf94d fix: code review 2024-06-13 14:13:44 +08:00
dapan1121
8bbdfacca0
Merge pull request #26123 from taosdata/fix/TD-30579
fix:[TD-30579]compile error in macOS 14.5 and m3 chip
2024-06-13 13:52:28 +08:00
kailixu
50d163f10d Merge branch '3.0' into enh/TD-30554-3.0 2024-06-13 11:11:29 +08:00
kailixu
cdc7083b09 Merge branch '3.0' into enh/TD-30554-3.0 2024-06-13 11:11:01 +08:00
Minglei Jin
0adbf110d9 check wal level on mnode 2024-06-13 11:02:05 +08:00
dapan1121
e62120be7a
Merge pull request #26104 from taosdata/fix/TD-30483
fix: count always true for group by tbname performance issue
2024-06-13 10:20:25 +08:00
Minglei Jin
c13ba895ee fix translater rules for replica & wal level 2024-06-13 09:47:14 +08:00
dapan1121
18b5475771
Merge pull request #25511 from taosdata/fix/TD-29671/tableAliasName
fix: select failed as using table alias name
2024-06-13 08:50:19 +08:00
Jeff Tao
ad0dd88ba1 fix:[TD-30579]compile error in macOS 14.5 and m3 chip 2024-06-12 22:31:08 +08:00
Haojun Liao
9c42c90209
Merge pull request #26118 from taosdata/fix/3_liaohj
fix(stream): add fill-history task id in msg.
2024-06-12 18:03:43 +08:00
kailixu
ff47e1eab1 enh: support enable/disable tfs config entries 2024-06-12 17:12:30 +08:00
dapan1121
13a0bf3fdf fix: count empty table with group by issue 2024-06-12 16:18:22 +08:00
kailixu
e7754a0b3e Merge branch '3.0' into enh/TD-30554-3.0 2024-06-12 15:40:01 +08:00
Haojun Liao
d06e1549f1 fix(stream): add fill-history task id in msg. 2024-06-12 15:27:19 +08:00
Minglei Jin
568799a6a3 fix(wal/level): enable alter replica from fake walLevel 1 2024-06-12 15:16:58 +08:00
kailixu
f2401f32a2 enh: support enable/disable tfs config entries 2024-06-12 15:14:38 +08:00
dapan1121
3c8cb76161
Merge pull request #26100 from taosdata/fix/TD-30481.3
fix: case when memory leak
2024-06-12 13:26:42 +08:00
Haojun Liao
623a73f57b
Merge pull request #26089 from taosdata/fix/3_liaohj
fix(stream): init the node list and task list when starting mnode.
2024-06-12 11:34:10 +08:00
Hongze Cheng
206280e529
Merge pull request #25395 from taosdata/fix/limitIdxMaxThread3
limit index bg thread
2024-06-12 10:27:33 +08:00
Haojun Liao
a41a04dc37 fix(stream): remove the related history task correctly. 2024-06-11 18:35:59 +08:00
dapan1121
fee3cd9570
Merge pull request #26103 from taosdata/fix/TD-30519
fix: first dynamic data filter issue
2024-06-11 18:34:28 +08:00
dapan1121
e17cdf84c2 fix: count always true for group by tbname performance issue 2024-06-11 18:08:34 +08:00
dapan1121
bee01f9dba
Merge pull request #26081 from taosdata/enh/stmtPerf.3
enh: optimize stmt performance
2024-06-11 16:12:58 +08:00
Hongze Cheng
d321fbbc87
Merge pull request #26005 from taosdata/enh/TS-3737-3.0
enh: support createdb permission for user
2024-06-11 15:46:00 +08:00
dapan1121
6b1d4b842e fix: case when memory leak 2024-06-11 15:28:04 +08:00
dapan1121
7cc3eeee3d fix: first dynamic data filter issue 2024-06-11 15:03:17 +08:00
Haojun Liao
00eb621825 fix(stream): do scan checkpoint-report in write queue. 2024-06-11 14:09:50 +08:00
kailixu
4c9b66c42c Merge branch '3.0' into enh/TS-3737-3.0 2024-06-10 19:55:39 +08:00
Haojun Liao
20bade24c3
Merge branch '3.0' into fix/3_liaohj 2024-06-10 01:34:55 +08:00
Haojun Liao
cbf8b363fc fix(stream): update checkpoint info by using trans. 2024-06-10 00:46:01 +08:00
Haojun Liao
895ee30cf3
Merge branch '3.0' into enh/opt_prj 2024-06-09 23:51:38 +08:00
“happyguoxy”
16ceacac2b fix: no tag value 2024-06-07 20:12:18 +08:00
Hongze Cheng
9db638b2ba
Merge pull request #26027 from taosdata/fix/fixInvalidRead30
Fix/fixInvalidRead30
2024-06-07 17:37:37 +08:00
“happyguoxy”
6d98a56778 fix group count 2024-06-07 16:49:29 +08:00
kailixu
ffa235edbd fix: check range option 2024-06-07 16:10:27 +08:00
kailixu
054cb9b64a Merge branch '3.0' into enh/TS-3737-3.0 2024-06-07 14:09:23 +08:00
Haojun Liao
cbd9f86a34
Merge pull request #26065 from taosdata/fix/3_liaohj
fix(stream): always load the data for fill-history scan.
2024-06-07 14:01:50 +08:00
kailixu
a8788ec3a6 enh: check range for user enable/sysinfo/createdb 2024-06-07 13:30:10 +08:00
Haojun Liao
c4447d6873 fix(stream): flush executor state for those with only one task for a stream. 2024-06-07 12:44:38 +08:00
Haojun Liao
1e47cb7eba other: update the test case. 2024-06-07 11:15:23 +08:00
kailixu
7de2928c86 Merge branch '3.0' into feat/TD-30053-3.0 2024-06-07 10:28:22 +08:00
dapan1121
4d12374b3f fix: enable remote write 2024-06-07 09:35:25 +08:00
dapan1121
3f99e5e064 fix: memory issues 2024-06-07 09:25:17 +08:00
kailixu
13a0183599 check enable/sysinfo range 2024-06-07 09:04:28 +08:00
Haojun Liao
385e1a8b0d refactor: do some internal refactor. 2024-06-06 23:55:54 +08:00
Haojun Liao
88e77d6bc6 fix(stream): remove expired stream in buf. 2024-06-06 23:54:48 +08:00
Haojun Liao
420cbc36e5 other: fix syntax error. 2024-06-06 17:40:17 +08:00
Haojun Liao
52e090634e fix(stream): transfer state before send checkpoint-trigger msg to downstream tasks. 2024-06-06 17:21:23 +08:00
kailixu
2f5179cf44 Merge branch '3.0' into enh/TS-3737-3.0 2024-06-06 16:42:04 +08:00
Haojun Liao
2da9476e48 fix(stream): always load the data for fill-history scan. 2024-06-06 14:18:04 +08:00
Hongze Cheng
070ec1412e
Merge pull request #26048 from taosdata/enh/TS-4885
enh/wal_level: new level 0 to disable wal writing
2024-06-06 10:19:50 +08:00
kailixu
4beaf871b7 Merge branch '3.0' into feat/TD-30053-3.0 2024-06-06 08:33:48 +08:00
Minglei Jin
11b26d80b7 wal_level 0: update unit & tsim test cases 2024-06-05 18:22:23 +08:00
dapan1121
ddf15fa55c Merge remote-tracking branch 'origin/3.0' into enh/stmtPerf.3 2024-06-05 17:13:48 +08:00
dapan1121
da8616d98a fix: add stbInterlace mode test cases 2024-06-05 17:12:15 +08:00
dapan1121
95c4b7748f
Merge pull request #26047 from taosdata/fix/TD-30214
add ts column for last cache
2024-06-05 16:32:12 +08:00
Minglei Jin
fdc2de2bd0 fix/wal_level 0: error with wal_level 0 to replica > 1 2024-06-05 15:47:09 +08:00
Minglei Jin
d6b2bcba68 enh/wal_level: new level 0 to disable wal writing 2024-06-05 15:19:55 +08:00
kailixu
c89f06eaf3 chore: adjust test case 2024-06-05 14:56:47 +08:00
Haojun Liao
29d34200b5 other: fix coverity issues. 2024-06-05 13:39:46 +08:00
Haojun Liao
c529ecc7d2
Merge pull request #25734 from taosdata/fix/3_liaohj
fix(stream): update the checkpoint info for followers, and some internal refactor.
2024-06-05 13:38:51 +08:00
kailixu
ee9ccdea86 Merge branch '3.0' into feat/TD-30053-3.0 2024-06-05 12:38:09 +08:00
54liuyao
545fa5ebcb add ts column for last cache 2024-06-05 11:38:38 +08:00
dapan1121
2b3ed37b47
Merge pull request #26036 from taosdata/fix/TS-4955
fix: insert into select constant issue
2024-06-05 11:04:43 +08:00
Haojun Liao
8f1e999638
Merge pull request #26029 from taosdata/feat/ly_stream
set scan mode for stream
2024-06-05 10:51:38 +08:00
kailixu
b8069ed33c Merge branch '3.0' into enh/TS-3737-3.0 2024-06-05 09:42:39 +08:00
Hongze Cheng
4490cd7db3
Merge pull request #26040 from taosdata/enh/lsg-restore-3.0
enh: add more log for restore
2024-06-05 09:11:42 +08:00
Haojun Liao
bf9a5135fb fix(stream): disable timer for checkpoint-ready msg in rsma. 2024-06-05 00:13:57 +08:00
factosea
7a8e87f8cd fix: slot id 2024-06-04 19:05:19 +08:00
Haojun Liao
2ff79c81d7 enh(query): allocate the compress buffer before compress data. 2024-06-04 17:47:50 +08:00
Shungang Li
1f73bb106e enh: add more log for restore 2024-06-04 17:14:59 +08:00
Haojun Liao
3fc20f761f
Merge pull request #26021 from taosdata/fix/TD-30303
coverity scan for stream
2024-06-04 16:55:06 +08:00
kailixu
2f222514dc chore: merge 3.0 2024-06-04 16:34:02 +08:00
dapan1121
6f696a3933 fix: insert into select constant issue 2024-06-04 16:27:51 +08:00
Haojun Liao
6d7e1eb576 fix(query): check for the server ep and client ep to set the compress flag. 2024-06-04 15:07:02 +08:00
factosea
c42e627a41 test 2024-06-04 11:39:47 +08:00
Haojun Liao
4fc21cc8b0 refactor: do some internal refactor. 2024-06-04 10:08:18 +08:00
54liuyao
5ab81da4a0 set scan mode for stream 2024-06-04 09:50:26 +08:00
Yihao Deng
66cb3e1576 fix invalid read 2024-06-03 11:40:54 +00:00
dapan1121
86cadeabba fix: stmt write issue 2024-06-03 19:24:53 +08:00
Haojun Liao
407f79cfa6 fix(stream): fix dead-lock. 2024-06-03 19:14:45 +08:00
dapan1121
91375c8ca1 fix: taosc exit issue 2024-06-03 19:13:14 +08:00
Haojun Liao
0c8e9046f6
Merge pull request #26015 from taosdata/fix/TD-3036
adj stream count state buff
2024-06-03 19:03:24 +08:00
54liuyao
3e38c1f973 coverity scan for 2024-06-03 19:01:24 +08:00
Haojun Liao
3b3ed1c30c fix(stream): add monitor for checkpoint-ready msg recv status. 2024-06-03 16:45:37 +08:00
54liuyao
1ad25599ca init delete mark 2024-06-03 16:41:38 +08:00
dapan1121
3c98aa1b3d
Merge pull request #26006 from taosdata/fix/3.0/TS-4879
fix exchange operator memory access problem
2024-06-03 16:30:18 +08:00
Haojun Liao
5a575dc53f
Merge pull request #25998 from taosdata/fix/TD-30343
when dst table has composite primary key, need to delete result
2024-06-03 16:25:32 +08:00
Haojun Liao
927e2237de Merge branch '3.0' into fix/3_liaohj 2024-06-03 15:56:02 +08:00
Hongze Cheng
6f72fd4170
Merge pull request #25996 from taosdata/feat/TD-30006-3
Feat/TD-30006-3
2024-06-03 15:41:47 +08:00
54liuyao
ca7e1344e1 adj stream count state buff 2024-06-03 15:22:12 +08:00
wangjiaming0909
6fcd071144 fix exchange operator memory access problem 2024-06-03 13:57:35 +08:00
dapan1121
affdeed944
Merge pull request #25909 from taosdata/feat/ly_tmq_batch_meta
optimize tmq snapshot meta
2024-06-03 10:19:57 +08:00
Haojun Liao
31317c4895 fix(stream): set the checkpoint ready info for only one task in stream. 2024-06-01 23:20:43 +08:00
Haojun Liao
2a8270f9c8 fix(stream): track the checkpoint-ready msg on the upstream tasks. 2024-06-01 18:26:45 +08:00
Yihao Deng
ac2d9ab276 add error 2024-05-31 11:41:05 +00:00
Yihao Deng
69e402d547 add error 2024-05-31 11:40:54 +00:00
Yihao Deng
9f0d6eddae add error 2024-05-31 11:40:08 +00:00
factosea
a6217eec03 partition interval and limimt, dataload error 2024-05-31 18:58:35 +08:00
Yihao Deng
9fb329f481 add error 2024-05-31 08:08:54 +00:00
kailixu
4ae8aeb909 Merge branch '3.0' into enh/TS-3737-3.0 2024-05-31 15:48:19 +08:00
54liuyao
a77c6940da when dst table has composite primary key, need to delete result 2024-05-31 15:22:38 +08:00
Yihao Deng
fd385d7c52 support add column compress 2024-05-31 06:41:36 +00:00
Haojun Liao
76b43dc072 fix(stream): 1. check the checkpoint-trigger rsp, 2. set the error code in the message body, 3. follower nodes not handle the checkpoint-trigger retrieve request. 2024-05-31 14:32:55 +08:00
Yihao Deng
c253ac73a9 support add column compress 2024-05-31 06:27:54 +00:00
Haojun Liao
bef1953b24
Merge branch '3.0' into fix/3_liaohj 2024-05-31 14:27:46 +08:00
Yihao Deng
116409d73f merge 3.0 2024-05-31 02:53:36 +00:00
Yihao Deng
5293c4a1dd Merge branch '3.0' into feat/TD-30006 2024-05-31 02:49:58 +00:00
Haojun Liao
ee4e4c0e6d refactor: do some internal refactor. 2024-05-31 09:17:20 +08:00
Yihao Deng
c6407277dc support add column compress 2024-05-30 11:41:22 +00:00
dapan1121
4f67ccc5d5
Merge pull request #25935 from taosdata/fix/3.0/TD-30188
fix select from union all caused crash
2024-05-30 15:45:44 +08:00
Haojun Liao
5768cc94a1 Merge branch '3.0' into fix/3_liaohj 2024-05-30 15:35:00 +08:00
dapan1121
c0e4ab20a4 enh: optimize stmt performance 2024-05-30 13:26:17 +08:00
Yihao Deng
5a91039f04 TD-30340 2024-05-30 03:00:56 +00:00
dapan1121
f09135abed
Merge pull request #25968 from taosdata/fix/TD-30108
fix: add ut thread join
2024-05-30 08:46:18 +08:00
Haojun Liao
0946f25e5f fix(stream): fix syntax error. 2024-05-29 22:36:22 +08:00
Haojun Liao
becc4cb368 enh(stream): limit the concurrent started checkpoint tasks. 2024-05-29 19:29:26 +08:00
dapan1121
a98394949a fix: add ut thread join 2024-05-29 17:20:56 +08:00
Haojun Liao
46ca55ac74 fix(stream): avoid deadlock. 2024-05-29 15:20:35 +08:00
Haojun Liao
27ac6ca16e fix(stream): desc the ref for checkpoint-trigger timer. 2024-05-29 14:12:14 +08:00
Haojun Liao
09efbad117 fix(stream): drop related fill history task. 2024-05-29 11:16:26 +08:00
dmchen
5283ca87ed fix/TD-30307 2024-05-29 03:08:15 +00:00
Haojun Liao
a9abe78eab other: comment invalid sleep for test purpose 2024-05-29 09:16:37 +08:00
Haojun Liao
225dfb1a93 enh(stream): check checkpoint-trigger msg every 100ms. 2024-05-29 00:30:42 +08:00
Haojun Liao
d1d868f239 refactor: do some internal refactor and set the pActiveInfo for rsma. 2024-05-29 00:08:29 +08:00