Commit Graph

5122 Commits

Author SHA1 Message Date
dmchen 889b420270 TD-30113 2024-05-22 08:17:20 +00:00
Haojun Liao 317742acc1 fix(stream): adjust buf size. 2024-05-22 13:29:38 +08:00
Haojun Liao 565d1f408c fix(stream): adjust buf size, and avoid overflow 2024-05-22 13:26:49 +08:00
Haojun Liao 77852fa702 fix(stream): avoid data overflow and fix test cases. 2024-05-22 13:20:45 +08:00
Haojun Liao be39044b66 fix(stream): add more info 2024-05-22 11:04:54 +08:00
Shungang Li 307ddc632f enh: batch update arbgroup in trans 2024-05-22 10:44:46 +08:00
kailixu 04c0c8b6cd enh(grant): refine error code 2024-05-21 15:26:29 +08:00
Haojun Liao f6af165d9a refactor(stream): add more info in info-meta 2024-05-21 10:09:55 +08:00
Haojun Liao 217fb7551c fix(query): fix bugs caused by refactor. 2024-05-19 13:18:12 +08:00
kailixu cb5bdd29b5 feat(grant): support industry edition 2024-05-16 17:30:03 +08:00
kailixu e3442474cf fix: grants for database encryption 2024-05-12 23:09:56 +08:00
Shungang Li c575d7a850 enh: grant check for dual-replica-ha 2024-05-11 18:32:04 +08:00
dmchen 9cf2529cac check grant first 2024-05-11 02:12:31 +00:00
dmchen e5547eccbf encrypt grant 2024-05-09 02:44:38 +00:00
Haojun Liao b26656fd1c
Merge pull request #25661 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-05-08 13:03:13 +08:00
Haojun Liao 64ae35affe fix(test): fix syntax error. 2024-05-08 09:18:36 +08:00
Haojun Liao cdeb4462fb refactor: do some internal refactor. 2024-05-07 23:43:21 +08:00
Hongze Cheng 3ffe2740e5
Merge pull request #25138 from taosdata/ENH/TD-29195-3.0
enh: add logging info for alter vnode hash range action
2024-05-07 09:02:32 +08:00
dapan1121 355db3a0a3
Merge pull request #25609 from taosdata/fix/TD-29869
fix:[TD-29869]use latest vg info when drop topic
2024-05-01 07:37:03 +08:00
Haojun Liao f2bc93b78d
Merge pull request #25598 from taosdata/fix/3_liaohj
refactor(stream): opt stream sink perf.
2024-04-30 16:59:22 +08:00
wangmm0220 0758c4ece0 fix:[TD-29869]use latest vg info when drop topic 2024-04-30 15:38:09 +08:00
Haojun Liao d73fd5492a fix(test): update test case. 2024-04-30 14:24:20 +08:00
Haojun Liao 4c27af9b13 refactor: do some internal refactor. 2024-04-30 13:25:39 +08:00
Haojun Liao d3e676b084 fix(cos): fix syntax error. 2024-04-30 10:14:32 +08:00
Haojun Liao 9c39d11ea0 other: add some logs for drop streams. 2024-04-30 09:55:56 +08:00
Haojun Liao 9ba8e6bd34 refactor: add logs for drop streams. 2024-04-30 09:26:06 +08:00
Yihao Deng f99cad9443 opt transfer 2024-04-29 11:30:38 +00:00
dapan1121 0997355460
Merge pull request #25560 from taosdata/tsma_tradeoff
usable tsma
2024-04-29 09:22:50 +08:00
wangjiaming0909 cb008f18dc usable tsma 2024-04-29 09:18:40 +08:00
dapan1121 df4421b0a2
Merge pull request #25542 from taosdata/fix/TD-29841
use debug log when fetching no tsmas for table
2024-04-29 08:26:12 +08:00
Haojun Liao f115a33a94
Merge pull request #25538 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-04-28 23:21:52 +08:00
Hongze Cheng 0253aed220
Merge pull request #25522 from taosdata/enh/TD-29801-3.0
enh: batch create table
2024-04-28 17:16:23 +08:00
Haojun Liao 3c5ca17737 Merge branch '3.0' into fix/3_liaohj 2024-04-28 13:57:16 +08:00
wangjiaming0909 88cc43250f use debug log when fetching no tsmas for table 2024-04-28 12:42:10 +08:00
Yihao Deng d9c112244b profile opt 2024-04-28 03:48:00 +00:00
Haojun Liao ed962186a1 enh(stream): add attrs for stream tasks. 2024-04-28 10:22:09 +08:00
Haojun Liao b2d8260f14 refactor: do some internal refactor. 2024-04-28 10:05:22 +08:00
kailixu 504263315d enh: batch create table 2024-04-28 04:37:30 +08:00
Haojun Liao 5f5595a6ab
Merge pull request #25517 from taosdata/fix/3_liaohj
fix(stream): add task node into update list if it is timeout for more than 100sec.
2024-04-26 17:00:23 +08:00
Hongze Cheng 63a735a546
Merge pull request #25512 from taosdata/fix/TD-29713
fix: arb reduce duplicate updates
2024-04-26 16:33:04 +08:00
Haojun Liao 8b53f76691 fix(stream): discard the repeatly recv checkpoint-source msg. 2024-04-26 15:56:34 +08:00
wangjiaming0909 ffea69ac5c remove forbid funcs 2024-04-26 12:14:43 +08:00
Shungang Li 21f508fe58 fix: arb reduce duplicate updates 2024-04-26 11:40:06 +08:00
54liuyao 2a72ceadd1 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-04-24 18:57:22 +08:00
Haojun Liao 3b08ee3d16
Merge pull request #25458 from taosdata/fix/3_liaohj
fix(stream): add task update trans conflict level.
2024-04-24 18:54:06 +08:00
Hongze Cheng c085efb4f8
Merge pull request #25456 from taosdata/FIX/TD-29704-3.0
fix: execute undo actions of TRN_EXEC_SERIAL trans sequentially
2024-04-24 18:09:56 +08:00
dapan1121 ab2c9aaf5b
Merge pull request #25466 from taosdata/enh/TD-29758
enh:[TD-29758]optimize log in tmq
2024-04-24 17:47:28 +08:00
54liuyao 3300bf04c1 opt bloom filter 2024-04-24 17:27:24 +08:00
Benguang Zhao 9f8e970a32 enh: set default errcode as action in progress in executing serial trans 2024-04-24 11:23:53 +08:00
Hongze Cheng e47d17e826
Merge pull request #25451 from taosdata/enh/refactorCompress
refactor compress
2024-04-24 10:55:00 +08:00
Benguang Zhao 396c08e14a fix: execute undo actions of TRN_EXEC_SERIAL trans sequentially 2024-04-24 10:52:49 +08:00
Benguang Zhao edcd1b87d8 refact: add mndTransExecuteActionsSerial 2024-04-24 10:52:49 +08:00
wangmm0220 20cedc3339 enh:[TD-29758]optimize log in tmq 2024-04-24 10:02:58 +08:00
kailixu c173be667c Merge branch '3.0' into fix/TD-29750-3.0 2024-04-24 08:44:43 +08:00
kailixu a0a7c05faf fix: if not exists logic for topic/stream/table 2024-04-23 18:42:05 +08:00
Yihao Deng 7ddfe085f1 refactor code 2024-04-23 10:26:56 +00:00
Haojun Liao 0c7373509e fix(stream): add task update trans conflict level. 2024-04-23 18:07:00 +08:00
Benguang Zhao 10e9d79201 refact: rename STrans redoActionPos to actionPos 2024-04-23 16:44:05 +08:00
wangjiaming0909 2c0624a8ae fix create tsma transaction 2024-04-22 13:21:32 +08:00
wangmm0220 1695824c73 fix:merge from 3.0 2024-04-19 13:52:57 +08:00
wangmm0220 42467c0e00 opti:raw data from tmq 2024-04-19 13:48:17 +08:00
Hongze Cheng fc5c84422e
Merge pull request #25256 from taosdata/feat/TD-24834
Feat/td 24834
2024-04-19 13:34:37 +08:00
kailixu a044308150 enh: error code optimization for encryption key 2024-04-19 10:36:09 +08:00
Haojun Liao 4802cd1ddf Merge branch '3.0' into fix/3_liaohj 2024-04-18 17:53:30 +08:00
Haojun Liao ddf98ae0c2 refactor: do some internal refactor. 2024-04-17 18:04:02 +08:00
dm chen 1196ea72da
Merge branch '3.0' into feat/TD-24834 2024-04-17 17:13:29 +08:00
kailixu 3bad06b76f enh: error log optimization for invalid dnode cfg 2024-04-17 16:59:43 +08:00
kailixu 384e650882 enh: show encryptions 2024-04-17 14:41:47 +08:00
Yihao Deng 04e78d0ce7 Merge branch 'feat/3.0' into feat/compress_3.0 2024-04-17 03:23:02 +00:00
kailixu 74afb8deae chore: solve conflicts 2024-04-17 10:52:34 +08:00
dapan1121 5936d3a1b0
Merge pull request #25300 from taosdata/draft/tsma_before_ci
feat: support tsma
2024-04-17 10:00:17 +08:00
Yihao Deng 6f9de676f0 Merge branch 'fix/compress_3.0' into feat/compress_3.0 2024-04-16 09:27:26 +00:00
Haojun Liao 5ae8b68b17 fix(stream): fix deadlock. 2024-04-16 15:37:51 +08:00
wangjiaming0909 92e91c2032 fix ci 2024-04-16 14:27:06 +08:00
wangjiaming0909 1978a06e6e merge with 3.0 2024-04-16 14:27:06 +08:00
wangjiaming0909 039939196a forbid tsma agg funcs with tag columns 2024-04-16 14:25:34 +08:00
wangjiaming0909 1b37ef03fb fix duplicate tsma funcs 2024-04-16 14:25:34 +08:00
wangjiaming0909 97498e1844 fix create tsma txn and fix fetch wrong stream progress 2024-04-16 14:25:34 +08:00
wangjiaming0909 de1c28d623 tsma avoid fetching tsma for no tsma tables 2024-04-16 14:25:34 +08:00
wangjiaming0909 f6200dd923 support long ctb names 2024-04-16 14:25:34 +08:00
wangjiaming0909 6ce0616ffd fix ci and TODOs 2024-04-16 14:25:34 +08:00
wangjiaming0909 e43580f71b fix ci 2024-04-16 14:25:20 +08:00
wangjiaming0909 2b594e02d2 fix tsma name too long 2024-04-16 14:25:20 +08:00
wangjiaming0909 7de0a34ae6 support maxTsmaCalcDelay, maxTsmaNum, skip_tsma 2024-04-16 14:25:01 +08:00
wangjiaming0909 3566cac206 add max tsma num opt 2024-04-16 14:23:26 +08:00
wangjiaming0909 a2cbbba24d find TODO 2024-04-16 14:23:26 +08:00
wangjiaming0909 d1101a0325 support filter out tsma res tbs when show stables/tables 2024-04-16 14:23:26 +08:00
wangjiaming0909 a8e00f7410 drop tb in transaction 2024-04-16 14:23:26 +08:00
wangjiaming0909 3d77e8432d support rm ttl tb 2024-04-16 14:23:26 +08:00
wangjiaming0909 1ef153de63 support drop ctb for tsma 2024-04-16 14:23:25 +08:00
wangjiaming0909 1a06dd684e support drop ctb 2024-04-16 14:23:25 +08:00
wangjiaming0909 94f2f6ae22 fix drop ctb 2024-04-16 14:23:25 +08:00
wangjiaming0909 98ca847eb8 add tests 2024-04-16 14:18:11 +08:00
wangjiaming0909 a75c67efc8 rebase with stream sub table name no group id 2024-04-16 14:18:10 +08:00
wangjiaming0909 c3e73d9168 fix recursive tsma 2024-04-16 14:18:10 +08:00
wangjiaming0909 d8200b2f63 fetch lastts vnode version before create tsma 2024-04-16 14:18:10 +08:00
wangjiaming0909 8e56d9a359 fix tsmas 2024-04-16 14:18:10 +08:00
wangjiaming0909 e947a2fb0d catalog cache get stream progress 2024-04-16 14:18:10 +08:00
wangjiaming0909 6e7dc4b7b4 normal table tsma and add tests 2024-04-16 14:17:12 +08:00
wangjiaming0909 70ca830378 support recursive tsma creation 2024-04-16 14:17:12 +08:00
Haojun Liao 810eb22eb2 fix(stream): generate the checkpoint id after checking the max checkpoint id from vnode. 2024-04-16 14:15:18 +08:00
wangjiaming0909 a438a77e78 rewrite tbname for partition by tbname 2024-04-16 14:14:40 +08:00
wangjiaming0909 895a4584e6 generate tsma plan 2024-04-16 14:14:39 +08:00
wangjiaming0909 4b6fb0ffc6 tsma optimization 2024-04-16 14:14:39 +08:00
wangjiaming0909 0fd66d7e8a tsma optimization 2024-04-16 14:14:39 +08:00
wangjiaming0909 ef47fd57d6 support tsma catalog cache 2024-04-16 14:14:34 +08:00
wangjiaming0909 f77cd43d26 ins_tsmas 2024-04-16 14:13:10 +08:00
wangjiaming0909 08fc9170f5 refine 2024-04-16 14:13:10 +08:00
wangjiaming0909 6324d1293a drop tsma 2024-04-16 14:13:10 +08:00
wangjiaming0909 8e2977d083 create tsma request 2024-04-16 14:13:10 +08:00
wangjiaming0909 5589cf0309 server handle tsma creation 2024-04-16 14:13:10 +08:00
dm chen aedec5ead7
Merge branch '3.0' into feat/TD-24834 2024-04-16 11:35:49 +08:00
kailixu a6fe9a861f sdb release for dnode 2024-04-16 08:34:41 +08:00
Haojun Liao 13bd296d58 Merge branch '3.0' into fix/3_liaohj 2024-04-15 18:53:48 +08:00
Haojun Liao 1ac192c069 fix(stream): keep the original tsdb scan version range. 2024-04-15 18:41:38 +08:00
Haojun Liao 87dfc1f931 fix(stream):fix error in unit test cases. 2024-04-15 18:40:51 +08:00
Yihao Deng ea9385912f Merge branch '3.0' into feat/compress_3.0 2024-04-15 09:06:30 +00:00
kailixu 545519bc3d enh: default encrypt algorightm for db 2024-04-15 16:29:49 +08:00
kailixu 123090e18a fix: solve conflicts 2024-04-15 16:12:15 +08:00
dm chen 4d660d89c0
Merge branch '3.0' into feat/TD-24834 2024-04-15 15:12:32 +08:00
Haojun Liao 665107ad3a enh(stream): add more info in meta table. 2024-04-15 14:23:37 +08:00
yihaoDeng 4948bd690d 3.0 merge compress 2024-04-15 11:38:44 +08:00
dmchen c2c1a41af5 revert tmp ci 2024-04-15 02:21:11 +00:00
Minglei Jin 4b3e3f9091 Merge branch '3.0' into enh/TD-28945-pk 2024-04-15 09:31:56 +08:00
Minglei Jin 356f668542 mnd: fix s3_chunksize & s3_keeplocal if zero 2024-04-11 16:26:39 +08:00
wangmm0220 f609a45dd2 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-04-11 16:21:14 +08:00
wangmm0220 14531fbf7b fix:filter data error & add test case 2024-04-11 16:20:28 +08:00
Minglei Jin 6515d74fa2 Merge branch '3.0' into enh/TD-28945-pk 2024-04-11 16:02:01 +08:00
Minglei Jin 69a7db50b0 mnd: fix s3_keeplocal's format 2024-04-11 15:40:36 +08:00
54liuyao 1d42e927c6 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-04-11 15:35:42 +08:00
kailixu 3738ce9e10 chore: solve conflicts of sql.c 2024-04-11 11:05:58 +08:00
Minglei Jin 3d733370f0 mnd: fix mnode dump db info with arb 2024-04-11 10:48:54 +08:00
Haojun Liao fabb986aa8 fix(stream): fix stack overflow, caused by print epset. 2024-04-10 19:54:33 +08:00
yihaoDeng a02426fd2f Merge branch '3.0' into feature/compressData 2024-04-10 09:03:50 +00:00
Minglei Jin fe12f87c58 Merge branch 'feat/TS-4243-3.0' into enh/TD-28945-pk 2024-04-10 11:21:50 +08:00
Minglei Jin dcd9901d5f Merge branch '3.0' into feat/TS-4243-3.0 2024-04-10 11:18:19 +08:00
Minglei Jin 6eb014e32b Merge branch 'feat/TS-4243-3.0' into enh/TD-28945-pk 2024-04-09 19:11:46 +08:00
dmchen 17907ff8b9 tmp ci 2024-04-09 08:33:38 +00:00
Minglei Jin 4d08390d56 cos/multi-writing: fix chunsize's default value setting 2024-04-09 10:06:34 +08:00
Shungang Li 16e0fc44e2 fix: arb reply to set-assigned no matter what error 2024-04-08 19:56:22 +08:00
54liuyao 53265e9e09 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-08 17:24:09 +08:00
Minglei Jin 23d0037c03 cos/multi-write: fix var name from pCfg to pNewCfg 2024-04-08 11:02:28 +08:00
Minglei Jin a407f76165 Merge branch '3.0' into enh/TD-28945 2024-04-08 10:55:47 +08:00
Minglei Jin d5e9169769 cos/multi-write: dnode part including mnode/vnode/tsdb 2024-04-08 10:31:49 +08:00
Benguang Zhao 2fa55f04e1 enh: check validity of commit actions of trans 2024-04-07 15:26:21 +08:00
Benguang Zhao ccc7a0bf08 enh: skip trans context switch in error logging 2024-04-07 15:26:20 +08:00
Benguang Zhao ac6846d76c enh: check validity of parallel actions of trans 2024-04-07 15:26:18 +08:00
kailixu b4c8375cb9 chore: solve conflicts 2024-04-07 14:53:05 +08:00
kailixu 91cefc3c60 chore: restore code change 2024-04-07 10:34:25 +08:00
Hongze Cheng 5440471e07
Merge pull request #25257 from taosdata/ENH/TS-4595-3.0
enh: not to touch meta data during balance vgroup leader
2024-04-03 18:50:23 +08:00
54liuyao 537395e845 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-03 09:54:10 +08:00
Benguang Zhao 018d388278 enh: not to write confirm after balance vgroup leader 2024-04-02 18:20:26 +08:00
Hongze Cheng 6c886d1e4a
Merge pull request #25160 from taosdata/ENH/TS-4595-3.0
enh: support changeless transaction of tasks
2024-04-02 16:45:35 +08:00
dapan1121 eb50334baf
Merge pull request #25234 from taosdata/fix/TD-28032
fix:cases error
2024-04-02 10:17:04 +08:00
54liuyao 204c5acefe Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-02 09:10:52 +08:00
yihaoDeng cb27761e66 Merge branch '3.0' into feature/compressData 2024-04-01 13:14:37 +00:00
wangmm0220 174b0a104e fix:case error 2024-04-01 19:59:30 +08:00
dmchen 0a4556984c merge 2024-04-01 09:19:29 +00:00
kailixu c4aba0ac37 feat: encryption key optimize and test case adjust 2024-04-01 16:14:55 +08:00
yihaoDeng 53ecfe511a Merge branch '3.0' into feature/compressData 2024-04-01 08:04:16 +00:00
Haojun Liao c6294200ea
Merge pull request #25211 from taosdata/fix/TD-28032
fix:same subtable same partition by leads to same table name in stream
2024-04-01 15:49:47 +08:00
kailixu 717c4b3d9c chore: restore codes 2024-04-01 14:01:09 +08:00
kailixu 6eaa99bb2d feat: encryption algorithm 2024-04-01 13:58:13 +08:00
kailixu 9e4d692d6b feat: support encryption 2024-04-01 00:49:25 +08:00
yihaoDeng 17b2310df3 fix ci error 2024-03-31 13:57:18 +00:00
yihaoDeng 9e11fe45a9 fix ci error 2024-03-31 00:08:23 +00:00
yihaoDeng aa5ccf2b0b Merge branch '3.0' into feature/compressData 2024-03-30 09:57:23 +00:00
yihaoDeng 0cce8df6b5 Merge branch '3.0' into feature/compressData 2024-03-30 02:00:24 +00:00
kailixu 8dce61b68f chore: merge TD-29280-3.0 2024-03-29 11:39:46 +08:00
kailixu 9d59fb53f4 feat: support create encrypt key 2024-03-29 11:37:40 +08:00
dmchen b9deb71fc5 basic function 2024-03-29 02:48:49 +00:00
factosea 9ddc0b51cb merge 2024-03-29 10:37:59 +08:00
kailixu f99d193335 feat: user config dnode procedure 2024-03-29 10:25:19 +08:00
kailixu 4e54dc09c5 enh: dnode online judgement 2024-03-28 16:59:00 +08:00
kailixu a3398f791e enh: dnodes status optimization 2024-03-28 16:17:35 +08:00
wangmm0220 8e2a2414c0 fix:same subtable same partition by leads to same table name in stream 2024-03-28 13:48:46 +08:00
kailixu 64e32e5c85 chore: merge 3.0 2024-03-28 08:23:43 +08:00
kailixu d64594932b feat: support database encryption 2024-03-27 20:03:38 +08:00
wangmm0220 4722f8be87 fix:write schema error if schema ver is 1 more than origin version 2024-03-27 15:17:49 +08:00
wangmm0220 f4fed29739 fix:write schema error if schema ver is 1 more than origin version 2024-03-27 15:04:37 +08:00
Haojun Liao 0bfd606e5c
Merge pull request #25193 from taosdata/fix/3_liaohj
fix(stream): acquire the stream task in exec buffer if not in mnode store.
2024-03-27 13:17:14 +08:00
Haojun Liao e776cde461 fix(stream):fix unrelease stream obj. 2024-03-27 09:02:21 +08:00
Haojun Liao f3c306d582 fix(stream): add some comments. 2024-03-26 23:28:20 +08:00
Haojun Liao 3c7fe5fd01 fix(stream): check null ptr. 2024-03-26 23:27:38 +08:00
yihaoDeng 18986c0ced refactor code 2024-03-26 12:44:53 +00:00
kailixu 374ef4593c feat: encryptions/encrypt_key grammar 2024-03-26 19:56:15 +08:00
Haojun Liao 46280bfee9 fix(stream): add some comments. 2024-03-26 19:40:47 +08:00
Haojun Liao 530e0133b9 fix(stream): acquire the stream task in exec buffer if not in mnode store. 2024-03-26 19:39:58 +08:00
yihaoDeng 02e0e45183 refactor code 2024-03-26 08:50:21 +00:00
yihaoDeng 0bb9e1195d refactor code 2024-03-25 13:48:24 +00:00
Shungang Li 44ce5b951d fix: arb group leak 2024-03-25 18:38:04 +08:00
54liuyao a02535c3ab Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-25 11:15:21 +08:00
Benguang Zhao 02528eaa48 enh: not to touch meta data during balance vgroup leader 2024-03-22 16:24:13 +08:00
Benguang Zhao 85ccba0fab enh: support changeless transaction of tasks 2024-03-22 15:37:53 +08:00
Hongze Cheng 537fa8558b
Merge pull request #25155 from taosdata/fix/TD-29190
fix: arb send set assigned req
2024-03-22 14:11:48 +08:00
Shungang Li 2821e706a5 fix: arb send set assigned req 2024-03-22 12:59:07 +08:00
Hongze Cheng 6f174fdb7a
Merge pull request #25126 from taosdata/fix/TD-29180
fix: arb alter database check
2024-03-22 09:54:08 +08:00
Shungang Li be54767897 fix: arb show null in show arbgroups 2024-03-21 18:13:25 +08:00
Hongze Cheng 9429c9d04c
Merge pull request #25048 from taosdata/enh/TS-4531-3.0
enh: logs and show grants
2024-03-21 11:03:28 +08:00
54liuyao a60f390cdc stream primary key 2024-03-21 10:50:07 +08:00
Haojun Liao 109fd34b38
Merge pull request #25141 from taosdata/fix/3_liaohj
fix(stream): adjust conflict level when creating stream.
2024-03-20 23:02:21 +08:00
Haojun Liao a9ba534f48 fix(stream): adjust conflict level when creating stream. 2024-03-20 18:31:57 +08:00
Benguang Zhao b4eb22c7a4 enh: add logging info for alter vnode hash range action 2024-03-20 16:26:52 +08:00
Shungang Li 701ac8b865 fix: arb alter database check 2024-03-20 11:05:57 +08:00
Cary Xu 861528fb6c
Merge branch '3.0' into enh/TS-4531-3.0 2024-03-19 17:03:41 +08:00
Hongze Cheng a9c1bcc91c
Merge pull request #25097 from taosdata/feat/TD-25880
feat: support 2 replica with arbitrator
2024-03-19 16:44:07 +08:00
Shungang Li 4185962c43 fix: arb unit test 2024-03-19 14:26:11 +08:00
kailixu 3da55a48ca enh: code optimization 2024-03-19 11:03:30 +08:00
Shungang Li 7f3b49bde8 enh: arb adjust version code 2024-03-19 09:38:05 +08:00
Shungang Li d0df927dfa feat: arb add version in sarbgroup 2024-03-19 09:31:05 +08:00
Shungang Li fc7575279c fix: arb unit test 2024-03-19 09:30:51 +08:00
Shungang Li 3a656c3595 feat: support 2 replica with arbitrator 2024-03-19 09:30:35 +08:00
kailixu 7df12ffe50 fix: update machine id 2024-03-19 08:40:48 +08:00
wangmm0220 4810053142 opti:tmq 2024-03-18 21:43:22 +08:00
wangmm0220 0ccad9d5de Merge branch '3.0' of https://github.com/taosdata/TDengine into mark/tmq-opti 2024-03-18 21:23:58 +08:00
kailixu 0b15e3415d enh: machine id persistence 2024-03-18 18:06:18 +08:00
yihaoDeng 3964f01793 fix invalid read 2024-03-18 07:23:55 +00:00
wangmm0220 5624efff4e opti:tmq 2024-03-18 14:31:40 +08:00
Haojun Liao 29d9e8a9f9
Merge pull request #25105 from taosdata/fix/3_liaohj
fix(stream): fix stream task retrieve reallocate error
2024-03-15 21:44:21 +08:00
Haojun Liao a576be6ae5 fix(stream): set the correct rows info for stream tasks when retreiving task info. 2024-03-15 15:19:20 +08:00
yihaoDeng bdbe9b042c Merge branch 'feature/compressData' of https://github.com/taosdata/TDengine into feature/compressData 2024-03-14 12:20:13 +00:00
factosea c6adba9bfc fix: merge error 2024-03-14 19:56:19 +08:00
facetosea 6678a65dc4 merge ts-4243 2024-03-14 19:06:34 +08:00
wangmm0220 c866c9ad02 fix:case error 2024-03-14 14:27:13 +08:00
yihaoDeng fe10867547 Merge branch '3.0' into feature/compressData 2024-03-14 03:19:39 +00:00
wangmm0220 f27becb76a opti:tmq logic 2024-03-14 00:08:56 +08:00
wangmm0220 5a5bf29acb opti:tmq logic 2024-03-13 23:50:42 +08:00
wangmm0220 6f4809fe21 opti:tmq logic 2024-03-13 20:28:37 +08:00
wangmm0220 d0bdb0ce2b opti:tmq logic 2024-03-13 19:36:00 +08:00
yihaoDeng 3c11dc4ec1 fix show create table crash 2024-03-13 09:54:14 +00:00
yihaoDeng e9b0c877b0 fix double free 2024-03-13 06:01:16 +00:00
yihaoDeng 85fec026d6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-29130 2024-03-13 05:57:20 +00:00
yihaoDeng e72ddf9429 fix double free 2024-03-13 05:56:13 +00:00
wangmm0220 4dfc531e6c opti:subscribe logic 2024-03-12 19:42:26 +08:00
yihaoDeng 796ff03eb5 fix invalid copy 2024-03-12 09:47:01 +00:00
yihaoDeng e25024cca3 fix invalid free 2024-03-12 07:09:50 +00:00
yihaoDeng a52213dd23 fix create stable error 2024-03-08 08:40:33 +00:00
Haojun Liao 3de1413974 test(stream): add some test cases to inc coverage. 2024-03-08 13:38:51 +08:00
factosea af9fdcd29d create stable/table 2024-03-08 11:23:11 +08:00
yihaoDeng 63d3671f42 add new msg 2024-03-06 12:06:26 +00:00
Haojun Liao 3aa2e24d78
Merge pull request #25006 from taosdata/fix/nullcheck
fix(stream): set the dest epset from mnode, and set the retry error
2024-03-05 19:46:41 +08:00
Shungang Li 254afc070c fix: dynmaic config supportvnodes in ent 2024-03-05 15:20:11 +08:00
Haojun Liao cdfbbc2985 fix(stream): set the dest epset from mnode, and set the retry error code for trans. 2024-03-05 13:28:34 +08:00
Haojun Liao 0d82ea9e62
Merge pull request #24966 from taosdata/fix/3_liaohj
enh(stream): async handle pause event
2024-03-04 09:10:10 +08:00
yihaoDeng e084ee9d22 compress impl 2024-03-01 06:19:37 +00:00
Hongze Cheng 818b9d1564
Merge pull request #24943 from taosdata/ENH/TD-28888-3.0
enh: adjust an error logging msg in process sync msg
2024-03-01 10:00:31 +08:00
Hongze Cheng 22e52d6d82
Merge pull request #24958 from taosdata/fix/TD-28920-3.0
fix/TD-28920
2024-03-01 09:21:07 +08:00
Haojun Liao 8791a163f8 other: merge 3.0 2024-02-29 22:31:52 +08:00
Haojun Liao db92bf84d8 other: merge 3.0 2024-02-29 22:21:50 +08:00
dmchen 4e67da7017 fix/TD-28920 2024-02-29 07:24:29 +00:00
dmchen f4c4465c0e fix/TD-28490 2024-02-29 06:54:24 +00:00
dmchen 85b78b0947 fix/TD-28910 2024-02-29 02:43:15 +00:00
Benguang Zhao d5eda8c0a9 enh: adjust an error logging msg in process sync msg 2024-02-29 10:42:27 +08:00
dmchen 00d6611ba7 fix/TD-28895 2024-02-28 08:31:45 +00:00
Hongze Cheng 31b8fd803d
Merge pull request #24901 from taosdata/FIX/TD-28853-3.0
enh: change redo log of trans compact-db as prepare log
2024-02-28 08:58:59 +08:00
kailixu bd77aff696 enh: cloud edition check 2024-02-27 17:45:52 +08:00
Benguang Zhao 871c898920 enh: change redo log of trans compact-db as prepare log 2024-02-27 17:05:36 +08:00
Hongze Cheng 9a2f5fa2d2
Merge pull request #24893 from taosdata/fix/TD-28776-2-3.0
fix/TD-28776
2024-02-27 14:59:04 +08:00
Haojun Liao 9762c53cf9
Merge pull request #24895 from taosdata/fix/nullcheck
enh(stream):rsp the checkpoint ready msg.
2024-02-27 14:42:00 +08:00
dmchen c4f08b8275 fix/TD-28776 2024-02-27 03:05:45 +00:00
Haojun Liao dafac591f7 enh(stream): add rsp for req-checkpoint 2024-02-27 10:53:25 +08:00
Haojun Liao 81a1eac87a fix(stream): add some logs. 2024-02-26 22:49:38 +08:00
Hongze Cheng f7ec6248dc
Merge pull request #24851 from taosdata/ENH/TD-28731-3.0
enh: adjust code format in logging msg of mndTransSync
2024-02-26 16:20:15 +08:00
Haojun Liao 0659662223
Merge pull request #24874 from taosdata/fix/nullcheck
fix(stream): add into buffer before start the create stream trans.
2024-02-26 13:43:36 +08:00
Hongze Cheng 2ea5903132
Merge pull request #23373 from taosdata/feat/TD-26529-3.0
TD-26529
2024-02-26 13:22:56 +08:00
Haojun Liao 6e891b0145 fix(stream): add into buffer before start the create stream trans. 2024-02-26 10:22:34 +08:00
Hongze Cheng fdb430d2e7
Merge pull request #24859 from taosdata/fix/TD-28776-3.0
fix/TD-28776
2024-02-24 16:16:03 +08:00
chenhaoran ab07900895 Merge branch '3.0' into feat/TD-26529-3.0 2024-02-23 20:54:19 +08:00
dmchen 1ca24fae6e fix/TD-28776 2024-02-23 11:44:55 +00:00
Hongze Cheng c52f064670
Merge pull request #24843 from taosdata/FIX/TS-4505-3.0
enh: ensure the redos and undos of parallle mnd trans are of the same type
2024-02-23 14:48:27 +08:00
Benguang Zhao e4fa687100 enh: adjust code format in logging msg of mndTransSync 2024-02-23 14:42:52 +08:00
Hongze Cheng 67f5684151
Merge pull request #24798 from taosdata/feat/TD-27463-3.0
enh: get machine id and tbase58 codec
2024-02-23 14:18:45 +08:00
Benguang Zhao f2c1b7da05 enh: keep in redo stage on context switch for rollback trans 2024-02-23 13:18:36 +08:00
Benguang Zhao ec093cb477 enh: ensure decoded obj cleared in new obj action validate 2024-02-23 11:25:42 +08:00
Benguang Zhao 1b2bccd1d9 enh: not use prepare log in trans create-stb anymore 2024-02-23 10:40:50 +08:00
Benguang Zhao dfef26866a enh: decode sdb raw object in SdbValidateFp instead 2024-02-23 10:39:50 +08:00
Benguang Zhao a371afa58e enh: change type of trans create-qnode and drop-qnode as serial 2024-02-23 10:22:59 +08:00
Benguang Zhao fbd2a0035c enh: change type of trans create-snode and drop-snode as serial 2024-02-23 10:22:58 +08:00
Benguang Zhao 94f7e0c811 enh: change redo logs of trans create-stb-index and drop-index as prepare logs 2024-02-23 10:22:58 +08:00
Benguang Zhao 8f3b6a717d enh: change redo logs of trans alter-db and drop-db as prepare logs 2024-02-23 10:22:57 +08:00
Benguang Zhao 3a81c9777c enh: change redo logs of trans alter-stb and drop-stb as prepare logs 2024-02-23 10:22:56 +08:00
Benguang Zhao 03d68a0376 enh: change redo logs of trans create-stb as prepare logs 2024-02-23 10:22:55 +08:00
dapan1121 794d4a931c
Merge pull request #24820 from taosdata/mark/3.0
fix:add excluded msg for meta in tmq
2024-02-23 09:41:39 +08:00
dmchen 7c9ae19989 core at show user 2024-02-22 12:31:33 +00:00
kailixu a34402a11f Merge branch '3.0' into feat/TD-27463-3.0 2024-02-22 17:35:34 +08:00
Haojun Liao 7c8eb21ee5 fix(stream): halt the correct task. 2024-02-22 15:01:04 +08:00
dmchen 2f6fc4a9ce grant default 2024-02-22 04:55:54 +00:00
dm chen 271e997438
Merge pull request #24823 from taosdata/3.0
merge 3.0
2024-02-22 12:47:42 +08:00
Haojun Liao 5de8617a32
Merge pull request #24783 from taosdata/fix/crash_stream
test(stream): add unit test cases.
2024-02-22 11:28:17 +08:00
wangmm0220 6e13e4aa63 fix:add excluded msg for meta in tmq 2024-02-22 10:58:32 +08:00
Haojun Liao dbd3b4e2b9 test: remove print info. 2024-02-22 10:02:25 +08:00
Haojun Liao 045a30035f test(stream): init lock. 2024-02-22 09:52:47 +08:00
Haojun Liao 637e604368 test(stream): add print info. 2024-02-22 09:38:44 +08:00
Haojun Liao 5c817d101a test(stream): add print info. 2024-02-22 09:29:40 +08:00
Haojun Liao 705ae7d827 test(stream): init mnode lock. 2024-02-22 09:04:57 +08:00
dmchen 46ee4cd00f uptime 2024-02-22 00:49:51 +00:00
Haojun Liao 1cf7790b1c
Merge pull request #24816 from taosdata/fix/nullcheck
fix(stream): send hb correctly after the leader of mnode switching in a cluster.
2024-02-22 08:45:34 +08:00
Haojun Liao bad3730387 fix(stream): set the vgId in hb rsp msg. 2024-02-21 18:25:35 +08:00
Haojun Liao 4440243b17 fix(stream): clear the handle after send msg. 2024-02-21 18:17:31 +08:00
Haojun Liao 8740c3cb4a fix(stream): send hb rsp explicitly. 2024-02-21 16:17:06 +08:00
wangmm0220 2049fa688a fix:add log 2024-02-21 16:01:02 +08:00
kailixu c7932675ce enh: get machine id 2024-02-21 09:07:38 +08:00
kailixu b2ad162a8b enh: remove obsolete codes 2024-02-20 17:13:58 +08:00
wangmm0220 22b1db5191 fix:stream load error 2024-02-20 14:49:52 +08:00
Haojun Liao 13c3654bf5 other: merge 3.0 2024-02-20 10:51:04 +08:00
Haojun Liao 03bc2d7c6d test(stream): add unit test cases. 2024-02-20 10:27:02 +08:00
dapan1121 980e1b83be
Merge pull request #24775 from taosdata/opti/TS-4480
opti:consume performance if all data is in format of "insert into using"
2024-02-20 09:07:59 +08:00
Haojun Liao 46b1fe520f
Merge pull request #24538 from taosdata/feat/TD-22023
stream count window
2024-02-20 08:50:25 +08:00
Hongze Cheng ffedfbaf1e
Merge pull request #24777 from taosdata/feat/TD-27463-3.0
fix: grant check for stream/topic/subscription
2024-02-19 19:36:22 +08:00
wangmm0220 77e2500a81 fix:conflicts from 3.0 2024-02-19 18:46:31 +08:00
54liuyao af1893d109 merge 3.0 2024-02-19 18:30:12 +08:00
kailixu c0cb72ca56 feat: grant check for topic/subscription 2024-02-19 18:28:50 +08:00
kailixu 5b69e22e9b fix: grant check for streams 2024-02-19 16:29:40 +08:00
wangmm0220 a74f12e2e1 opti:consume performance if all data is in format of "insert into using" 2024-02-19 15:50:43 +08:00
wangmm0220 ac9582b24a fix:[TD-28567] do not add md5 to the end of subtable if create stream by sma 2024-02-19 13:58:58 +08:00
54liuyao b53dc5602e Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-02-19 10:58:20 +08:00
54liuyao 05eaa90c11 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-19 08:59:15 +08:00
wangmm0220 ee96127020 fix:conflicts from 3.0 2024-02-18 18:38:38 +08:00
wangmm0220 a8e45440c0 fix:conflicts from 3.0 2024-02-18 18:02:14 +08:00
Haojun Liao c4f9bee629 fix(stream): add into buffer pool before start trans, to avoid false alarm on orphan task. 2024-02-18 15:46:37 +08:00
dapan1121 8f63952ad5
Merge pull request #24750 from taosdata/mark/3.0
fix:[TD-28590]add logic for consume excluded
2024-02-18 10:13:25 +08:00
Hongze Cheng 461a0687ec
Merge pull request #24752 from taosdata/feat/TD-27463-3.0
feat: support uniq grant
2024-02-18 09:13:22 +08:00
Alex Duan 4816290a60 coverage: tsched.c mndTrans.h 2024-02-17 18:25:10 +08:00
kailixu f76a61c777 feat: support uniq grant 2024-02-13 23:17:05 +08:00
dm chen 6d2d37d964
Merge pull request #24751 from taosdata/3.0
merge 3.0
2024-02-06 19:16:53 +08:00
wangmm0220 478e1a67ae fix:[TD-28590]add logic for consume excluded 2024-02-06 18:14:06 +08:00
dmchen e5dcef0794 forward client directly 2024-02-06 08:29:09 +00:00
Haojun Liao 2bba011e4e Merge remote-tracking branch 'origin/feat/TD-22023' into feat/TD-22023 2024-02-05 17:51:23 +08:00
Haojun Liao 7a18e5910c enh(stream): halt the initial stream tasks when fill-history is set for count window agg 2024-02-05 17:51:09 +08:00
Haojun Liao ecdcc6dee1
Merge pull request #24738 from taosdata/fix/3_liaohj
test(stream): add unit test case for the mnode stream module.
2024-02-05 13:32:46 +08:00
dmchen 5c7f839da8 remove tmp log 2024-02-05 03:28:33 +00:00
Haojun Liao fc218a1f69 fix(test): fix syntax errors on windows. 2024-02-05 11:09:19 +08:00
Haojun Liao 3533f7ecea Merge branch '3.0' into fix/3_liaohj 2024-02-05 09:23:29 +08:00
kailixu 196256d9af feat: support uniq grant 2024-02-05 09:23:19 +08:00
kailixu 7e5dc8a024 feat: support uniq grant 2024-02-05 09:21:11 +08:00
Haojun Liao 3111a01a12 test: add unit test files. 2024-02-05 09:10:43 +08:00
Haojun Liao 739485a419 test(stream): add unit test case for the mnode stream module. 2024-02-05 09:10:04 +08:00
dmchen 71d9065d47 tmp log 2024-02-05 00:12:35 +00:00
kailixu 6098538162 feat: support uniq grant 2024-02-04 18:00:02 +08:00
kailixu d281bc70b0 feat: remove hb of grantInfo 2024-02-04 16:46:24 +08:00
kailixu 3ebc26e1fb feat: support uniq grant 2024-02-04 16:33:43 +08:00
kailixu 3a08926319 feat: support uniq grant 2024-02-03 17:32:02 +08:00
kailixu 231cf000da Merge branch 'feat/TD-27463-3.0a' into feat/TD-27463-3.0 2024-02-02 00:07:15 +08:00
kailixu 67425fce1e feat: support uniq grant 2024-02-01 22:57:56 +08:00
kailixu adee720128 feat: support uniq grant 2024-02-01 17:48:29 +08:00
Haojun Liao 0fe9c05c5f
Merge pull request #24704 from taosdata/fix/3_liaohj
fix(stream): take ver snapshot for all vgroups
2024-02-01 17:07:36 +08:00
Haojun Liao 88f246b988 fix(stream): fix syntax error on windows, and add null ptr check for pTrans obj. 2024-02-01 15:08:06 +08:00
dmchen 907e06ad4d clusterid by taosd 2024-02-01 04:52:54 +00:00
Haojun Liao cb2ea4a721 fix(stream): take ver snapshot for all vgroups before launching stream with fill-history option opened. 2024-02-01 11:37:57 +08:00
wangmm0220 a9fcc67321 fix:conflicts from 3.0 2024-02-01 11:13:03 +08:00
wade zhang eeba6a24ad
Merge pull request #24686 from taosdata/feat/TD-27463-3.0
feat: support uniq grant
2024-02-01 09:47:14 +08:00
54liuyao 0afed5263e add mid operator retrive 2024-01-31 18:09:13 +08:00
kailixu 1e9c963e02 feat: support uniq grant 2024-01-31 17:22:57 +08:00
kailixu a860e9039d feat: support uniq grant 2024-01-31 13:52:03 +08:00
kailixu 4ffc4017bd feat: support uniq grant 2024-01-31 13:02:17 +08:00
kailixu ac5fa32867 feat: support uniq grant 2024-01-31 12:36:58 +08:00
dmchen 5cf8687fd7 fix/TD-28519 2024-01-31 04:23:28 +00:00
kailixu f50867831b feat: support uniq grant 2024-01-31 10:43:31 +08:00
kailixu 18ece50f86 feat: support uniq grant 2024-01-31 10:02:44 +08:00
kailixu 41072348b9 Merge branch '3.0' into feat/TD-27463-3.0 2024-01-31 10:02:12 +08:00
kailixu a11410378f feat: support uniq grant 2024-01-31 09:47:10 +08:00
kailixu 93c0890f68 feat: support uniq grant 2024-01-31 09:13:10 +08:00
wade zhang 17e74e76e6
Merge pull request #24679 from taosdata/fix/TD-28503-3.0
fix/TD-28503
2024-01-31 09:11:36 +08:00
kailixu 2b1a0cdbfe feat: support uniq grant 2024-01-31 08:53:45 +08:00
kailixu 5fd10d4049 feat: support uniq grant 2024-01-31 00:40:47 +08:00
Haojun Liao 556baed25d other: merge 3.0 2024-01-30 18:35:59 +08:00
Haojun Liao 086943ea5c
Merge pull request #24610 from taosdata/fix/TD-28446
fix:[TD-28446] modify trans confilct in subscribe
2024-01-30 17:49:05 +08:00
Haojun Liao 4c22e03c1b
Merge pull request #24642 from taosdata/feat/TD-28247
feat:[TD-28247]add grant for subscribe and stream
2024-01-30 17:48:05 +08:00
dmchen 917a6eb5a7 fix/TD-28503 2024-01-30 09:47:20 +00:00
Haojun Liao efbc7e1402 fix(stream): fix memory leak. 2024-01-30 15:35:01 +08:00
Haojun Liao 584b7f236f
Merge pull request #24665 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-01-30 10:38:19 +08:00
Haojun Liao 11c9c7d936 refactor: do some internal refactor. 2024-01-30 09:17:02 +08:00
Haojun Liao 45891babd3
Merge pull request #24655 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-01-30 09:15:10 +08:00
wangmm0220 51b7cd99d6 feat:[TD-28247]add grant for subscribe and stream 2024-01-29 14:28:48 +08:00
Haojun Liao b714c70434 refactor: do some internal refactor. 2024-01-29 13:46:33 +08:00
Haojun Liao f4f01e4bf4
Merge pull request #24654 from taosdata/fix/3_liaohj
feat(stream): drop orphan tasks.
2024-01-29 13:10:47 +08:00
Haojun Liao 9087a0d9d0 feat(stream): drop orphan tasks. 2024-01-29 11:03:50 +08:00
kailixu 80b1ad77d6 feat: support uniq grant 2024-01-28 21:24:30 +08:00
kailixu e0d61c40f5 feat: support uniq grant 2024-01-26 19:06:56 +08:00
Haojun Liao bfbd61a02f
Merge pull request #24634 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-01-26 18:08:54 +08:00
wangmm0220 35e2b681c7 fix:conflicts from 3.0 2024-01-26 16:32:40 +08:00
Haojun Liao ac08f659c3 refactor: remove invalid procedure in fill-history. 2024-01-26 16:20:43 +08:00
Haojun Liao 50b59ad936 fix(stream): add null ptr check. 2024-01-26 16:08:01 +08:00
wangmm0220 ce2a3e4be2 fix:test case error 2024-01-26 15:35:29 +08:00
wangmm0220 bd2bef2428 fix:add test case 2024-01-26 15:05:31 +08:00
Haojun Liao 649d26ce72 fix(stream): seek to right place to start wal read. 2024-01-26 14:14:04 +08:00
Haojun Liao 49aff4571b fix(stream): fix memory leak. 2024-01-26 11:33:07 +08:00
Haojun Liao 9b3b03caab refactor: do some internal refactor. 2024-01-26 10:22:16 +08:00
Haojun Liao bc7fe1fe6a refactor: do some internal refactor. 2024-01-26 10:08:20 +08:00
Haojun Liao bd1d1cddaf refactor: do some internal refactor. 2024-01-26 10:03:54 +08:00
Haojun Liao db117a3ac7
Merge pull request #24628 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-01-26 09:09:44 +08:00
wangmm0220 474514ab66 fix:test case error 2024-01-25 17:29:55 +08:00
Haojun Liao 43c035678f refactor: do some internal refactor. 2024-01-25 16:55:05 +08:00
Haojun Liao d4bab8c09b refactor: do some internal refactor. 2024-01-25 16:53:30 +08:00
Haojun Liao 834f08a2e0
Merge pull request #24552 from taosdata/fix/3_liaohj
fix(stream): do checkpoint after fill-history task completed.
2024-01-25 16:53:11 +08:00
wangmm0220 2798ff824c feat:[TD-28247]add grant for subscribe and stream 2024-01-25 16:07:09 +08:00
Hongze Cheng 9d9306a03b
Merge pull request #24612 from taosdata/fix/TD-28437-3.0
fix/TD-28437
2024-01-25 10:01:29 +08:00
kailixu 4d345b819a feat: support uniq grant 2024-01-24 19:08:19 +08:00
dmchen d9af07de6f new table structure 2024-01-24 09:44:44 +00:00
Haojun Liao dc1ea9f9a1 fix(stream): clear htask info when unregistering the task. 2024-01-24 16:23:47 +08:00
kailixu e13e61f4d5 Merge branch '3.0' into feat/TD-27463-3.0 2024-01-24 14:26:17 +08:00
Haojun Liao 8a7e38ad15 fix(stream): fix checkpoint failure check. 2024-01-24 13:10:53 +08:00
dmchen 262bb4cf12 fix/TD-28437 2024-01-24 02:30:03 +00:00
wangmm0220 416c87b5b7 fix:[TD-28446] modify trans confilct in subscribe 2024-01-23 18:48:19 +08:00
Haojun Liao 0cd84aa587 fix(stream): gen checkpoint for single task. 2024-01-23 17:51:50 +08:00
Yihao Deng 2479df3b1e sort epset 2024-01-23 06:42:42 +00:00
Yihao Deng 62e6b5ca31 sort epset 2024-01-23 06:23:34 +00:00
kailixu 486e3b7479 feat: support uniq grant 2024-01-22 18:18:01 +08:00
kailixu dbd3c53182 feat: support uniq grant 2024-01-22 13:20:15 +08:00
kailixu 5208829f23 Merge branch '3.0' into feat/TD-27463-3.0 2024-01-22 13:20:00 +08:00
Haojun Liao db474626e6 fix(stream): fix memory leak. 2024-01-22 11:49:16 +08:00
Haojun Liao 2cc584ff44 fix(stream): fix error in check vgId. 2024-01-22 11:05:42 +08:00
Yihao Deng a20845ec69 refactor retry 2024-01-22 01:04:06 +00:00
Haojun Liao 4a5ab10b3d fix(stream): fix memory leak. 2024-01-19 20:28:43 +08:00
kailixu b7ea583f3a feat: support uniq grant 2024-01-19 17:01:19 +08:00
Haojun Liao d973f66cea fix(stream): do checkpoint after fill-history task completed. 2024-01-19 16:18:02 +08:00
Yihao Deng c56ddc1ba9 refactor retry 2024-01-19 07:52:32 +00:00
kailixu 5d6703c3ef feat: support uniq grant 2024-01-19 14:59:02 +08:00
Yihao Deng 6c732a14a3 refactor retry 2024-01-19 06:20:16 +00:00
kailixu 99c493dc5c feat: support uniq grant 2024-01-18 19:40:41 +08:00
wangmm0220 7246fedfef Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly_multi_marks 2024-01-18 19:08:35 +08:00
kailixu 1daa224651 feat: support uniq grant 2024-01-18 17:49:11 +08:00
Haojun Liao 996e2939a9 refactor: do some internal refactor. 2024-01-18 15:58:46 +08:00
Haojun Liao 76e6c453e7 enh(stream): send msg to mnode when the transferring state completed. 2024-01-18 15:43:36 +08:00
kailixu 76558da849 feat: support uniq grant 2024-01-18 15:23:38 +08:00
Haojun Liao f8d0c52483 fix(stream): remove this unused drop history task msg and corresponding functions. 2024-01-18 14:32:48 +08:00
kailixu bf0205b54d Merge branch '3.0' into feat/TD-27463-3.0 2024-01-17 11:29:47 +08:00
kailixu 95cb004f80 feat: support uniq active code 2024-01-17 11:24:48 +08:00
Haojun Liao 3d98fc6a67 other: merge 3.0 2024-01-16 18:29:33 +08:00
Haojun Liao 0280f129bd fix(stream):add some logs. 2024-01-16 18:21:29 +08:00
Haojun Liao 882b916940 fix(stream): adjust stream trans conflict check. 2024-01-16 16:11:04 +08:00
Haojun Liao 8ede6d87ce refactor: do some internal refactor. 2024-01-16 15:40:40 +08:00
Hongze Cheng c40a87ab0e
Merge pull request #24319 from taosdata/ENH/TD-28135-3.0
enh: use learner in redistribute vgroup
2024-01-16 15:04:52 +08:00
Yihao Deng 7a09ba2630 fix pause/resume error 2024-01-15 11:56:38 +00:00
Haojun Liao 1296700092
Merge pull request #24433 from taosdata/fix/TD-28188
fix:[TD-28188]the epset of snode is error because epset is not initil…
2024-01-15 17:05:11 +08:00
wangmm0220 2ab54a1335 fix:conflicts from 3.0 2024-01-15 16:54:52 +08:00
kailixu 414e15a810 chore: merge 3.0 2024-01-15 10:42:45 +08:00
Haojun Liao 59ee690301
Merge pull request #24450 from taosdata/fix/3_liaohj
fix(stream): set error code for return.
2024-01-12 16:04:14 +08:00
Haojun Liao bc7434e2b5 fix(stream): set error code for return. 2024-01-12 14:49:16 +08:00
Haojun Liao ea0ea09b0f
Merge pull request #24409 from taosdata/opt/optMsgOnMnode
opt msg on mnd
2024-01-12 09:36:37 +08:00
Haojun Liao fe839527f3
Merge pull request #24435 from taosdata/fix/TD-28202
fix:[TD-28202]move tq timer to write thread in mnode
2024-01-12 09:35:45 +08:00
kailixu ddefc5f46a chore: merge 3.0 2024-01-11 20:05:23 +08:00
wangmm0220 d3659db2ff fix:[TD-28202]move tq timer to write thread in mnode 2024-01-11 19:22:54 +08:00
wangmm0220 89ca3418af fix:[TD-28188]the epset of snode is error because epset is not initilized 2024-01-11 17:38:15 +08:00
Haojun Liao 9703018f56 fix(stream): add checkpoint status check. 2024-01-11 16:47:51 +08:00
Haojun Liao 5f7ce21530 refactor: do some internal refactor. 2024-01-11 11:59:29 +08:00
Haojun Liao 58694c67dd refactor: do some internal refactor. 2024-01-11 11:50:52 +08:00
Yihao Deng b5e5167b8f split sync/status channel 2024-01-10 09:57:08 +00:00
Yihao Deng 2537adb728 opt msg on mnode 2024-01-10 06:00:44 +00:00
yihaoDeng 9dbddeed16 opt msg on mnd 2024-01-10 10:03:38 +08:00
Haojun Liao 9d0d0d9ddc Merge branch '3.0' into fix/3_liaohj 2024-01-10 09:57:46 +08:00
Yihao Deng 220cef4a61 opt msg on mnode 2024-01-09 11:02:10 +00:00
Yihao Deng 1eee7b44e0 fix crash found on 3.1 2024-01-08 07:31:35 +00:00
Haojun Liao f7ab55fb71
Merge pull request #24342 from taosdata/fix/TD-28155
fix:[TD-28155] set consumer lost if all current topic is 0
2024-01-08 11:39:16 +08:00
wangmm0220 f2a1d24ab1 fix:[TD-28155] set consumer lost if all current topic is 0 2024-01-05 19:28:40 +08:00
dmchen 8ddff2eecb fix/TD-28073 2024-01-05 07:02:16 +00:00
wade zhang a4f68411ed
Merge pull request #24332 from taosdata/ENH/TD-25112-3.0
enh: use learner in split vgroup
2024-01-05 14:26:27 +08:00
kailixu 1169fe357a feat: uniq grant 2024-01-05 00:53:38 +08:00
wangmm0220 bd64a78094 fix:[TD-28155] set consumer lost if all current topic is 0 2024-01-04 18:53:37 +08:00
dm chen 39f2e75a9e
Merge branch '3.0' into feat/TD-26529-3.0 2024-01-04 15:46:23 +08:00
Benguang Zhao b85f36bcea enh: allow to drop an empty dnode, no matter online or not 2024-01-04 12:00:49 +08:00
Benguang Zhao f4ad4ea998 enh: use learner in split vgroup 2024-01-04 10:01:05 +08:00
Haojun Liao 3fea717373 fix(stream): discard the orphan tasks. 2024-01-03 19:28:49 +08:00
Haojun Liao b06ccc0ca7 fix(stream): cleanup the checkpoint trans & task info in execInfo 2024-01-03 19:18:06 +08:00
Haojun Liao 185fa75376 enh(stream): add task into timer to be idle during exec when the corresponding output queue is full. 2024-01-03 17:59:42 +08:00
Haojun Liao 284ef7d085 fix(stream): remove the related checkpoint trans when trying to drop stream. 2024-01-03 14:44:04 +08:00
Benguang Zhao de5f9b351f enh: use learner in redistribute vgroup 2024-01-03 11:49:05 +08:00
Haojun Liao e7a0044502 Merge branch '3.0' into fix/3_liaohj 2024-01-02 13:02:55 +08:00
Haojun Liao 59642c674d
Merge pull request #24254 from taosdata/fix/TS-3491-3.0
fix:[TS-4391] rebalance cnt always 1 if msg lost
2024-01-02 10:34:41 +08:00
Haojun Liao 7abeb5a27a fix(stream): update the stream error code. 2023-12-29 17:44:10 +08:00
wangmm0220 d158ca74d8 fix:[TS-4391] rebalance cnt always 1 if msg lost 2023-12-29 17:22:27 +08:00
wangmm0220 c83989754f fix:[TS-4391] rebalance cnt always 1 if msg lost 2023-12-29 14:09:49 +08:00
wangmm0220 b58a23df49 fix:[TS-4391] rebalance cnt always 1 if msg lost 2023-12-29 13:57:13 +08:00
wangmm0220 10e86fc733 fix:[TS-4391] rebalance cnt always 1 if msg lost 2023-12-27 19:25:08 +08:00
54liuyao ccf861dec8 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/3_liaohj 2023-12-26 18:36:18 +08:00
wade zhang 1a215daefa
Merge pull request #24176 from taosdata/FIX/TD-27916-3.0
enh: demarcate top and bottom halves of task trans execution
2023-12-26 18:00:41 +08:00
Haojun Liao b74e98b25c fix(stream): set the correct split timestamp for session/state window. 2023-12-26 14:17:46 +08:00
Haojun Liao 62cfcefbb0 refactor: remove stream-scan-history event for stream task. 2023-12-26 00:34:04 +08:00
Benguang Zhao 7edfbf8023 fix: set commit log for mndAddCompactDetailToTran 2023-12-25 09:47:17 +08:00
Benguang Zhao 4f29500f74 fix: set commit log for mndDropSubByTopic 2023-12-25 09:46:55 +08:00
Haojun Liao 0877e0bfad other: merge 3.0 2023-12-25 09:13:31 +08:00
Haojun Liao b175a4b7b3 refactor(stream): async stop tasks, and do some internal refactor. 2023-12-22 17:56:16 +08:00
Benguang Zhao 2de6d6c81d enh: add TSDB_CODE_MND_TRANS_CTX_SWITCH 2023-12-22 16:06:59 +08:00
wangmm0220 902504b39b fix:partical func parameters for middle interval[checkStreamSTable1.sim] 2023-12-22 15:28:02 +08:00
Haojun Liao c9475060de fix(stream): fix race condition. 2023-12-22 09:34:49 +08:00
Haojun Liao 0fab9a1827 other: fix syntax error. 2023-12-22 00:29:49 +08:00
kailixu 3005ab1953 chore: more code 2023-12-21 19:45:09 +08:00
Haojun Liao 84583580e2 fix(stream): transfer the checkpoint trans id. 2023-12-21 19:12:49 +08:00
kailixu 47fedce263 chore: more code 2023-12-21 12:11:00 +08:00
Haojun Liao ad5d78a6ca fix(stream): fix deadlock. 2023-12-20 19:12:47 +08:00
Haojun Liao 64eee4bbd2 fix(stream): add conflict check for nodeUpdate 2023-12-20 19:06:32 +08:00
wangmm0220 dd0afef6f2 fix:set triggerParams=0 in mid interval 2023-12-20 11:00:25 +08:00
Benguang Zhao e06f355143 enh: improve logging msg of mndPostMgmtCode 2023-12-19 20:16:33 +08:00
Benguang Zhao f7ab8e99b5 enh: demarcate top and bottom halves of task trans execution to ensure a consistent order 2023-12-19 19:52:11 +08:00
Haojun Liao 92045f5485 fix(stream): add snode check, and handle the task status reset from checkpoint when it is in the snode. 2023-12-19 18:34:30 +08:00
wade zhang 8bbf03a695
Merge pull request #24116 from taosdata/fix/release-mem-check-3.0
release mem check
2023-12-19 18:13:53 +08:00
kailixu 1f5384ad40 feat: support uniq active code 2023-12-19 18:02:53 +08:00
wangmm0220 78c8ebae7f fix:remove useless code in split logic plan & random choose vnode in stream task & add test case 2023-12-19 16:35:04 +08:00
wangmm0220 81b5f59fa5 Merge branch 'feat/ly_multi_marks' of https://github.com/taosdata/TDengine into feat/ly_multi_marks 2023-12-19 10:54:12 +08:00
wangmm0220 3a0af1ea49 fix:aggCnt must bigger than 1 & move msg code to the end to be compatible with old version 2023-12-19 10:53:46 +08:00