Commit Graph

1144 Commits

Author SHA1 Message Date
dmchen e47968340d fix drop db 2024-06-26 09:40:17 +00:00
Haojun Liao a44e17d5ea fix(stream): enable to re-send hbmsg if mnode failed to recv this hbmsg. 2024-06-26 15:21:14 +08:00
Haojun Liao 1818edcb2b fix(stream): consensus the start checkpoint id, and extract the streamhb related functions into a new file. 2024-06-26 10:18:32 +08:00
wangmm0220 e517db6462 fix:add db configuration that not reportted 2024-06-24 19:19:46 +08:00
Yihao Deng 4e1ea52d07 fix invalid ip white 2024-06-21 23:56:11 +00:00
kailixu 73a9470286 Merge branch '3.0' into enh/TS-5043-3.0 2024-06-21 14:05:58 +08:00
kailixu 606b9cfcb0 fix: error process for oom 2024-06-20 15:38:22 +08:00
Yihao Deng 7000d597fc Fix the issue of dynamically adjusting the IP whitelist. 2024-06-20 03:23:27 +00:00
kailixu 7c429e5799 enh: support display unlimited for expiration time 2024-06-19 14:25:17 +08:00
kailixu c3abd9d554 enh: support display unlimited for expiration time 2024-06-19 09:38:55 +08:00
kailixu 0ef8d3510a fix: use unsigned type for union bit operation 2024-06-14 15:46:11 +08:00
dapan1121 d21e2f52de
Merge pull request #26054 from taosdata/fix/TD-30365
fix:[TD-30365] ci case error & drop topic error if vnode is splitted
2024-06-13 09:55:34 +08:00
Haojun Liao 623a73f57b
Merge pull request #26089 from taosdata/fix/3_liaohj
fix(stream): init the node list and task list when starting mnode.
2024-06-12 11:34:10 +08:00
Haojun Liao dc2497791a fix(stream): accept invalid vgroup id error code when handling the update checkpoint info. 2024-06-12 10:11:55 +08:00
wangmm0220 70db803aec fix:[TD-30365] ci case error & drop topic error if vnode is splitted 2024-06-11 17:24:29 +08:00
Haojun Liao 00eb621825 fix(stream): do scan checkpoint-report in write queue. 2024-06-11 14:09:50 +08:00
Haojun Liao cbf8b363fc fix(stream): update checkpoint info by using trans. 2024-06-10 00:46:01 +08:00
Haojun Liao d0675a660e fix(stream): init the node list and task list when starting mnode. 2024-06-07 17:53:53 +08:00
kailixu 054cb9b64a Merge branch '3.0' into enh/TS-3737-3.0 2024-06-07 14:09:23 +08:00
Haojun Liao 34205ba62c refactor: do some internal refactor. 2024-06-07 10:09:40 +08:00
Haojun Liao 88e77d6bc6 fix(stream): remove expired stream in buf. 2024-06-06 23:54:48 +08:00
kailixu 8dc092936d enh: user permission for balance vgroup leader 2024-06-05 17:10:41 +08:00
kailixu c89f06eaf3 chore: adjust test case 2024-06-05 14:56:47 +08:00
Haojun Liao 29648be30d fix(stream): add the new node info when adding stream tasks. 2024-06-04 23:28:08 +08:00
kailixu 4ae8aeb909 Merge branch '3.0' into enh/TS-3737-3.0 2024-05-31 15:48:19 +08:00
Haojun Liao bef1953b24
Merge branch '3.0' into fix/3_liaohj 2024-05-31 14:27:46 +08:00
Haojun Liao ee4e4c0e6d refactor: do some internal refactor. 2024-05-31 09:17:20 +08:00
Haojun Liao becc4cb368 enh(stream): limit the concurrent started checkpoint tasks. 2024-05-29 19:29:26 +08:00
Shungang Li 4c47626baf fix: arb distinguish between isSync and acked 2024-05-28 16:29:42 +08:00
kailixu 0ef202a56b enh: createdb permission for users 2024-05-22 19:00:47 +08:00
Shungang Li 307ddc632f enh: batch update arbgroup in trans 2024-05-22 10:44:46 +08:00
yinheli e86444100c
chore(typo): fix typo 2024-05-13 17:40:27 +08:00
Benguang Zhao 10e9d79201 refact: rename STrans redoActionPos to actionPos 2024-04-23 16:44:05 +08:00
dm chen 1196ea72da
Merge branch '3.0' into feat/TD-24834 2024-04-17 17:13:29 +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
wangjiaming0909 de1c28d623 tsma avoid fetching tsma for no tsma tables 2024-04-16 14:25:34 +08:00
wangjiaming0909 a8e00f7410 drop tb in transaction 2024-04-16 14:23:26 +08:00
wangjiaming0909 c3e73d9168 fix recursive tsma 2024-04-16 14:18:10 +08:00
wangjiaming0909 ef47fd57d6 support tsma catalog cache 2024-04-16 14:14:34 +08:00
Yihao Deng ea9385912f Merge branch '3.0' into feat/compress_3.0 2024-04-15 09:06:30 +00:00
kailixu 123090e18a fix: solve conflicts 2024-04-15 16:12:15 +08:00
yihaoDeng a02426fd2f Merge branch '3.0' into feature/compressData 2024-04-10 09:03:50 +00: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
kailixu b4c8375cb9 chore: solve conflicts 2024-04-07 14:53:05 +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
kailixu 9e4d692d6b feat: support encryption 2024-04-01 00:49:25 +08:00
yihaoDeng 0cce8df6b5 Merge branch '3.0' into feature/compressData 2024-03-30 02:00:24 +00:00
kailixu 9d59fb53f4 feat: support create encrypt key 2024-03-29 11:37:40 +08:00
factosea 9ddc0b51cb merge 2024-03-29 10:37:59 +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
kailixu d64594932b feat: support database encryption 2024-03-27 20:03:38 +08: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
Benguang Zhao 85ccba0fab enh: support changeless transaction of tasks 2024-03-22 15:37:53 +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
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
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 d0df927dfa feat: arb add version in sarbgroup 2024-03-19 09:31:05 +08:00
Shungang Li 3a656c3595 feat: support 2 replica with arbitrator 2024-03-19 09:30:35 +08:00
kailixu 0b15e3415d enh: machine id persistence 2024-03-18 18:06:18 +08:00
yihaoDeng fe10867547 Merge branch '3.0' into feature/compressData 2024-03-14 03:19:39 +00:00
wangmm0220 4dfc531e6c opti:subscribe logic 2024-03-12 19:42:26 +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
yihaoDeng e084ee9d22 compress impl 2024-03-01 06:19:37 +00:00
Haojun Liao dafac591f7 enh(stream): add rsp for req-checkpoint 2024-02-27 10:53:25 +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
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
wangmm0220 6e13e4aa63 fix:add excluded msg for meta in tmq 2024-02-22 10:58:32 +08:00
Haojun Liao 03bc2d7c6d test(stream): add unit test cases. 2024-02-20 10:27:02 +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
wangmm0220 a8e45440c0 fix:conflicts from 3.0 2024-02-18 18:02:14 +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
Haojun Liao 3533f7ecea Merge branch '3.0' into fix/3_liaohj 2024-02-05 09:23:29 +08:00
Haojun Liao 739485a419 test(stream): add unit test case for the mnode stream module. 2024-02-05 09:10:04 +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 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
kailixu 1e9c963e02 feat: support uniq grant 2024-01-31 17:22:57 +08: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 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
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 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
Haojun Liao 11c9c7d936 refactor: do some internal refactor. 2024-01-30 09:17:02 +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 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
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 9b3b03caab refactor: do some internal refactor. 2024-01-26 10:22:16 +08:00
Haojun Liao bd1d1cddaf refactor: do some internal refactor. 2024-01-26 10:03:54 +08:00
Haojun Liao d4bab8c09b refactor: do some internal refactor. 2024-01-25 16:53:30 +08:00
wangmm0220 2798ff824c feat:[TD-28247]add grant for subscribe and stream 2024-01-25 16:07:09 +08:00
kailixu 4d345b819a feat: support uniq grant 2024-01-24 19:08:19 +08: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 b7ea583f3a feat: support uniq grant 2024-01-19 17:01:19 +08:00
kailixu 5d6703c3ef feat: support uniq grant 2024-01-19 14:59:02 +08:00
kailixu 99c493dc5c feat: support uniq grant 2024-01-18 19:40:41 +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
kailixu 76558da849 feat: support uniq grant 2024-01-18 15:23:38 +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
kailixu ddefc5f46a chore: merge 3.0 2024-01-11 20:05:23 +08:00
Haojun Liao 5f7ce21530 refactor: do some internal refactor. 2024-01-11 11:59:29 +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
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
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 84583580e2 fix(stream): transfer the checkpoint trans id. 2023-12-21 19:12:49 +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
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
kailixu 70006bb711 feat: support alter cluster 2023-12-18 16:34:31 +08:00
kailixu 9fa90fc953 Merge branch '3.0' into feat/TD-27463-3.0 2023-12-18 14:20:10 +08:00
Haojun Liao 0526e619ad
Merge pull request #24095 from taosdata/fix/3_liaohj
fix(tsdb): add desc check for clean file block.
2023-12-16 18:10:15 +08:00
Haojun Liao f9a5485d52 fix(stream): refactor the stream trans conflict detection strategy. 2023-12-16 01:46:29 +08:00
dmchen 606a6fe891 field encode 2023-12-14 03:24:53 +00:00
kailixu 4adce7ed52 feat: support uniq grant 2023-12-07 14:11:41 +08:00
kailixu b015077120 feat: support uniq grant 2023-12-06 19:13:54 +08:00
Hongze Cheng 04e84ba152 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4229 2023-12-06 16:43:00 +08:00
kailixu 67fd9993b0 feat: support uniq grant 2023-12-06 15:30:26 +08:00
kailixu 042291c35b feat: support machine id 2023-12-01 18:15:47 +08:00
dapan1121 32030ca130
Merge pull request #23886 from taosdata/revert-23730-enh/TD-26976-3.0
Revert "enh:  grant and active codes"
2023-11-30 19:04:50 +08:00
Cary Xu f96044e09f
Revert "enh: grant and active codes" 2023-11-30 13:39:54 +08:00
yihaoDeng 5c32680cd8 Merge branch '3.0' into enh/refactorBackend 2023-11-30 10:31:27 +08:00
Haojun Liao 788194c748 fix(stream): fix deadlock. 2023-11-24 22:53:55 +08:00
dmchen bbbdec5db7 update progress 2023-11-23 07:36:33 +00:00
dmchen 4e1a355052 mnode for compact 2023-11-23 04:43:28 +00:00
Haojun Liao 7b1f586d4f
Merge pull request #23762 from taosdata/fix/3_liaohj
fix(stream): fix error in generating token in bucket.
2023-11-23 09:32:14 +08:00
Haojun Liao 91e7000433 Merge branch 'enh/refactorBackend' of github.com:taosdata/tdengine into enh/refactorBackend 2023-11-22 15:29:31 +08:00
Haojun Liao c96f7cf182 fix(stream): scheduler the checkpoint generating. 2023-11-22 15:17:21 +08:00
yihaoDeng 0eba15b4a4 Merge branch '3.0' into enh/refactorBackend 2023-11-22 10:57:41 +08:00
Haojun Liao 43e6722fd8 refactor: refactor the stream trans conflict check 2023-11-22 08:38:32 +08:00
kailixu 14a2be8ed2 enh: adjust test case 2023-11-17 08:41:47 +08:00
kailixu 63a17295a7 enh: support spread active codes 2023-11-16 20:09:56 +08:00
kailixu 50126e4425 enh: support spread active codes 2023-11-16 19:52:05 +08:00
kailixu 188a4ce6a5 enh: the latest active code take effect 2023-11-15 16:33:05 +08:00
yihaoDeng 08e3448498 add seq 2023-11-08 19:54:57 +08:00
dapan1121 dbbceae061 fix: union all view issue 2023-10-24 11:29:04 +08:00
dapan1121 42f440b0fb Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-20 08:46:32 +08:00
dapan1121 afe963a9d1 enh: support view privilege 2023-10-19 08:31:31 +08:00
wangmm0220 473142fab7 fix:conflicts from 3.0 2023-10-16 11:35:56 +08:00
dapan1121 a0699d758c Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-13 16:51:38 +08:00
dapan1121 c0a4328803 feat: support view meta updating 2023-10-13 16:29:34 +08:00
dapan1121 7c67f23469 feat: update view meta 2023-10-12 19:56:17 +08:00
Haojun Liao eb4449999f other: merge 3.0 2023-10-12 10:33:48 +08:00
dapan1121 d229492616 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-09 18:34:08 +08:00
dapan1121 6c8db261f3 feat: support show views command 2023-10-09 17:19:36 +08:00
wangmm0220 b04d57fcc3 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26056 2023-10-08 16:15:19 +08:00
wangmm0220 3f2d890560 feat:[TD-26056] add replay logic 2023-10-08 16:06:15 +08:00
dapan1121 deb9a6875b feat: mnode processing view meta request 2023-10-07 10:40:00 +08:00
dapan1121 0a0f512023 feat: add view meta processing 2023-09-28 11:44:38 +08:00
yihaoDeng 48be800639 fix ip white for all users 2023-09-27 15:46:25 +08:00
Shungang Li 743a5b0640 feat: add db config item keep_time_offset 2023-09-25 15:46:08 +08:00
dapan1121 a67b0c99fc feat: support create/drop view 2023-09-21 19:28:07 +08:00
wangmm0220 d3f54e678f feat:support vnode split in tmq 2023-09-20 18:27:43 +08:00
dapan1121 6b87d97989 feat: support view in mnode 2023-09-20 15:01:03 +08:00
dapan1121 b9d554275c Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-09-19 14:21:00 +08:00
dapan1121 14e8db289d feat: support view 2023-09-19 14:19:54 +08:00
yihaoDeng e7815229ca update test case 2023-09-13 19:54:45 +08:00
shenglian zhou d5f1662bf5 enh: enterprise version and community version split 2023-09-12 14:35:01 +08:00
yihaoDeng f29880fee3 add rpc update interface 2023-09-12 11:31:06 +08:00
yihaoDeng d9eed32167 add rpc update interface 2023-09-12 09:54:13 +08:00
yihaoDeng 0a8b1ebe46 add rpc update interface 2023-09-11 21:02:50 +08:00
yihaoDeng 39d04ed15b add rpc update interface 2023-09-11 20:48:24 +08:00
dmchen a8e538a563 fix/TD-26210 2023-09-11 14:38:36 +08:00
yihaoDeng 56706193eb add rpc update interface 2023-09-08 11:49:12 +08:00
yihaoDeng 27e3ee8f1d add rpc update interface 2023-09-07 21:10:05 +08:00
yihaoDeng 60d6a622e1 add rpc update interface 2023-09-07 20:47:10 +08:00
wangmm0220 842bb5742a fix:[TS-3922]rollback because cases failed & avoid atomic_store_64 core if parameters not aligned by 8 2023-09-07 19:26:33 +08:00
wangmm0220 c4898bffd8 fix:[TS-3922] make SStreamObj->->currentTick aligned by 8 2023-09-07 15:23:00 +08:00
yihaoDeng 147de26eec add rpc update interface 2023-09-07 11:54:34 +08:00
yihaoDeng ac8220012c add rpc update interface 2023-09-06 17:22:30 +08:00
yihaoDeng 6257bf1e10 add rpc update interface 2023-09-05 12:03:23 +08:00
yihaoDeng 685bdea44a add rpc update interface 2023-09-04 21:15:46 +08:00
yihaoDeng 5f78c27535 add enable white list 2023-09-01 15:11:25 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
yihaoDeng 05ca71d5de stream change ver 2023-08-31 09:28:43 +08:00
Haojun Liao 24b1a050fc other: merge 3.0 2023-08-30 16:00:14 +08:00
dapan1121 f6321d0c4f Merge remote-tracking branch 'origin/main' into fix/m23.1 2023-08-30 11:03:33 +08:00
wangmm0220 047707fa17 fix:error in privilege 2023-08-25 17:56:17 +08:00
yihaoDeng 9310d138a6 Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-24 17:30:35 +08:00
wangmm0220 49216ffa54 fix:transaction in tmq 2023-08-24 16:32:15 +08:00
dm chen b899a8b7df
Merge branch '3.0' into feat/TD-22970 2023-08-22 10:12:30 +08:00
yihaoDeng 1531e2d7d3 Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-22 09:51:38 +08:00
Benguang Zhao f30d1ebacd enh: refactor func name as mndTransAppendPrepareLog 2023-08-18 18:35:44 +08:00