Commit Graph

13677 Commits

Author SHA1 Message Date
Benguang Zhao 871c898920 enh: change redo log of trans compact-db as prepare log 2024-02-27 17:05:36 +08:00
Haojun Liao 6bc12c8728 refactor: do some internal refactor. 2024-02-27 16:27:59 +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
Haojun Liao d05c55f3fe fix(stream): update the msg struct. 2024-02-27 12:59:08 +08:00
Haojun Liao de1c67f773 fix(stream): rsp the checkpoint ready msg. 2024-02-27 12:57:43 +08:00
Haojun Liao 402a43bf67 fix(stream): disable halt. 2024-02-27 11:25:32 +08:00
Haojun Liao 80d027da19 fix(stream): restore from the crash. 2024-02-27 11:22:58 +08:00
Haojun Liao aee0460daf enh(stream):rsp the checkpoint ready msg. 2024-02-27 11:15:09 +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
Hongze Cheng 793ee02cbc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-27 09:56:25 +08:00
Hongze Cheng 2c1f978fd2 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-27 09:26:37 +08:00
Haojun Liao 81a1eac87a fix(stream): add some logs. 2024-02-26 22:49:38 +08:00
Benguang Zhao bbe6fe02d2 enh: use optimistic locking to protect snapshot reader open against vnode commit 2024-02-26 20:21:53 +08:00
Hongze Cheng 048f8ee7c5
Merge pull request #24879 from taosdata/fix/TD-28765
fix(meta/table): remove cache table dropping
2024-02-26 18:03:51 +08:00
Hongze Cheng 98eeef9d07 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-26 16:40:05 +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
Hongze Cheng 200b5dc09e
Merge pull request #24862 from taosdata/fix/TD-28376-3.0a
fix: user sysinfo
2024-02-26 13:09:31 +08:00
Minglei Jin 323938df36 fix(meta/table): remove cache table dropping 2024-02-26 12:29:33 +08:00
Hongze Cheng 8a669d3adc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-26 10:48:14 +08:00
Haojun Liao 6e891b0145 fix(stream): add into buffer before start the create stream trans. 2024-02-26 10:22:34 +08:00
kailixu 4afd45992a fix: sysinfo of dnode variables 2024-02-26 09:30:33 +08:00
Haojun Liao d167dcb678
Merge pull request #24861 from taosdata/fix/nullcheck
fix(stream): fix the invalid check for subtable name.
2024-02-25 23:34:30 +08:00
Haojun Liao 59ad27fcae other(stream): comment some logs. 2024-02-24 22:50:17 +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
Haojun Liao bb31b0c121 fix(stream): add logs. 2024-02-24 02:08:49 +08:00
Haojun Liao 2800454c35 Merge branch '3.0' into fix/nullcheck 2024-02-24 01:46:15 +08:00
Haojun Liao df2488431e fix(stream): add logs. 2024-02-24 00:40:26 +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 78da82784c more code 2024-02-23 17:27:03 +08:00
Hongze Cheng 0b8b64feb4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-23 15:17:39 +08: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
Hongze Cheng a6423b7816 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-23 14:47:10 +08:00
Hongze Cheng aaa36b580e more code 2024-02-23 14:44:46 +08:00
Benguang Zhao e4fa687100 enh: adjust code format in logging msg of mndTransSync 2024-02-23 14:42:52 +08:00
Hongze Cheng 20cd0d08bb
Merge pull request #24842 from taosdata/fix/TD-28765
fix(vnd/query): not release reader if not initialized
2024-02-23 14:32:34 +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
Minglei Jin e80ac5a4a6 fix(vnd/query): not release reader if not initialized 2024-02-23 10:14:59 +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 da0265ddde fix(tsdb): set correct error code info extract method. 2024-02-22 15:52:47 +08:00
Haojun Liao 7c8eb21ee5 fix(stream): halt the correct task. 2024-02-22 15:01:04 +08:00
dmchen 607971b514 uptime unit 2024-02-22 06:54:06 +00: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
Hongze Cheng 665cc2c2c4 more code change 2024-02-22 10:13:35 +08:00
Haojun Liao dbd3b4e2b9 test: remove print info. 2024-02-22 10:02:25 +08:00
dmchen ee84e2d75e uptime unit 2024-02-22 02:00:33 +00:00
Haojun Liao 045a30035f test(stream): init lock. 2024-02-22 09:52:47 +08:00
Hongze Cheng a9e3ca41a9 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-22 09:39:48 +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
Hongze Cheng ccd65fd495 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-21 19:26:31 +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 6f8a54f27b fix(stream): free dummy rsp msg. 2024-02-21 16:27:52 +08:00
Haojun Liao 8740c3cb4a fix(stream): send hb rsp explicitly. 2024-02-21 16:17:06 +08:00
dmchen 606aa61c4f remove errors and delete 2024-02-21 08:06:45 +00:00
wangmm0220 2049fa688a fix:add log 2024-02-21 16:01:02 +08:00
Hongze Cheng b0b71bc3c2 more code 2024-02-21 15:21:46 +08:00
Haojun Liao b361eb4a7c fix(stream): add hb rsp handle function for vnode and snode. 2024-02-21 15:16:07 +08:00
Hongze Cheng 4b71031014 more code 2024-02-21 14:29:10 +08:00
Hongze Cheng b7b9c02694 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-21 13:18:56 +08:00
slzhou 87c8f1aa82 Merge branch '3.0' of github.com:taosdata/TDengine into feat/TS-4243-3.0 2024-02-21 13:09:36 +08:00
dmchen c55e9b1877 insert user empty 2024-02-21 04:12:45 +00:00
Haojun Liao d6f5ae226b refactor: do some internal refactor. 2024-02-21 09:42:23 +08:00
kailixu c7932675ce enh: get machine id 2024-02-21 09:07:38 +08:00
Hongze Cheng fca1c077fe
Merge pull request #24790 from taosdata/fix/TD-28329
fix(tsdb/cache): remove unused block index cache
2024-02-21 09:03:54 +08:00
dapan1121 97452c666c
Merge pull request #24788 from taosdata/fix/TD-28666
fix:stream load error
2024-02-20 17:38:15 +08:00
kailixu b2ad162a8b enh: remove obsolete codes 2024-02-20 17:13:58 +08:00
Minglei Jin efd2bc6bac fix(tsdb/cache): remove unused block index cache 2024-02-20 17:12:55 +08:00
Hongze Cheng 6cdef62f92
Merge pull request #24772 from taosdata/fix/TD-28539-3.0
fix: invalid memory access during meta snapshot transfer
2024-02-20 17:01:46 +08:00
Hongze Cheng 261d38d4a7
Merge pull request #24710 from taosdata/fix/TD-24422-2
enh(tsdb/cache): flag empty table when creating
2024-02-20 16:17:18 +08:00
wangmm0220 22b1db5191 fix:stream load error 2024-02-20 14:49:52 +08:00
Hongze Cheng cb0a5b4725 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-28539-3.0 2024-02-20 14:20:48 +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
Alex Duan 2eb33b6ee6
Merge pull request #24759 from taosdata/coverage/TD-28602-3.0
coverage: add schUtil.c and schedulerTest
2024-02-20 09:14:03 +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
Haojun Liao f95fb4f27e
Merge pull request #24763 from taosdata/fix/crash_stream
refactor: do some internal refactor.
2024-02-20 08:50:12 +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
Haojun Liao 931b9f0b51 other: merge 3.0 2024-02-19 18:27:18 +08:00
kailixu 5b69e22e9b fix: grant check for streams 2024-02-19 16:29:40 +08:00
Alex Duan ba306043bb Merge branch '3.0' into coverage/TD-28602-3.0 2024-02-19 16:06:57 +08:00
Haojun Liao bf242a4f64 fix(stream): handle pause event in waiting list. 2024-02-19 15:57:21 +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
Haojun Liao a3b04c3c58 fix(stream): set the processVer for streamTask when initializing the task object. 2024-02-19 14:50:09 +08:00
Hongze Cheng ad0c91e6c3 fix: invalid memory access during meta snapshot transfer 2024-02-19 14:06:45 +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
Haojun Liao d3e8adf2eb enh(stream): async handle pause event 2024-02-19 13:36:57 +08:00
Haojun Liao 7e866c5527 refactor: do some internal refactor. 2024-02-19 11:32:04 +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
Haojun Liao cf571e4f1f refactor: do some internal refactor. 2024-02-19 09:52:22 +08:00
Hongze Cheng 45684e49c7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-19 09:08:58 +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
Alex Duan 6dec22c1c2 coverage: add tglobal.c 2024-02-18 20:51:49 +08:00
Alex Duan b3a6fa9c12 coverage: add explain.c 2024-02-18 19:36:35 +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 245f0ef806 fix(stream): fix deadlock. 2024-02-18 17:05:00 +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
Haojun Liao 472020a2b9 enh(stream): handle event async function. 2024-02-18 14:07:15 +08:00
Hongze Cheng 8f1fa68994 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4478-3.0 2024-02-18 10:53:51 +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 52ed1ec5f7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-18 09:52:53 +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
Alex Duan f5e0563891 coverage: tsdbCache.c 2024-02-17 12:12:37 +08:00
Alex Duan 8852beb2cc coverage: tsdbUtil.c 2024-02-16 15:17:15 +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
wangmm0220 871ebfa7ba Merge branch '3.0' of https://github.com/taosdata/TDengine into mark/3.0 2024-02-06 14:02:46 +08: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
wangmm0220 5796f411e4 Merge branch 'mark/3.0' of https://github.com/taosdata/TDengine into mark/3.0 2024-02-05 17:08:05 +08:00
wangmm0220 a656d75ca7 opti:consume data excluded from some source 2024-02-05 17:07:50 +08:00
54liuyao c588770699 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-05 15:10:34 +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
wade zhang 0ebd7d2527
Merge pull request #24737 from taosdata/feat/TD-27463-3.0
feat: support uniq grant
2024-02-05 10:32:34 +08:00
54liuyao b16fc7d9df Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-05 10:15:59 +08:00
dmchen 16aef66260 ci case fail 2024-02-05 01:34:20 +00:00
Haojun Liao 3533f7ecea Merge branch '3.0' into fix/3_liaohj 2024-02-05 09:23:29 +08:00