Commit Graph

633 Commits

Author SHA1 Message Date
xiao77 81615362c3 format 2024-09-03 16:25:40 +08:00
xiao77 d3518fbc89 fix:TD-31587:Repeated insert performance degradation 2024-09-03 15:24:33 +08:00
lyh250-666 bae6186992 modify error code pass in commom/ and dnode/mgmt/ 2024-09-02 07:40:18 +00:00
Hongze Cheng 72bd7742b4 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-31538-6 2024-08-27 13:19:43 +08:00
Hongze Cheng 1db3bdb4df enh: deal with return codes 2024-08-27 09:32:48 +08:00
Hongze Cheng f4916211ca enh: clear more asserts 2024-08-26 16:56:48 +08:00
dmchen b85dba328c fix/TD-30849 2024-08-15 03:55:20 +00:00
Haojun Liao 0d8cda26cd fix(stream): reset the error code. 2024-08-12 10:53:25 +08:00
yihaoDeng 7779c8a75e refactor return error 2024-07-30 10:55:48 +08:00
yihaoDeng 00cc66eb15 refactor mgt 2024-07-29 19:41:44 +08:00
Hongze Cheng e8c24c236a
Merge pull request #26616 from taosdata/fix/addErrorToMgmt
Fix/addErrorToMgmt
2024-07-22 10:15:45 +08:00
dmchen 785cde757a fix/TS-4785 2024-07-19 02:27:52 +00:00
Yihao Deng 690c6e1cf1 Merge remote-tracking branch 'origin/3.0' into fix/addErrorToMgmt 2024-07-18 00:57:10 +00:00
Yihao Deng 640eada5b1 refactor error code 2024-07-16 10:01:09 +00:00
Hongze Cheng 64363627fe enh: refact tqueue code 2024-07-16 17:30:32 +08:00
dmchen 034c7b56ca fix/TS-4785 2024-07-11 05:33:56 +00:00
dmchen 98a6797a4d fix/TS-4785 2024-07-11 01:25:05 +00:00
dmchen b82bc71e34 fix/TS-4785 2024-07-11 00:37:06 +00:00
dmchen 3f7f6c15ab fix/TS-4785 2024-07-10 10:22:40 +00:00
Haojun Liao acde36a25b Merge branch '3.0' into fix/3_liaohj 2024-07-09 14:43:35 +08:00
Haojun Liao 647f9f47ef refactor: do some internal refactor. 2024-07-08 10:32:23 +08:00
Haojun Liao 8e6bb176c2 fix(stream): use trans to set the consensus-checkpoint id 2024-07-05 16:17:20 +08:00
kailixu 79f1e90743 fix: oom in rpc queue 2024-07-04 17:11:53 +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 11a98ffab2 QueryAutoQWorker 2024-07-01 11:08:39 +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
Minglei Jin 356f6645ad
Merge branch '3.0' into fix/TD-30545 2024-06-18 11:28:29 +08:00
Minglei Jin 4311309d51 clear wal files for fake leve 1 2024-06-12 15:52:39 +08:00
Minglei Jin 568799a6a3 fix(wal/level): enable alter replica from fake walLevel 1 2024-06-12 15:16:58 +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 be107b204c enh(stream): support retrieve checkpoint data remotely when start stream tasks in vnodes. 2024-05-28 09:54:22 +08:00
Haojun Liao 3baa4169e6 Merge branch '3.0' into fix/3_liaohj 2024-05-20 10:31:53 +08:00
Haojun Liao 56a1e7e01f
Merge pull request #25727 from taosdata/fix/xftan/TD-29988-3.0
fix: build fails on macOS and Windows
2024-05-13 09:44:19 +08:00
t_max f030af3aab fix: build fails on macOS and Windows 2024-05-11 14:59:05 +08:00
Haojun Liao 7f93ec2c53 fix(stream): update the checkpoint info for followers, and some internal refactor. 2024-05-11 09:37:02 +08:00
wangmm0220 5f6d3fcf7e fix:[TD-29893]avoid returning 0 if vnode init error 2024-05-06 10:09:53 +08:00
Jacob Su 195ace04b8 fix compile errors on macOS 14.4 m2 chip. 2024-04-23 14:21:14 +08:00
kailixu 74afb8deae chore: solve conflicts 2024-04-17 10:52:34 +08:00
wangjiaming0909 3d77e8432d support rm ttl tb 2024-04-16 14:23:26 +08:00
wangjiaming0909 e947a2fb0d catalog cache get stream progress 2024-04-16 14:18:10 +08:00
dmchen 9a99b8526d resolve conflict 2024-04-15 08:24:40 +00:00
kailixu 123090e18a fix: solve conflicts 2024-04-15 16:12:15 +08:00
dmchen f1d7d79c24 tdb break, try revert 2024-04-11 03:01:05 +00:00
dmchen e68ae8f756 tdb break, try remove 2024-04-10 08:54:01 +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
dmchen c43e937538 write config lock 2024-04-07 02:24:41 +00: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
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
dmchen b9deb71fc5 basic function 2024-03-29 02:48:49 +00:00
Shungang Li 3a656c3595 feat: support 2 replica with arbitrator 2024-03-19 09:30:35 +08:00
Haojun Liao 6bc12c8728 refactor: do some internal refactor. 2024-02-27 16:27:59 +08:00
Haojun Liao aee0460daf enh(stream):rsp the checkpoint ready msg. 2024-02-27 11:15:09 +08:00
Haojun Liao dafac591f7 enh(stream): add rsp for req-checkpoint 2024-02-27 10:53:25 +08:00
Haojun Liao b361eb4a7c fix(stream): add hb rsp handle function for vnode and snode. 2024-02-21 15:16:07 +08:00
Haojun Liao ac08f659c3 refactor: remove invalid procedure in fill-history. 2024-01-26 16:20:43 +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
Haojun Liao 58694c67dd refactor: do some internal refactor. 2024-01-11 11:50:52 +08:00
dmchen 348bef49ec message handle 2023-12-07 11:42:32 +00:00
wangmm0220 06e2fbfb1c fix:conflicts from 3.0 2023-11-27 17:53:53 +08:00
Haojun Liao d5e123db78
Merge pull request #23791 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2023-11-24 14:42:43 +08:00
wangmm0220 d249892b2a fix:conflicts from 3.0 2023-11-23 20:29:46 +08:00
Haojun Liao 0a90c33b4d fix(stream): drop the related fill-history task & set the task to be ready, if the drop fill-history task msg is missing due to the vnode restarting. 2023-11-23 15:49:07 +08:00
Benguang Zhao d35bf6186f enh: skip restoring a vnode of single replica in failed mode from vmProcessCreateVnodeReq 2023-11-23 13:16:37 +08:00
Benguang Zhao 8d70d023b9 enh: adjust a logging msg in vmRestoreVnodeInThread 2023-11-23 10:12:58 +08:00
Benguang Zhao 917246e236 fix: allow to drop a vnode in failed mode 2023-11-23 10:09:41 +08:00
Benguang Zhao 0a4fac7704 enh: not allow to acquire a vnode in failed mode from vmAcquireVnode 2023-11-23 09:48:42 +08:00
wangmm0220 cfab06239b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26060 2023-11-22 19:37:44 +08:00
wangmm0220 9a09e318ca opti:common message process logic in vnode and snode 2023-11-22 16:53:33 +08:00
facetosea 845493294d osfile 2023-11-21 16:31:31 +08:00
dmchen 1e50b11374 TD-27311 2023-11-15 01:31:51 +00:00
Benguang Zhao 73f1c55a47 fix: remove vnode obj from hash 2023-11-09 17:24:02 +08:00
Benguang Zhao b80770dea8 fix: close vnode in the failed mode properly in vmCloseVnode 2023-11-09 13:05:52 +08:00
kailixu c77153cb81 enh: use placeholder '-' for interval of 1st retention level 2023-10-30 14:02:31 +08:00
Benguang Zhao 959f8105ee enh: require command to trigger repairing vnodes on replaced disks 2023-10-19 18:55:12 +08:00
Benguang Zhao a95f6e6862 feat: support restore dnode with vnodes of replaced disks for primary dirs 2023-10-19 11:18:57 +08:00
Benguang Zhao 410ced8320 feat: use TLV format to encode data of snapshot info 2023-10-19 10:51:13 +08:00
Haojun Liao eb4449999f other: merge 3.0 2023-10-12 10:33:48 +08:00
Haojun Liao ee6516f3c4 enh(stream): add trans to reset task status to avoid being frozen in checkpoint status due to doing checkpoint failure of partial tasks. 2023-10-09 10:13:53 +08:00
Haojun Liao f2d8431619 fix(stream): enable new time range for stream task. 2023-09-28 18:26:52 +08:00
dapan1121 1088b80a46
Merge pull request #23062 from taosdata/enh/TD-25879-3.0x
enh: update dnode module
2023-09-27 16:18:38 +08:00
wade zhang f6134b42d7
Merge pull request #23036 from taosdata/feat/TS-4011-3.0
feat/TS-4011: adjust config 'keep_time_offset' level from dnode to db
2023-09-26 14:25:54 +08:00
Ping Xiao 4f23ea2a8c enh: dmodule logic 2023-09-26 11:47:53 +08:00
Shungang Li 743a5b0640 feat: add db config item keep_time_offset 2023-09-25 15:46:08 +08:00
kailixu 8f828e052b enh: timeseries calculation optimization 2023-09-22 20:07:51 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
yihaoDeng 20b037d9cc Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-28 10:46:00 +08:00
dapan1121 e24498b0fd enh: add task notify 2023-08-25 14:59:34 +08:00
yihaoDeng 9310d138a6 Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-24 17:30:35 +08:00
Haojun Liao 230d8c2d80 fix(stream): fix error in stream computing after vnode is transferred to other dnodes. 2023-08-23 17:50:44 +08:00
Haojun Liao af80d94a88 refactor: do some internal refactor. 2023-08-22 15:43:50 +08:00
Haojun Liao def0877980 fix(stream): add timer to check stream task status. 2023-08-22 10:46:49 +08:00
dm chen dda51d8019
Merge branch '3.0' into feat/TD-22970 2023-08-21 10:50:45 +08:00
yihaoDeng 6fe649c458 Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-21 09:12:40 +08:00
Minglei Jin 7b4bb72392 fix(vnode/destroy): delete objects 2023-08-18 16:38:26 +08:00
dmchen 4448e7d159 revert drop vnode 2023-08-17 11:57:17 +08:00
Haojun Liao ea6574b3c7 other: merge 3.0 2023-08-17 00:07:55 +08:00