Commit Graph

201 Commits

Author SHA1 Message Date
dmchen a01e55adcd fix/retry-epset-inuse 2024-11-29 17:07:45 +08:00
dmchen e57a914f00 ehn/add-sync-msg-statisd 2024-11-15 16:34:04 +08:00
kailixu c2d28a208e chore: code optimization 2024-09-12 11:18:10 +08:00
Kaili Xu d1cb30c473
chore: restore header file 2024-09-12 10:47:49 +08:00
kailixu d9a25b31fe fix: compile problem 2024-09-12 08:32:59 +08:00
kailixu 15c92cea3f fix: compile problem 2024-09-12 07:11:26 +08:00
kailixu e3121c24eb fix: compile problem 2024-09-12 06:38:15 +08:00
kailixu 2a13aa08e1 fix: oom with large msg 2024-09-11 14:23:47 +08:00
Haojun Liao 94f596c4ce refactor: remove the invalid return value. 2024-07-16 18:52:01 +08:00
Shungang Li 3a656c3595 feat: support 2 replica with arbitrator 2024-03-19 09:30:35 +08:00
Benguang Zhao e34da43e38 feat: support pipelining of snap replication 2023-10-23 19:32:44 +08:00
Benguang Zhao eb4e2aa58f feat: restore incomplete fsm state with maxVerValid via snapshot replication 2023-10-19 11:04:36 +08:00
dm chen 5b03ab1705
Merge branch '3.0' into feat/TD-22970 2023-08-03 17:43:51 +08:00
Shungang Li 167ecea705 fix: check term for role time
1. time of mnode becomes current role in this term
2. show 0 for offline mnodes
2023-07-27 14:16:54 +08:00
dmchen 7d480cf3ac compatible old sync config 2023-07-21 10:31:53 +08:00
dmchen 3711fdd865 feat/TD-22970 2023-07-18 16:09:38 +08:00
cadem 3b78d4382b add learner 2023-04-18 19:03:45 +08:00
Benguang Zhao 99bfc95d54 fix: synchronize access to raftStore 2023-02-13 19:00:10 +08:00
Shengliang Guan 2aeda3a941 enh: refact raft store file 2023-01-09 12:01:36 +08:00
Shengliang Guan 7e5d97f0da fix: stop snapshot receiver on sync post close 2023-01-05 12:00:35 +08:00
Shengliang Guan c2323db00d fix: allow the ip resolved by fqdn different between dnodes 2022-12-30 17:04:14 +08:00
Shengliang Guan 668a26c1b0 enh: handle error while transfer snapshot 2022-12-26 15:03:18 +08:00
Shengliang Guan d674c8370b refact: update sync log 2022-12-20 21:30:46 +08:00
Shengliang Guan 2b256542a5 refact: add vnode timer 2022-12-14 09:14:40 +08:00
Shengliang Guan fe759c85f3 Merge remote-tracking branch 'origin/3.0' into FIX/TD-19334-3.0 2022-12-01 15:04:55 +08:00
Benguang Zhao 55bae49d56 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-30 23:47:30 +08:00
Minghao Li f0fdc58c52 refactor(sync): help to display leader** 2022-11-30 20:56:58 +08:00
Minghao Li a8832e8814 refactor(sync): modify info log 2022-11-30 11:20:03 +08:00
Minghao Li f87b9fa7fe refactor(sync): add interface syncSnapshotSending, syncSnapshotRecving 2022-11-29 19:41:03 +08:00
Benguang Zhao 470441c541 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-29 18:24:01 +08:00
Minghao Li ebe1103964 refactor(sync): add trace log for elect count, become leader count, config change count 2022-11-29 14:39:42 +08:00
Benguang Zhao dc2dcea3de Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-28 14:27:10 +08:00
Minghao Li 4a25963732 refactor(sync): optimized heartbeat timer 2022-11-26 10:46:57 +08:00
Minghao Li 93efefcbfc refactor(sync): add trace log 2022-11-25 18:19:25 +08:00
Benguang Zhao 68f8ebac9d Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-25 13:10:06 +08:00
Minghao Li 862a51e6ee refactor(sync): add timestamp trace log when elect and heartbeat 2022-11-24 12:03:05 +08:00
Minghao Li 2b411912d9 refactor(sync): can not propose when heartbeat timeout 2022-11-23 14:17:13 +08:00
Benguang Zhao 4526ff2876 enh: add syncLogBuffer.h and syncLogBuffer.c 2022-11-17 23:37:02 +08:00
Benguang Zhao 051b73c1ed Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-17 17:28:11 +08:00
Minghao Li effc38d217 fix(sync): fix asan error, use rid in hbdata and syncnode 2022-11-17 14:51:32 +08:00
Minghao Li 4c912aa955 fix(sync): fix hb-timer memory leak 2022-11-16 14:28:20 +08:00
Benguang Zhao 3e13cd8280 fix: check if timer triggered ahead of time in syncNodeElect 2022-11-16 14:26:18 +08:00
Minghao Li 81592dfb09 fix(sync): fix hb-timer memory leak 2022-11-16 14:25:21 +08:00
Minghao Li 7bcd13e82a fix(sync): fix elect timer memory leak 2022-11-16 14:05:34 +08:00
Shengliang Guan 3ada61c346 restore some invalid code modify 2022-11-16 11:13:53 +08:00
Minghao Li 7d63efd2af refactor(sync): optimize, make LRU Cache hit more 2022-11-15 19:24:43 +08:00
Minghao Li c5aa7e072d refactor(sync): optimize, make LRU Cache hit more 2022-11-15 19:17:28 +08:00
Minghao Li 9e8404f60a refactor(sync): adjust timer 2022-11-15 17:50:15 +08:00
Benguang Zhao bf634a840d enh: check lastVer and commit version during syncNodeOpen 2022-11-15 17:13:31 +08:00
Shengliang Guan a57efc49b4 fix: memory leak of sync timer 2022-11-15 13:43:30 +08:00