Commit Graph

13532 Commits

Author SHA1 Message Date
wangmm0220 587f750c94 fix:[TD-24058]send poll result to client if no data 5 times to avoid lost data 2023-05-09 17:42:11 +08:00
liuyao 8224d49702 fix:after restarting taosd, stream does not work. 2023-05-09 17:24:11 +08:00
dapan1121 52fd6a84ac enh: support db cfg cache update 2023-05-09 17:04:20 +08:00
wangjiaming0909 479bb157e0 fix: select _block_dist() from t; set the unit of Size to KB 2023-05-09 15:19:21 +08:00
shenglian zhou 50feb64748 fix: add check nchar/varchar column length for normal table 2023-05-09 14:29:09 +08:00
dapan1121 f4f3b886fc
Merge pull request #21213 from wangjiaming0909/fix/TS-3350
fix: data compare of signed and unsigned integers
2023-05-09 08:58:55 +08:00
Hui Li a68a5b73b8
Merge pull request #21212 from taosdata/fix/TD-24030
fix: fix invalid read
2023-05-08 20:30:44 +08:00
dapan1121 95b228a050
Merge pull request #21194 from taosdata/fix/TD-24010
fix:[TD-24010] subscribeStb.py failed in windows CI
2023-05-08 20:29:47 +08:00
wangjiaming0909 e22c62ffba fix: data compare of signed and unsigned integers 2023-05-08 18:13:37 +08:00
yihaoDeng c3e0de0bfc fix invalid read 2023-05-08 09:21:20 +00:00
Benguang Zhao bd5372c378 fix: protect against nullptr in syncRespCleanRsp 2023-05-08 17:08:24 +08:00
wangmm0220 f9142c0ddb fix:[TD24010] lost data if apply ver is small than commit ver 2023-05-08 16:49:56 +08:00
dapan1121 5d4830956a
Merge pull request #21187 from taosdata/szhou/fix-ts23905-ts23865
fix: forbid some stream computing
2023-05-08 16:24:00 +08:00
slzhou 2f45a3dfdb fix: change variable name 2023-05-08 14:42:31 +08:00
dapan1121 c83367e455 enh: add table group cache 2023-05-06 19:24:47 +08:00
wangmm0220 261f2736f7 fix:[TD-24010] subscribeStb.py failed in windows CI 2023-05-06 19:17:36 +08:00
Haojun Liao c6007d53e8
Merge pull request #21190 from taosdata/fix/TS-3347
fix:[TS-3347]set ver to first version if version stored is smaller th…
2023-05-06 18:51:49 +08:00
dapan1121 1de5f84536
Merge pull request #21184 from taosdata/fix/TD-23898-a
fix: fix taosd not exit when press ctrl+c
2023-05-06 17:46:38 +08:00
slzhou 04e9648d8e enhance: change variable name 2023-05-06 17:16:27 +08:00
slzhou 276e5daa8c fix: pseudo column function are treated as variable 2023-05-06 17:13:14 +08:00
wangmm0220 ee32620808 fix:[TS-3347]set ver to first version if version stored is smaller than first version in wal when subscribe db 2023-05-06 16:22:30 +08:00
shenglian zhou 83c857a017 fix: fix compilation error 2023-05-06 16:17:34 +08:00
shenglian zhou c8ac3a581e fix: forbid some stream computing 2023-05-06 15:50:38 +08:00
Ganlin Zhao 33d4e0cc67 fix: fix taosd not exit when press ctrl+c 2023-05-06 15:03:17 +08:00
Haojun Liao 1fa4327f6c Merge branch 'main' into fix/liaohj_main 2023-05-06 10:15:23 +08:00
Haojun Liao 3afc5bdfcf refactor: add some logs. 2023-05-06 10:09:51 +08:00
Haojun Liao 29fcd1b83a refactor: do some internal refactor. 2023-05-06 10:08:05 +08:00
Haojun Liao 5d4a3116d5
Merge pull request #21139 from taosdata/fix/liaohj_main
refactor: do some internal refactor.
2023-05-06 09:49:26 +08:00
wade zhang 2025aa5650
Merge pull request #21167 from taosdata/fix/TD-23953
fix(tdb/decoder): free decoder's value if not needed by user
2023-05-06 08:32:29 +08:00
Haojun Liao cbf0cd41ec
Merge pull request #21169 from taosdata/fix/stop_tsdb_read
fix(stream): opt task scan performance.
2023-05-05 22:08:11 +08:00
Haojun Liao 8958aabe4b fix(stream): opt task scan performance. 2023-05-05 19:33:30 +08:00
Haojun Liao 4be94940e1
Merge pull request #21164 from taosdata/fix/stop_tsdb_read
fix(stream): secure the delete task operation. TD-1198
2023-05-05 18:40:23 +08:00
Haojun Liao 08ce790cda fix(query): fix memory leak. 2023-05-05 18:20:27 +08:00
Minglei Jin 8286c145b6 fix(tdb/decoder): free decoder's value if not needed by user 2023-05-05 16:15:15 +08:00
Haojun Liao 8b12d4d3da fix(stream): secure the delete task operation. TD-1198 2023-05-05 15:02:03 +08:00
dapan1121 e889249c54 fix: grant no table specifed issue 2023-05-05 14:33:09 +08:00
dapan1121 3976504b47 fix: subtable grant is not allowed 2023-05-05 14:01:15 +08:00
Haojun Liao 9b5c205498 fix(stream): set correct ssdatablock for tqRetrieveDataBlock 2023-05-05 13:41:25 +08:00
Haojun Liao 09a04052ec refactor: do some internal refactor. 2023-05-04 16:15:14 +08:00
Haojun Liao 11dccf12de
Merge pull request #21131 from taosdata/fix/liaohj_main
refactor: do some internal refactor.
2023-05-04 11:26:00 +08:00
Haojun Liao 851193a033
Merge pull request #21060 from taosdata/fix/TS-3222
opti:change push mgr to consume msg for subscribe
2023-05-04 10:16:41 +08:00
dapan1121 4bc30ff2cf
Merge pull request #21126 from taosdata/fix/TD-23864
enh: optimize tbname condition
2023-05-04 08:54:04 +08:00
Haojun Liao 3b814f2478 fix(stream): do some internal refactor. 2023-05-01 23:21:29 +08:00
Haojun Liao a1263b8b04 fix(query):fix syntax error. 2023-05-01 19:40:26 +08:00
Haojun Liao 3c61932ecc refactor: do some internal refactor. 2023-05-01 19:28:54 +08:00
Haojun Liao 6c86847b12 refactor: do some internal refactor. 2023-05-01 14:58:59 +08:00
Haojun Liao 8b57184a9a
Merge pull request #21123 from taosdata/fix/liaohj_main
refactor: remove assert.
2023-04-29 00:44:24 +08:00
Haojun Liao 05d416f3b9 fix(stream): fix invalid access when handling error, not start stream if tsDisablestream is set. 2023-04-28 23:53:53 +08:00
dapan1121 70761fd959 enh: optimize tbname condition 2023-04-28 17:56:52 +08:00
Haojun Liao a0d08b7fe4 fix(query): add null ptr check. 2023-04-28 16:29:09 +08:00
Haojun Liao 03b1de017a refactor: remove assert. 2023-04-28 14:12:17 +08:00
Haojun Liao ad059db91b
Merge pull request #21120 from taosdata/fix/liaohj_main
other: add some logs.
2023-04-28 14:12:04 +08:00
Haojun Liao f9a64cbcd6 other: add some logs. 2023-04-28 12:58:03 +08:00
Haojun Liao a0c2b34788
Merge pull request #21119 from taosdata/fix/liaohj_main
refactor: do some internal refactor.
2023-04-28 12:53:31 +08:00
Haojun Liao da0d9c78ef refactor: do some internal refactor. 2023-04-28 11:42:34 +08:00
Haojun Liao f850388ed9
Merge pull request #21116 from taosdata/fix/liaohj_main
fix(query): stop tsdbreade ASAP, and do some internal refactor. TD-23249
2023-04-28 11:42:05 +08:00
Haojun Liao 3ac1ce69b6 fix(query): set correct scan flag. 2023-04-28 10:02:37 +08:00
Haojun Liao 6482ef9ad1 refactor: do some internal refactor. 2023-04-28 09:19:53 +08:00
Haojun Liao 8205168428 fix(query): fix memory leak. 2023-04-28 09:16:11 +08:00
Haojun Liao 7adc21028a refactor: do some internal refactor. 2023-04-28 00:23:38 +08:00
Haojun Liao 25010cb11e fix(query): stop tsdbreade ASAP, and do some internal refactor. 2023-04-27 22:21:18 +08:00
Haojun Liao ad7c3218f7
Merge pull request #21111 from taosdata/fix/liaohj_main
enh(query): stop tsdb reader ASAP.  TD-23249
2023-04-27 17:45:38 +08:00
Haojun Liao 91f9b58f9a refactor: do some internal refactor. 2023-04-27 16:06:06 +08:00
Haojun Liao 17a5691afb refactor: remove assert. 2023-04-27 15:37:33 +08:00
Haojun Liao d83f29dc23 refactor: remove assert. 2023-04-27 15:33:04 +08:00
Haojun Liao e1bd65ec0a
Merge pull request #21105 from taosdata/fix/liaohj_main
fix(query): check the init status for pReader->status.merger  TD-23903
2023-04-27 12:40:13 +08:00
wangmm0220 6a889ae80e Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-27 09:48:04 +08:00
Haojun Liao db1d75bb48 refactor: do some internal refactor. 2023-04-27 09:28:20 +08:00
dapan1121 51a1e07dbf
Merge pull request #21029 from taosdata/fix/TD-23797
fix: fix crash caused by deleting from system table
2023-04-26 17:48:58 +08:00
dapan1121 5db5205e31 fix: schema/tag version update to int32 2023-04-26 13:41:16 +08:00
Xiaoyu Wang 05dc0fd6b1
Merge pull request #21056 from taosdata/feat/TD-23693
feat: subtable level privilege
2023-04-26 09:17:23 +08:00
Xiaoyu Wang b07e4c8522 Merge branch 'feat/TD-23693' of github.com:taosdata/TDengine into feat/TD-23693 2023-04-25 17:39:51 +08:00
Xiaoyu Wang e584bb3ea1 feat: subtable level privilege 2023-04-25 17:39:28 +08:00
wangmm0220 4321012ac4 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-25 16:24:28 +08:00
wangmm0220 1c63408b3e opti:change push mgr to consume msg for subscribe 2023-04-24 20:18:20 +08:00
dapan1121 8c4b73a351 feat: add get table tag sync API 2023-04-24 19:19:12 +08:00
Ganlin Zhao 80621e14eb refactor 2023-04-24 17:24:07 +08:00
Ganlin Zhao 782566ad08 refactor 2023-04-24 17:15:46 +08:00
dapan1121 24aff3d680 fix: memory leak issue 2023-04-24 10:46:32 +08:00
dapan1121 8480c42234 fix: memory leak issue 2023-04-24 10:41:28 +08:00
dapan1121 905df6f7ac fix: memory leak issue 2023-04-24 10:37:58 +08:00
dapan1121 3b8e8018b2 fix: get user errcode issue 2023-04-24 10:34:07 +08:00
Ganlin Zhao 1251245c2a move code to parser 2023-04-24 09:49:03 +08:00
dapan1121 d23ae400b8 fix: table meta double free issue 2023-04-24 09:22:59 +08:00
Haojun Liao 134c0528ae Merge branch 'main' into fix/liaohj_main 2023-04-24 01:43:00 +08:00
Haojun Liao a4258a5af0
Merge pull request #21019 from taosdata/fix/tagFilterError
fix filter err
2023-04-23 19:58:27 +08:00
Haojun Liao 623ea6df5f fix(stream): add task status check. 2023-04-23 17:42:56 +08:00
Xiaoyu Wang 4bb7a25fc7 feat: subtable level privilege 2023-04-23 16:30:28 +08:00
yihaoDeng 2699a01444 fix filter err 2023-04-23 08:13:27 +00:00
yihaoDeng 03b661061a fix filter err 2023-04-23 08:12:36 +00:00
yihaoDeng 4291cfda21 fix filter err 2023-04-23 07:18:23 +00:00
wangmm0220 4bc319c6dd Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-23 15:15:33 +08:00
Ganlin Zhao c5b3737702 fix: forbid delete from system table 2023-04-23 11:21:01 +08:00
yihaoDeng 3b89aa2085 fix filter err 2023-04-23 02:10:45 +00:00
dapan1121 9e22bd07a4
Merge pull request #21008 from taosdata/szhou/fix-ts3248
fix: when db_name!=xxx can not be used in systable scan index
2023-04-23 09:50:14 +08:00
yihaoDeng 5c9450856e fix filter err 2023-04-23 00:53:55 +00:00
dapan1121 f4d1ac4e93
Merge pull request #21007 from taosdata/feat/TS-3249
feat: support table_prefix/table_suffix new mode
2023-04-21 19:18:28 +08:00
wangmm0220 6efbcfec4b Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-21 17:46:35 +08:00
dapan1121 13852f5699 fix: compile issue 2023-04-21 17:07:20 +08:00
dapan1121 176f7740c3 fix: memory leak issue 2023-04-21 16:41:39 +08:00
chenhaoran 7d7a0769b3 Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.1 2023-04-21 16:20:37 +08:00
Haojun Liao f1e289e9ce
Merge pull request #21006 from taosdata/fix/TS-3082
fix:[TS-3082] change offset to firstver if offset is smller than firs…
2023-04-21 16:07:32 +08:00
slzhou c971fe1606 fix: when db_name != xxx can not be optimized by uid index 2023-04-21 15:01:35 +08:00
slzhou 5531775f8e fix: when db_name!=xxx is used in systable scan index 2023-04-21 14:59:35 +08:00
dapan1121 877b6e7053 fix: add table_prefix/table_suffix cases 2023-04-21 14:58:58 +08:00
Haojun Liao 2b74583b87
Merge pull request #21002 from taosdata/fix/liaohj_main
fix(stream): set the correct number of tasks.
2023-04-21 14:52:07 +08:00
dapan1121 3c2fc48e74 feat: support new table_prefix/table_suffix mode 2023-04-21 14:17:07 +08:00
Haojun Liao b6f4cac619 fix(stream): set the correct offset version. 2023-04-21 13:35:24 +08:00
wangmm0220 81b0670bd5 fix:[TS-3082] change offset to firstver if offset is smller than firstVer when wal is removed 2023-04-21 11:43:39 +08:00
Haojun Liao e4199a62de fix(stream): fix memory leak. 2023-04-21 10:37:50 +08:00
Haojun Liao 6c641cff39 fix(stream): fix error in start stream tasks. 2023-04-21 09:37:16 +08:00
dapan1121 95f4c81ac9
Merge pull request #20989 from taosdata/szhou/fix-ts3243
fix: do not performace table count scan optimized where there are no agg functions
2023-04-21 09:22:30 +08:00
Haojun Liao 5e6c06e253 fix(stream): fix the race condition during create new stream tasks. 2023-04-20 23:21:18 +08:00
Hui Li a012fd2ce0
Merge pull request #20991 from taosdata/test/TS-3069-MAIN
add the cast that select field include two udf function
2023-04-20 19:44:08 +08:00
Haojun Liao f9801ba9c5 enh(stream): stop stream asap. 2023-04-20 18:58:07 +08:00
dapan1121 fa77356cc4 fix: restore tdb page cache lock 2023-04-20 18:56:18 +08:00
Haojun Liao cb686f8709
Merge pull request #20998 from taosdata/fix/liaohj_main
enh(stream): add more check to stop stream asap.
2023-04-20 18:49:54 +08:00
dapan1121 36f3e44096 enh: change tdb lock to rwlock 2023-04-20 17:51:41 +08:00
Haojun Liao dc733352db enh(stream): set the max input queue size to be 3000. 2023-04-20 17:38:10 +08:00
dapan1121 e36bf05f98 enh: support get subtable tag and auth 2023-04-20 17:30:09 +08:00
Haojun Liao 8323ad8670 enh(stream): add more check to stop stream asap. 2023-04-20 17:29:08 +08:00
Haojun Liao 23e285ac57
Merge pull request #20995 from taosdata/fix/liaohj_main
fix(stream): add lock during check wal to create new stream task.
2023-04-20 17:04:15 +08:00
Haojun Liao b60b1796f7 fix(stream): add lock during check wal to create new stream task. 2023-04-20 15:53:41 +08:00
shenglian zhou 3a9dddd619 enhance: modify inside isEligibleAgg func 2023-04-20 15:11:12 +08:00
Xiaoyu Wang 0dad9322f3 fix: invalid identifier check 2023-04-20 15:08:41 +08:00
Alex Duan 4c0cdd8192 test: add udf2_dup test case 2023-04-20 14:34:38 +08:00
Alex Duan c34c53539d test: add udf2_dup test case 2023-04-20 14:32:32 +08:00
Alex Duan 977af4289b test: fix udf1_dup error 2023-04-20 14:05:15 +08:00
shenglian zhou cc78a6356c fix: do not performace table count scan optimized where there are no agg functions 2023-04-20 13:54:22 +08:00
Alex Duan ba0a6e087f test: add the cast that select field include two udf function 2023-04-20 13:51:39 +08:00
wangmm0220 4d9d1b520d fix:add log for wal 2023-04-19 18:16:57 +08:00
wangmm0220 6f94281ab7 fix:add log for wal 2023-04-19 17:30:58 +08:00
dapan1121 4a9d62b467 enh: ignore single row null data type validation 2023-04-19 10:18:41 +08:00
dapan1121 aa8d25f6e5 feat: support fetching table tag value 2023-04-19 10:03:06 +08:00
dapan1121 5becc19c3c fix: add debug info 2023-04-18 11:40:20 +08:00
Haojun Liao 76becf59b7
Merge pull request #20947 from taosdata/feature/3_liaohj
fix(stream): set the correct initial checkpoint versions.
2023-04-18 11:26:48 +08:00
Xiaoyu Wang cda3222a18
Merge pull request #20954 from taosdata/FIX/TD-22419-main
enh: remove unused functions in sync
2023-04-18 10:50:16 +08:00
Haojun Liao 97da34050b fix(query): fix invalid free. 2023-04-18 10:40:53 +08:00
Haojun Liao 930b267a75 fix(stream): set the correct start offset for stream task. 2023-04-17 22:59:00 +08:00
Benguang Zhao b958030b0c enh: remove unused functions in sync 2023-04-17 18:52:09 +08:00
liuyao 27d14f742d fix:stream memory leak 2023-04-17 17:27:02 +08:00
dapan1121 8ef7fa9bf8 fix: add group cache hash 2023-04-17 16:33:55 +08:00
dapan1121 bd71cb8870 fix: group cache save issue 2023-04-17 16:09:54 +08:00
dapan1121 20c9cea5f0 fix: free uid list issue 2023-04-17 15:50:25 +08:00
dapan1121 ed3778dc9f fix: nodes free issue 2023-04-17 15:44:15 +08:00
dapan1121 31d187444e fix: grou cache issue 2023-04-17 15:33:54 +08:00
dapan1121 4506813ddb enh: add group cache 2023-04-17 15:14:06 +08:00
Haojun Liao 4ed26bbc19 fix(stream): update the table list api. 2023-04-17 14:08:54 +08:00
Haojun Liao eb7f510ccb fix(query): return correct suid to delete sink. 2023-04-17 10:59:24 +08:00
Haojun Liao ac137b4b33 refactor: do some internal refactor. 2023-04-17 09:46:58 +08:00