Commit Graph

1144 Commits

Author SHA1 Message Date
Shungang Li bb25893d0e enh: rm ASSERT in mndArbGroup.c/geosWrapper.c/geomFuncTestUtil.cpp 2024-08-23 14:55:58 +08:00
yihaoDeng d3ea7ad6d1 change QID log 2024-08-22 10:08:26 +08:00
Haojun Liao 7c44227048
Merge pull request #27263 from taosdata/fix/3_liaohj
fix(stream): delay to load the stream task.
2024-08-16 09:11:30 +08:00
Haojun Liao 868898d11c fix(stream): delay to load the stream task. 2024-08-16 00:28:49 +08:00
Haojun Liao e9cf8471ef
Merge pull request #27260 from taosdata/fix/3_liaohj
fix(stream): perform node update when mnode leader/follower switches.
2024-08-16 00:27:42 +08:00
Haojun Liao 54fdea3173 fix(stream): perform node update when mnode leader/follower switches. 2024-08-15 18:01:28 +08:00
dapan1121 9f47f8467d
Merge pull request #27087 from taosdata/feat/TS-5156
opti:[TS-5156]add user/fqdn in show consumers/subscriptions
2024-08-15 11:33:27 +08:00
Haojun Liao eb029395a2 fix(stream): init exec when mnd become leader. 2024-08-14 00:38:15 +08:00
wangmm0220 9e018e8e58 fix:[TS-5156]add user/fqdn in show consumers 2024-08-09 14:28:58 +08:00
Haojun Liao 6fc8c7bd4e
Merge pull request #26619 from taosdata/fix/3_liaohj
fix(stream): adjust the time to free task backend.
2024-08-09 09:09:21 +08:00
Haojun Liao dfa74f82d7 fix(stream): avoid repeat send checkpoint-report msg. 2024-08-09 00:40:05 +08:00
wangmm0220 d5b990e4ed fix:[TS-5156]add user in show consumers 2024-08-08 16:38:11 +08:00
wangmm0220 9ee22b17a1 fix:[TD-TD-31308] error code if topic not exist 2024-08-08 09:46:00 +08:00
Haojun Liao bb7efb7423 Merge branch '3.0' into fix/3_liaohj 2024-08-07 10:21:53 +08:00
dapan1121 b6a7049e75
Merge pull request #27021 from taosdata/fix/TD-31115
fix:[TD-31115] add consumer check when drop topic or group in tmq
2024-08-07 09:42:12 +08:00
wangmm0220 555df05e48 fix:[TD-31115] add consumer check when drop topic or group in tmq 2024-08-06 19:27:42 +08:00
dmchen 0bff078c95 fix/TD-30742 2024-08-02 04:46:30 +00:00
Haojun Liao aefb9d275e fix(stream): add ts in HbMsg. 2024-08-01 15:22:37 +08:00
Haojun Liao b8416370b4 Merge branch '3.0' into fix/3_liaohj 2024-08-01 11:24:07 +08:00
Haojun Liao 6ba428fbf8 other: merge 3.0. 2024-08-01 11:15:49 +08:00
dapan1121 7d82036903
Merge pull request #26522 from taosdata/feat/TS-4592
feat:[TS-4592]remove lost status for consumer
2024-08-01 10:26:10 +08:00
Haojun Liao 52b3e1be6f fix(stream): drop orphan tasks/reset task in trans done by write-queue. 2024-07-31 14:08:22 +08:00
wangmm0220 ce3d60ed20 feat:[TS-4592]remove lost status for consumer 2024-07-29 23:57:28 +08:00
kailixu 50c2fc567c chore: merge 3.0 2024-07-24 12:05:01 +08:00
WANG MINGMING 535755266d
Merge branch '3.0' into opti/TD-31017 2024-07-23 19:44:06 +08:00
kailixu 66dda35f75 Merge branch '3.0' into enh/TD-30988-3.0 2024-07-23 18:06:44 +08:00
Haojun Liao ad96333336 fix(stream): discard the processed hbmsg in the mnode. 2024-07-23 17:16:40 +08:00
kailixu 2ddf03fd74 enh: return error code 2024-07-23 00:43:33 +08:00
wangmm0220 862a40afa0 fix:[TD-31017]process return value in mnode for tmq 2024-07-22 17:30:49 +08:00
kailixu b337fa628b enh: return error code 2024-07-22 15:29:37 +08:00
Haojun Liao be162fb62f fix(stream): check return value. 2024-07-22 13:31:57 +08:00
Haojun Liao ebe1d09d74 fix(stream): check return value. 2024-07-22 10:07:18 +08:00
kailixu 98a1145091 enh: return error code 2024-07-21 23:45:59 +08:00
kailixu b2c60945d7 enh: return error code 2024-07-19 18:10:43 +08:00
kailixu 1547b7ba88 enh: return with code 2024-07-17 17:57:14 +08:00
wangmm0220 f90fd21142 fix:[TS-4592]merge conflicts 2024-07-11 15:04:07 +08:00
wangmm0220 4ef2c39649 fix:[TS-4592]remove lost status 2024-07-11 14:56:25 +08:00
wangmm0220 b28437aaba feat:[TS-4592] clear lost status for consumer 2024-07-10 18:42:20 +08:00
Haojun Liao acde36a25b Merge branch '3.0' into fix/3_liaohj 2024-07-09 14:43:35 +08:00
Haojun Liao ce4153b6fc fix(stream): use hb to send the consens-checkpointid req. 2024-07-08 09:05:33 +08:00
Haojun Liao 8e6bb176c2 fix(stream): use trans to set the consensus-checkpoint id 2024-07-05 16:17:20 +08:00
Haojun Liao 653f7a1a43 fix(stream): refactor the checkpoint consensus policy. 2024-07-04 13:55:50 +08:00
Haojun Liao 8bacca6644
Merge pull request #26381 from taosdata/fix/3_liaohj
fix(stream): set the initial checkpointId for a new created stream.
2024-07-02 22:40:49 +08:00
Haojun Liao c73a003ee3 fix(stream): set the initial checkpointId for a new created stream. 2024-07-02 19:13:20 +08:00
Haojun Liao 420b59fea5
Merge pull request #26344 from taosdata/fix/3_liaohj
fix(stream): validate the stream hb msg, and discard the invalid hb msg.
2024-07-02 09:07:31 +08:00
wangjiaming0909 5040ff5bd9 mnode/qnode support QueryAutoQWorkerPool 2024-07-01 11:08:40 +08:00
Haojun Liao 025437df0c fix(stream): fix error in checkpoint consensus. 2024-06-27 19:25:18 +08:00
Haojun Liao 48bf5eb4d8 other: merge 3.0 2024-06-27 19:23:06 +08:00
Hongze Cheng 38caccb097
Merge pull request #26300 from taosdata/fix/TD-30768-3.0
fix/TD-30768
2024-06-27 18:01:26 +08:00
wangmm0220 d4b31cfd8e fix:[TS-4921] errors in test 2024-06-26 18:32:09 +08:00
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