Commit Graph

19476 Commits

Author SHA1 Message Date
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
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
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 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