Commit Graph

226 Commits

Author SHA1 Message Date
cadem 470fef6452 fix/block check to async check for mnode 2023-04-24 13:38:55 +08:00
cadem 3b78d4382b add learner 2023-04-18 19:03:45 +08:00
cadem 2495d0781d wrong field logging 2023-03-27 15:11:20 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
cadem 042d94215b feat/add topic total and stream total in monitor 2023-03-18 12:50:07 +08:00
Haojun Liao 22a85734c6 fix(mq): add more chek for balance couner to avoid the negative value emerges. 2023-03-05 13:23:50 +08:00
Benguang Zhao caaff5c546 enh: rotate wal of mnode properly 2023-03-01 10:02:33 +08:00
Hui Li 965d91572a
Merge pull request #20148 from taosdata/fix/3_coverity
fix(query): fix syntax errors on centos.
2023-02-24 17:39:12 +08:00
Xiaoyu Wang 67a94707b7
Merge pull request #20104 from taosdata/feat/3.0_wxy
enh: drop tables syntax optimization
2023-02-24 16:57:30 +08:00
Haojun Liao 22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
Xiaoyu Wang 618c934fb2 enh: drop tables syntax optimization 2023-02-22 15:16:16 +08:00
54liuyao 1d58f85a54 feat:coverity scan 2023-02-22 10:10:04 +08:00
yihaoDeng a929aa22d8 merge 3.0 2023-02-12 10:48:18 +08:00
yihaoDeng 58a761648f opt index 2023-02-04 22:09:24 +08:00
yihaoDeng a05eb4b110 refactor tag index 2023-02-03 22:19:01 +08:00
Shengliang Guan 3b475d4c0d fix: adjust some log while split 2023-02-03 14:40:19 +08:00
Shengliang Guan 9b98f547d1 fix: reset errorcode after check leader 2022-12-16 17:08:16 +08:00
Shengliang Guan 3b519172a3 refact: post sem in mnode while sync timeout 2022-12-14 10:30:47 +08:00
Shengliang Guan f623837b60 refact: adjust mnode timer 2022-12-14 09:14:54 +08:00
Shengliang Guan 9da398913e refact: post sem in mnode while sync timeout 2022-12-13 11:11:22 +08:00
Shengliang Guan d19103597c fix: should not check dnode status in follower 2022-12-12 20:52:18 +08:00
Shengliang Guan 13f36ec20a refact: remove TSDB_CODE_APP_NOT_READY and TSDB_CODE_NODE_NOT_DEPLOYED 2022-12-02 16:06:10 +08:00
Shengliang Guan db42ec46bf refact: adust error code while dnode startup 2022-12-02 10:05:52 +08:00
Shengliang Guan a366696478
Merge pull request #18596 from taosdata/feature/stream
refactor(stream): distributed checkpoint
2022-12-02 07:51:10 +08:00
Liu Jicong 3424b184d3 refactor(stream): distributed checkpoint 2022-12-02 03:48:45 +08:00
Shengliang Guan af58402afc
Merge pull request #18593 from taosdata/fix/TD-20798
enh: show leader ** if vnode can read and can't write
2022-12-01 15:08:46 +08:00
Minghao Li 86d5cba6be refactor(sync): delete code wait snapshot end in pre-close 2022-12-01 13:34:33 +08:00
Shengliang Guan 1e8a816155 enh: show leader ** if vnode can read and can't write 2022-11-30 21:42:42 +08:00
Shengliang Guan 5556fd0c45 enh: add sync offline state 2022-11-30 12:02:54 +08:00
Shengliang Guan 5ecbcb1054 fix: cannot close mnode while transferring snapshot 2022-11-30 11:07:14 +08:00
Shengliang Guan 82bc543ed7 fix: cannot close mnode while transferring snapshot 2022-11-30 11:05:25 +08:00
Shengliang Guan 232287a8b4 refact: adjust mnode log 2022-11-28 17:43:22 +08:00
Shengliang Guan 9c426540e7 fix: memory leaks while check mnode state 2022-11-18 20:15:13 +08:00
Shengliang Guan 0183fe6e73 fix: crash if db not exist while process status msg 2022-11-08 18:36:24 +08:00
Shengliang Guan 1dbb086045 enh: check vgroup status changes at regular intervals 2022-11-08 17:17:24 +08:00
Minghao Li 1a4b7622e4 enh(sync): add sync pre stop 2022-11-03 09:39:20 +08:00
Shengliang Guan 1c77d5381a Merge remote-tracking branch 'origin/3.0' into fix/TD-20052 2022-11-02 10:26:19 +08:00
Shengliang Guan 7a537bba09 refact: adjust sync.h and syncState 2022-11-02 10:24:55 +08:00
Shengliang Guan a2abb3a411
Merge pull request #17817 from taosdata/fix/msg_compat
fix: msg compatibility
2022-11-01 21:10:46 +08:00
Liu Jicong 411373a7c5 fix: msg compatibility 2022-11-01 20:02:17 +08:00
Shengliang Guan f4dc7d0766 enh: refact sync callback func 2022-11-01 15:35:10 +08:00
Shengliang Guan e79e50ae36 enh: refact syncMsg code 2022-11-01 13:58:25 +08:00
Shengliang Guan 392564cc7d enh: refact syncEnv code 2022-10-31 23:40:43 +08:00
Minghao Li 0b20b914bb refactor(sync): add sync local cmd 2022-10-31 14:17:26 +08:00
Shengliang Guan 24f31b0f72
Merge pull request #17746 from taosdata/feature/3.0_mhli
refactor(sync): adjust elect timer, add some tests
2022-10-29 17:02:19 +08:00
Liu Jicong 5abeacc299
Merge pull request #17711 from taosdata/feature/stream
refactor(mnode): remove unused code
2022-10-27 16:41:09 +08:00
Minghao Li bbb624b63e Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-10-27 16:22:08 +08:00
Minghao Li 7cb3112d77 refactor(sync): modify function name 2022-10-27 15:52:48 +08:00
Liu Jicong dcf2c980c5 refactor(mnode): remove unused code 2022-10-27 15:32:20 +08:00
Shengliang Guan e7693b89ce enh: balance vgroup 2022-10-27 14:37:21 +08:00
Minghao Li a35ad361d0 refacotr(sync): call syncBeginSnapshot instead of walBeginSnapshot 2022-10-20 18:01:43 +08:00
Minghao Li 5965629b2e refactor(sync): refacotr sync 2022-10-20 16:05:14 +08:00
Shengliang Guan 39e303b79b enh: show the restore status of vnode when show vgroups 2022-10-19 20:07:15 +08:00
Minghao Li 28a5a9d7e1 refactor(sync): add log, update quorum first when reconfig 2022-10-19 10:57:50 +08:00
Shengliang Guan 3a7d89a6bb refact: remove bnode codes 2022-10-18 17:34:58 +08:00
Minghao Li e810f2ad64 refactor(sync): delete old code, ok 2022-10-18 13:53:03 +08:00
Shengliang Guan f76261dcb5 fix: become leader if replica num is 1 2022-10-18 12:31:15 +08:00
Minghao Li 8a6eaed6f6 refactor(sync): delete some code 2022-10-17 17:36:51 +08:00
Minghao Li 94d8c09e58 refactor(sync): use new interface in mnode 2022-10-17 17:01:42 +08:00
Minghao Li 5745223bca refactor(sync): add double queues in mnode 2022-10-17 10:33:27 +08:00
Benguang Zhao 616eb5f903 Merge branch '3.0' into FIX/TD-19239-3.0 2022-10-16 00:29:01 +08:00
Benguang Zhao 36bf800e15 fix: improve fault tolerance on disk space full with error handling enhanced 2022-10-14 22:02:27 +08:00
Shengliang Guan 78fb1911d4 enh: refactor the code to create and delete mnodes 2022-10-14 17:59:09 +08:00
Shengliang Guan fe4c7dee7c fix: add logs 2022-10-10 14:45:49 +08:00
Shengliang Guan c6317e67f0 fix: coverity issues 2022-09-30 11:26:26 +08:00
Shengliang Guan 8198516b7e fix: compile error in windows 2022-09-27 10:27:25 +08:00
Shengliang Guan 1e5dc921e0 fix: set wal apply version on vnode reopen 2022-09-26 20:32:02 +08:00
Shengliang Guan dafde51767 fix: do not send ttl msg on taosd startup 2022-09-26 16:40:15 +08:00
Shengliang Guan fbf3641df7 fix: do not send ttl msg on taosd startup 2022-09-23 16:50:32 +08:00
Shengliang Guan 3810b5d4fa fix: add more info log for mnode 2022-09-23 15:42:36 +08:00
Shengliang Guan 91659c8c50 refactor: make uptimeInterval can be configured 2022-08-25 15:17:04 +08:00
Shengliang Guan fece844f58 Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-08-23 17:29:33 +08:00
Shengliang Guan b0263a4bea enh: increase startup time monitoring 2022-08-23 17:29:31 +08:00
Shengliang Guan 9c5a66439a fix: update telemetry and trans timer 2022-08-23 12:40:57 +08:00
Shengliang Guan 5257b77f94 fix: update telemetry and trans timer 2022-08-23 10:42:44 +08:00
Shengliang Guan aca3d91354 fix: update telemetry and trans timer 2022-08-23 09:36:38 +08:00
Minghao Li cd7d434ed8 refactor(sync): delete trace log 2022-08-01 15:50:51 +08:00
kailixu ef2b66b280 chore: more code 2023-07-21 06:56:24 +08:00
kailixu 7ff25d6895 chore: more code 2023-07-20 10:56:08 +08:00
kailixu a04ba65817 chore: more code 2023-07-19 15:30:14 +08:00
kailixu 7a76837c46 enh: expire time optimize 2023-07-13 17:50:27 +08:00
Cary Xu 5c76b49391 other: revert the definition 2022-07-16 15:11:50 +08:00
Cary Xu 66f3ed9020 other: make CI pass 2022-07-16 15:06:20 +08:00
Cary Xu 2e9e36d0f8 Merge branch '3.0' into feature/grant-3.0 2022-07-16 11:54:26 +08:00
Minghao Li 681993884f refactor(sync): add leader transfer callback 2022-07-15 14:55:33 +08:00
Minghao Li 95023fd56e refactor(sync): add leader transfer callback 2022-07-15 14:34:58 +08:00
Minghao Li 5b6c7bc38d refactor(sync): add leader transfer callback 2022-07-15 14:26:18 +08:00
Shengliang Guan f0b8386b63 refactor: adjust the name of stream automatically created by sma 2022-07-14 17:00:46 +08:00
Cary Xu 1175bda094 Merge branch '3.0' into feature/grant-3.0 2022-07-14 14:10:14 +08:00
Cary Xu 67a5f12ac0 Merge branch '3.0' into feature/grant-3.0 2022-07-13 19:56:03 +08:00
Shengliang Guan e9d4948e84 enh: transfer leader before close vnode and mnode 2022-07-12 14:46:52 +08:00
Cary Xu 85d7e46ff9 Merge branch '3.0' into feature/grant-3.0 2022-07-11 17:20:05 +08:00
Cary Xu 762ffd9cf3 feat: support get cluster create time 2022-07-11 17:19:54 +08:00
Shengliang Guan 080f30d014 feat: trim db 2022-07-11 15:16:10 +08:00
Cary Xu b22986ced0 feat: support grant 2022-07-06 20:46:41 +08:00
dapan1121 a3bf5b96c4 fix: fix query redirect issue 2022-07-06 20:33:23 +08:00
Minghao Li 88b0ab5458 fix(sync): release SyncNode ref 2022-07-05 17:32:51 +08:00
Minghao Li 6e59c13cbd refactor(sync): add sync strategy 2022-07-04 15:57:28 +08:00
Minghao Li ded4616074 refactor(sync): add sync strategy 2022-07-04 14:55:26 +08:00
yihaoDeng e389dcedc8 add query epset 2022-06-30 10:30:36 +08:00