Commit Graph

25825 Commits

Author SHA1 Message Date
slzhou a6839b5a9f fix: select tags and set tag scan execution mode 2023-08-15 15:20:06 +08:00
slzhou 514da6e1b0 fix: select tags and set tag scan execution mode 2023-08-15 15:16:57 +08:00
Minglei Jin bd758e0269 retention: remove old files last 2023-08-15 15:14:34 +08:00
Shungang Li 6be57f78f2 fix: tdb btree balance after update cell 2023-08-15 15:07:54 +08:00
wade zhang 778b88a1fb
Merge pull request #22440 from taosdata/fix/retry_resolve_fqdn
merge fix/retry_resolve_fqdn to main
2023-08-15 14:58:52 +08:00
Minglei Jin 8639c22cc0 vnode, common: USE_COS def 2023-08-15 14:53:58 +08:00
kailixu 27db6cfd67 enh: disable udf/stream for mnd on windows 2023-08-15 14:25:31 +08:00
Haojun Liao 71c3c710e6 fix(stream): continue process when met with trans-state msg. 2023-08-15 14:23:20 +08:00
liuyao 1b4e51ee4a Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly_refactor 2023-08-15 14:20:49 +08:00
kailixu f7a5bef17d enh: disable stream/udf on windows 2023-08-15 13:02:32 +08:00
Ganlin Zhao 01a7dfbc34 feat: add irate distributed execution 2023-08-15 12:59:30 +08:00
Haojun Liao 0acb00c516 fix(stream): add log. 2023-08-15 11:48:56 +08:00
shenglian zhou 9fb9d863b9 enhance: modify sql.y 2023-08-15 11:29:17 +08:00
dapan1121 edd4a78772
Merge pull request #22408 from taosdata/fix/3.0/TS-3810
fix: make kill query work for sysscanoperator
2023-08-15 10:08:21 +08:00
yihaoDeng 9ec64b9201 rebuild index at tag0 2023-08-15 02:01:13 +00:00
Haojun Liao c9f3e0b0e1 fix(stream): fix an syntax error. 2023-08-15 09:34:19 +08:00
Haojun Liao fe5e48b87d fix(stream): remove redundant include. 2023-08-15 09:26:35 +08:00
Haojun Liao b1d35f43ba enh(stream): using term from sync module to denote the upstream node is restarted/replica-modified/vnode-transferred or not. 2023-08-15 09:25:05 +08:00
Haojun Liao ff17763ed6
Merge pull request #22417 from taosdata/mark/tmq
opti:wal logic
2023-08-15 09:16:29 +08:00
dapan1121 8fc0f1bbd6 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-15 09:00:53 +08:00
dapan1121 31b0bcd716 fix: taosd crash issue 2023-08-15 08:51:23 +08:00
dapan1121 f9f74eaaf4
Merge pull request #22406 from taosdata/fix/TD-24684
fix: remove ins_modules table
2023-08-15 08:42:08 +08:00
yihaoDeng ef7f762c62 rebuild index at tag0 2023-08-15 00:41:48 +00:00
yihaoDeng 1447d1d55c rebuild index at tag0 2023-08-15 00:40:12 +00:00
Haojun Liao 9e3733a02c
Merge pull request #22358 from taosdata/feat/TD-24559
feat:[TD-24559]support geomety type in schemaless
2023-08-14 22:06:41 +08:00
yihaoDeng 3067417ea3 rebuild index at tag0 2023-08-14 12:01:17 +00:00
yihaoDeng a48d137d32 rebuild index at tag0 2023-08-14 11:56:47 +00:00
Haojun Liao a334547726 fix(stream): fix an syntax error. 2023-08-14 19:28:36 +08:00
Haojun Liao 1a08ffc79f fix(stream): check error. 2023-08-14 19:27:09 +08:00
slzhou 012248b681 fix: move the only ctb idx flag to logical plan 2023-08-14 19:26:53 +08:00
Haojun Liao 5d3232d275 fix(stream): fix an syntax error. 2023-08-14 18:14:32 +08:00
yihaoDeng 1d33a8d4c0 rebuild index at tag0 2023-08-14 10:06:33 +00:00
liuyao d1c289823f refactor stream session window 2023-08-14 17:52:39 +08:00
liuyao 4b435e2cbf format code 2023-08-14 17:52:39 +08:00
liuyao 3043c7f09f refactor operator 2023-08-14 17:52:39 +08:00
liuyao 57a020edfc refact stream interval 2023-08-14 17:52:39 +08:00
liuyao 9d1e5a512d add stream task id 2023-08-14 17:52:39 +08:00
dapan1121 6a78053b51 feat: add hint supporting 2023-08-14 17:21:15 +08:00
Haojun Liao 2e6263b43f fix(stream): fix memory leak. 2023-08-14 17:16:11 +08:00
slzhou f9c897221c fix: move the setting of onlyCtbIdx to front end 2023-08-14 16:30:31 +08:00
yihaoDeng cf9f9ab471 rebuild index at tag0 2023-08-14 08:01:20 +00:00
slzhou 57d1957dee enhance: tag scan code refactoring 2023-08-14 15:57:27 +08:00
wangjiaming0909 5c276fa547 fix: make kill query work for sysscanoperator 2023-08-14 15:21:58 +08:00
Haojun Liao a1e554fbf3 refactor: exec directly not asynchnoized. 2023-08-14 15:05:13 +08:00
Minglei Jin 989abc2bf6 vnode/cos: move includes into USE_COS 2023-08-14 15:03:17 +08:00
Haojun Liao 91710b0c0f fix(stream): 2023-08-14 14:56:17 +08:00
Minglei Jin c97b9249fc cos: only for linux 2023-08-14 14:38:28 +08:00
Haojun Liao 5ec6b64aab fix(stream): add logs. 2023-08-14 13:12:41 +08:00
Haojun Liao ead04964fd Merge branch 'main' into fix/liaohj 2023-08-14 12:11:15 +08:00
Haojun Liao e8c9a019a4 fix(stream): remove the invalid set of scheduler status. 2023-08-14 11:41:24 +08:00
dapan1121 c2417eb5cd
Merge pull request #22404 from taosdata/fix/TD-25621-3.0
fix: dup read lock on windows
2023-08-14 11:37:05 +08:00
wade zhang f63d1f98b2
Merge pull request #22150 from taosdata/test/toolsBuild
test: add build
2023-08-14 11:22:30 +08:00
Haojun Liao 2806fe1c56 fix(stream): ignore the related stream task destory msg in transfer state. 2023-08-14 10:58:24 +08:00
dapan1121 6ce28e8886 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-14 10:49:56 +08:00
dapan1121 ae0426717a feat: add hint option 2023-08-14 10:47:56 +08:00
Haojun Liao 1f792f09c4 fix(stream): remove invalid code. 2023-08-14 10:39:47 +08:00
slzhou 646e52ae7f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tag-scan-opt 2023-08-14 10:19:36 +08:00
yihaoDeng 246efd83c6 refactor chpt transfer 2023-08-14 02:03:41 +00:00
wangmm0220 dd0bc0e050 fix:heap use after free 2023-08-14 09:42:55 +08:00
wade zhang 1b51f53c15
Merge pull request #22407 from taosdata/fix/TD-25671
fix: infinite tomb data sync loop
2023-08-14 09:25:47 +08:00
dapan1121 b4b9a12d61 fix: memory issue 2023-08-14 09:06:21 +08:00
Haojun Liao 01ac99a651
Merge pull request #22413 from taosdata/fix/liaohj
refactor: refactor the transfer state procedure.
2023-08-13 23:28:18 +08:00
Haojun Liao 98f40325e9 fix(stream): fix memory leak. 2023-08-13 20:02:15 +08:00
slzhou 6688d70ba4 fix: fix planner test error 2023-08-13 18:46:55 +08:00
Haojun Liao a81cc9aebf fix(stream): fix the error when no agg tasks exist. 2023-08-13 17:31:09 +08:00
Haojun Liao 0d38f389ab refactor: do some internal refactor. 2023-08-13 16:25:35 +08:00
Haojun Liao 0e189f70a1 refactor 2023-08-12 19:44:44 +08:00
Haojun Liao 03c26a9d6d refactor 2023-08-12 19:16:20 +08:00
Haojun Liao afe9b848a5 fix(tsdb): check the 2023-08-12 18:54:39 +08:00
Haojun Liao 09da6c6840 refactor: do some internal refactor. 2023-08-12 18:51:20 +08:00
Haojun Liao 75e6fb0f16 refactor: do some internal refactor. 2023-08-12 18:47:01 +08:00
Haojun Liao 075b5e9481 refactor: do some internal refactor. 2023-08-12 18:41:54 +08:00
Haojun Liao a0534ee715 refactor: do some internal refactor. 2023-08-12 18:40:09 +08:00
Haojun Liao 8f9de93cf0 refactor: do some internal refactor. 2023-08-12 18:37:36 +08:00
Haojun Liao 30c2a9c619 refactor: do some internal refactor. 2023-08-12 18:27:51 +08:00
Haojun Liao 0d0e30b764 fix(stream): fix the error. 2023-08-12 17:20:10 +08:00
Haojun Liao ce721a0146 fix(stream): fix error. 2023-08-12 16:32:05 +08:00
wangmm0220 efb472d54a fix:heap use after free 2023-08-12 10:15:40 +08:00
slzhou f83bfec067 fix: change only meta ctb idx back to false 2023-08-12 08:28:25 +08:00
slzhou edd2fa4f35 fix: pass compilation and simple test 2023-08-12 08:17:43 +08:00
Haojun Liao a89ce1a20b fix(stream): transfer state by using data block. 2023-08-12 01:24:07 +08:00
Haojun Liao f24b22000f enh(stream): stop stream task before redistribute vnodes. 2023-08-11 23:46:53 +08:00
wangmm0220 f1baed79b4 opti:rm useless code 2023-08-11 20:22:51 +08:00
wangmm0220 767563752a opti:wal logic 2023-08-11 20:21:13 +08:00
wangmm0220 deda4b9eed opti:wal logic 2023-08-11 19:26:17 +08:00
Hongze Cheng 847bc0da08 fix: infinite tomb data sync loop 2023-08-11 18:10:16 +08:00
dapan1121 20b3f8c1aa
Merge pull request #22402 from taosdata/fix/TS-3799
fix: add time window boundary check before interpolation
2023-08-11 17:59:55 +08:00
slzhou 47d2f9ad6d fix: first run without tag cond 2023-08-11 17:52:52 +08:00
dapan1121 c9656d3f77 fix: fix memory issues 2023-08-11 17:39:41 +08:00
wangmm0220 7b22d37f12 fix:lost data when consumer db 2023-08-11 17:25:43 +08:00
slzhou 6530658815 fix: continue coding 2023-08-11 17:05:59 +08:00
slzhou 42a4f364c1 Merge branch 'szhou/tag-scan-opt' of github.com:taosdata/TDengine into szhou/tag-scan-opt 2023-08-11 16:48:49 +08:00
Minglei Jin 84452c8dee cos: use static sdk 2023-08-11 16:36:53 +08:00
Haojun Liao 87c7e4c0fe fix(stream): not launch stream tasks when restarting the stream tasks. 2023-08-11 16:19:46 +08:00
yihaoDeng 6e6eb05d5c Merge branch 'enh/triggerCheckPoint2' into enh/chkpTransfer 2023-08-11 08:03:02 +00:00
Haojun Liao e984affe90 fix(stream): disable the stream in the followers nodes. 2023-08-11 15:58:15 +08:00
dapan1121 8987553d9c fix: remove ins_modules 2023-08-11 15:56:38 +08:00
shenglian zhou a0c62d215d enhance: tag scan only meta ctb idx backend modification 2023-08-11 14:54:43 +08:00
shenglian zhou 1c7f854a71 enhance: add only meta ctb index to tag scan physi node 2023-08-11 14:47:28 +08:00
wangmm0220 25e32bbf7c fix:offset error in tmq & add test cases 2023-08-11 14:25:12 +08:00
Haojun Liao 4afe603c6e fix(stream): fix error. 2023-08-11 14:17:09 +08:00
shenglian zhou 7c39bc9890 fix: some minor modifications 2023-08-11 13:50:41 +08:00
Haojun Liao ba7825141f fix(stream): enable the checkpoint . 2023-08-11 13:33:14 +08:00
Haojun Liao 9322f80343 fix(stream): register the rsp callback. 2023-08-11 13:31:50 +08:00
kailixu 64a1636dd2 chore: trigger CI 2023-08-11 12:54:45 +08:00
kailixu 1d089fe085 fix: dup read lock on windows 2023-08-11 11:34:57 +08:00
yihaoDeng 99be2836b2 Merge branch 'enh/triggerCheckPoint2' into enh/chkpTransfer 2023-08-11 02:50:12 +00:00
Haojun Liao 1e636a2ef9 Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2 2023-08-11 10:37:40 +08:00
Haojun Liao 6a9826cf6e enh(stream): update the stream task epset. 2023-08-11 10:37:25 +08:00
Ganlin Zhao 1afbde7d2f fix: add time window boundary check before interpolation 2023-08-11 10:19:32 +08:00
yihaoDeng ba4ce9db02 Merge branch 'enh/triggerCheckPoint2' into enh/chkpTransfer 2023-08-11 02:15:07 +00:00
Haojun Liao d9bc881fb3
Merge pull request #22384 from taosdata/mark/tmq
fix:offset error in tmq & add test cases
2023-08-11 10:00:08 +08:00
Minglei Jin 4513acfee9 cos: use static libs for mxml, apr, apu, curl 2023-08-11 09:54:54 +08:00
yihaoDeng 32983a11e1 add log and fix crash 2023-08-10 20:34:00 +08:00
shenglian zhou 20f5e2af5b continue coding and save work 2023-08-10 17:40:54 +08:00
shenglian zhou b2e615d4e7 enhance: tag scan cursor based block 2023-08-10 17:30:01 +08:00
dapan1121 1f3eacba17
Merge pull request #22365 from taosdata/enh/TD-25366
enh: remove timeline dependence of certain functions
2023-08-10 17:08:05 +08:00
Haojun Liao 8341fa6878
Merge pull request #22395 from taosdata/fix/liaohj
fix(stream): execute the stream task directly
2023-08-10 16:21:49 +08:00
wangmm0220 78fd70202c fix:offset error in tmq & add test cases 2023-08-10 16:18:53 +08:00
Minglei Jin c04ada3573 cos: link with static libs 2023-08-10 15:28:22 +08:00
dapan1121 791e453219
Merge pull request #22392 from taosdata/fix/TS-3811-m
fix: sma option for show create table
2023-08-10 15:21:31 +08:00
Haojun Liao 8890fa5781 fix(stream): execute the stream task directly, instead of executing it in a asynchronized way. 2023-08-10 15:13:49 +08:00
yihaoDeng b2fb94d7f8 Merge branch 'enh/chkpTransfer' of https://github.com/taosdata/TDengine into enh/chkpTransfer 2023-08-10 14:57:25 +08:00
yihaoDeng ea00f676fc Merge branch 'enh/chkpTransfer' of https://github.com/taosdata/TDengine into enh/chkpTransfer 2023-08-10 14:57:12 +08:00
yihaoDeng 100d2240c3 support reopen stream state 2023-08-10 06:35:25 +00:00
Minglei Jin cd63e81450 cos: separate building phase for apr & apr-util 2023-08-10 14:18:12 +08:00
Haojun Liao a713b37f35 fix(stream): add more logs. 2023-08-10 14:07:29 +08:00
liuyao e2481599b0 fix mem leak 2023-08-10 13:58:46 +08:00
kailixu 700d9a6d68 fix: sma option for show create table 2023-08-10 13:02:34 +08:00
Haojun Liao 161fd6902a fix(stream): fix the acquire task. 2023-08-10 12:45:20 +08:00
Minglei Jin 33967b243b
Merge branch '3.0' into fix/TD-25010-3 2023-08-10 12:14:01 +08:00
Haojun Liao f633c7fe2b other: merge 3.0. 2023-08-10 11:56:30 +08:00
Haojun Liao b658608541
Merge pull request #22388 from taosdata/fix/3_liaohj
other: merge main.
2023-08-10 11:43:02 +08:00
dapan1121 ce1b294c51 fix: memory leak issues 2023-08-10 11:29:14 +08:00
kailixu 1ce8d06032 fix: proj col compare func 2023-08-10 09:57:57 +08:00
yihaoDeng ef247cdb1d support reopen stream state 2023-08-10 01:49:26 +00:00
Haojun Liao c10b323188 other: merge main. 2023-08-10 09:26:33 +08:00
Minglei Jin ca5571d0d6 config: fix default configs 2023-08-10 08:29:51 +08:00
Haojun Liao 4393375e47 fix(stream): set correct task id. 2023-08-10 02:16:04 +08:00
Haojun Liao 0757e88ced fix(stream): set the correct hash keys. 2023-08-09 23:52:14 +08:00
Haojun Liao 0cf8144952 fix(stream): fix the invalid key used by remove data in stream meta hash table. 2023-08-09 22:28:23 +08:00
yihaoDeng a20b299f9b support reopen stream state 2023-08-09 13:06:10 +00:00
yihaoDeng 19ac9054d0 support reopen stream state 2023-08-09 12:47:49 +00:00
kailixu d6ed5fe096 fix: timezone and qsort for windows 2023-08-09 20:08:19 +08:00
Haojun Liao 7e3f1d92fc Merge branch 'main' into fix/liaohj 2023-08-09 19:43:24 +08:00
wangmm0220 1f5532fd67 fix:offset error in tmq & add test cases 2023-08-09 19:41:22 +08:00
Haojun Liao d34b9af054 enh(stream): create update stream trans. 2023-08-09 19:38:13 +08:00
Hui Li 10f5d223bb
Merge pull request #22370 from taosdata/FIX/TD-25605-3.0
enh: check if disk space sufficient at primary dir with tfs
2023-08-09 18:32:07 +08:00
Minglei Jin a853d9d40c mxml: use ~/local/include 2023-08-09 18:21:55 +08:00
yihaoDeng 1db15da4e1 support reopen stream state 2023-08-09 09:50:49 +00:00
yihaoDeng 6fdcd82a33 support reopen stream state 2023-08-09 09:19:03 +00:00
Ganlin Zhao 11823580c7 fix test cases 2023-08-09 17:13:31 +08:00
yihaoDeng f3cf907d5a support reopen stream state 2023-08-09 09:07:13 +00:00
yihaoDeng a336a7b1a4 support reopen stream state 2023-08-09 09:06:22 +00:00
yihaoDeng a619b8f5be rm duplicate para 2023-08-09 08:58:49 +00:00
Haojun Liao 1e8579e8c5 fix(stream): fix other cases. 2023-08-09 16:04:48 +08:00
Haojun Liao 4c92997328 fix(stream): use streamId&taskId to identify the stream task in the stream meta. 2023-08-09 15:52:23 +08:00
Haojun Liao 1d649bccb6
Merge pull request #22372 from taosdata/fix/TD-25626
fix taosd cannot quit
2023-08-09 15:46:14 +08:00
yihaoDeng 92b247aae8 support reopen stream state 2023-08-09 07:36:00 +00:00
Hui Li 584427dd44
Merge pull request #22374 from taosdata/szhou/restore-minglei-main
fix: restore stt/block merge back
2023-08-09 14:40:03 +08:00
Ganlin Zhao 70e4b4f44e remove unique need of primary ts 2023-08-09 14:30:34 +08:00
yihaoDeng bbcfa9ab03 support reopen stream state 2023-08-09 06:10:40 +00:00
Minglei Jin b08d5b4d42 mxml: add include dir to vnode 2023-08-09 14:02:10 +08:00
dapan1121 81439ba0cf fix: memory invalid read and perf issue 2023-08-09 13:31:38 +08:00
Minglei Jin 7e2859ed43 apr: use tarball to avoid ./buildconf 2023-08-09 13:03:37 +08:00
Haojun Liao 3cdb16352c fix(stream): avoid launching check downstream when failed to add stream task into stream meta. 2023-08-09 12:03:14 +08:00
Minglei Jin 2e0519b960 apr: fix apr & apr-util project names 2023-08-09 11:01:42 +08:00
Minglei Jin 7114ad63e5 apr:makefile for apr & apr-util 2023-08-09 10:54:17 +08:00
Minglei Jin 4d1155a5cf curl: makefile for curl 2023-08-09 10:43:27 +08:00
shenglian zhou e9e06d1eae fix: restore stt block/data block merge back 2023-08-09 10:36:54 +08:00
shenglian zhou 2b1478f46e Revert "fix(tsdb/read2): reset stt reader when suspended"
This reverts commit 079d7ff69e.
2023-08-09 10:36:26 +08:00
dapan1121 1d0624bbf1 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-09 10:32:13 +08:00
dapan1121 1aac643a9b enh: support single vnode join 2023-08-09 10:30:35 +08:00
Haojun Liao f3c5f20ee2 enh(stream): add timer to check the node changing. 2023-08-09 10:25:16 +08:00
yihaoDeng 50bf8c948a change default session val 2023-08-09 02:11:27 +00:00
Minglei Jin 16e015253b s3/mxml: remove os external dependency 2023-08-09 10:10:25 +08:00
yihaoDeng c43a6b272c support reopen stream state 2023-08-09 02:09:50 +00:00
yihaoDeng fb7dec00e1 support reopen stream state 2023-08-09 01:50:49 +00:00
Haojun Liao bb39d94f9c
Merge pull request #22357 from taosdata/fix/liaohj
other: merge fix from 3.0 to main.
2023-08-09 09:05:54 +08:00
dapan1121 e54a4d5a58
Merge pull request #22206 from taosdata/szhou/ts-3706
enhance: subquery can use expr  primary key +/- value as primary key
2023-08-09 08:48:54 +08:00
dapan1121 5c918006b3
Merge pull request #22362 from taosdata/szhou/fix-ts3795
fix: reset rowsize since it is set during blockDataAppendColInfo
2023-08-09 08:46:34 +08:00
yihaoDeng cfb5247e30 change var name 2023-08-09 00:46:18 +00:00
dapan1121 aef0398c27
Merge pull request #22342 from taosdata/fix/TD-25426-3.0
fix: mktime on windows platform
2023-08-08 18:59:33 +08:00
Hui Li 8d7e8f5734
Merge pull request #22336 from taosdata/fix/TD-25445
fix/TD-25445: alter ttlChangeOnWrite note info
2023-08-08 18:19:02 +08:00
yihaoDeng bcc7df2dda fix taosd cannot quit 2023-08-08 10:04:41 +00:00
Benguang Zhao e4d16e594c enh: check if disk space sufficient at primary dir with tfs 2023-08-08 17:53:11 +08:00
wangmm0220 d322cfce50 fix:add hashIteratorCancel for hash iterator 2023-08-08 16:28:51 +08:00
Haojun Liao db92546cf7 fix(stream): remove invalid filter. 2023-08-08 16:09:33 +08:00
Ganlin Zhao bea4346232 enh: remove timeline dependence of certain functions 2023-08-08 16:05:21 +08:00
yihaoDeng ac11537fc8 support reopen stream state 2023-08-08 07:21:47 +00:00
Haojun Liao 17c6143471 fix(stream): check more status when handling the state transfer. 2023-08-08 15:08:11 +08:00
Hongze Cheng c8f106106a fix: update assert issue 2023-08-08 14:49:05 +08:00
slzhou dff1f4954f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/ts-3706 2023-08-08 13:28:17 +08:00
slzhou 9b4bdd819b enhance: subquery can use expr primary key +/- value as primary key 2023-08-08 13:24:06 +08:00
slzhou ff36f5f6ca fix: reset rowsize since it is set during blockDataAppendColInfo 2023-08-08 13:23:35 +08:00
Hui Li 4f03ae2c65
Merge pull request #22335 from taosdata/temp/open_case
open split vgroup case
2023-08-08 11:49:28 +08:00
Haojun Liao a0dcec5890 enh(stream): add function handler for hb message. 2023-08-08 11:23:19 +08:00
dapan1121 68e0fb924a
Merge pull request #22165 from taosdata/feat/3.0/TD-25271
feature: optimize interval with limit
2023-08-08 10:34:02 +08:00
wangmm0220 607132c18a feat:[TD-24559]support geomety type in schemaless 2023-08-08 10:33:55 +08:00
Haojun Liao db8ce3de3b other: merge main. 2023-08-08 10:17:51 +08:00