Commit graph

48 commits

Author SHA1 Message Date
cadem
3b78d4382b add learner 2023-04-18 19:03:45 +08:00
Benguang Zhao
e350f71396 enh: reset elect timer at the end of callbacks 2023-03-14 19:45:31 +08:00
Benguang Zhao
99bfc95d54 fix: synchronize access to raftStore 2023-02-13 19:00:10 +08:00
Benguang Zhao
d611793537 enh: remove unused old routines in sync 2023-01-18 10:07:16 +08:00
Shengliang Guan
2aeda3a941 enh: refact raft store file 2023-01-09 12:01:36 +08:00
Shengliang Guan
c2323db00d fix: allow the ip resolved by fqdn different between dnodes 2022-12-30 17:04:14 +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
Shengliang Guan
4940080a1c refact: adjust sync log prints 2022-11-13 18:00:11 +08:00
Shengliang Guan
8cca68f29d enh: adjust request vote msg 2022-11-12 12:58:08 +08:00
Shengliang Guan
fd152f00ec refact: adjust head file and sync log 2022-11-11 14:35:16 +08:00
Shengliang Guan
b4f8e45401 refact: adjust head file and sync log 2022-11-11 14:25:24 +08:00
Shengliang Guan
4baafd3417 refact: adjust sync log 2022-11-07 18:44:29 +08:00
Shengliang Guan
a1c8db0f88 refact: adjust sync log 2022-11-07 17:35:24 +08:00
Minghao Li
5965629b2e refactor(sync): refacotr sync 2022-10-20 16:05:14 +08:00
Minghao Li
49c19e13f2 refactor(sync): rename function 2022-10-18 14:16:39 +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
94ba0f47f0 refactor(sync): stop elect when not candidate 2022-10-17 20:20:55 +08:00
Minghao Li
797d1324c5 refactor(sync): request vote 2022-10-15 09:28:55 +08:00
Minghao Li
7808fdfccb refactor(sync): add trace log 2022-07-20 17:19:42 +08:00
Minghao Li
54be75ff13 refactor(sync): add trace log 2022-07-20 11:18:43 +08:00
Minghao Li
322bbc493e refactor(sync): add trace log 2022-07-20 11:09:54 +08:00
Minghao Li
991d6fd8a1 refactor(sync): add trace log 2022-07-19 17:20:59 +08:00
Shengliang Guan
de644c7d43 refactor: adjust logs 2022-07-08 18:33:52 +08:00
Shengliang Guan
a5e8ddbc56 refactor: adjust logs 2022-07-08 18:00:19 +08:00
Minghao Li
cd4bc6e30b refactor(sync): snapshot strategy 2022-07-06 11:12:45 +08:00
Minghao Li
c3b2b98454 refactor(sync): delete some asserts 2022-06-29 19:18:15 +08:00
Minghao Li
8060108585 refactor(sync): add trace log 2022-06-24 13:50:23 +08:00
Minghao Li
ecc43b6697 refactor(sync): delete some assert 2022-06-21 16:02:36 +08:00
Minghao Li
af27303a4c enh(sync): update raft core functions 2022-06-06 16:02:25 +08:00
Minghao Li
ba212ce396 enh(sync): syncNodeRequestVotePeersSnapshot 2022-05-31 17:37:57 +08:00
Minghao Li
d6c57bd372 enh(sync): add snapshotEnable2 2022-05-30 13:14:48 +08:00
Minghao Li
bdc9acbf2e enh(sync): add snapshotEnable 2022-05-30 12:26:15 +08:00
Minghao Li
7066274cc7 add sync format code 2022-04-18 21:50:56 +08:00
Minghao Li
90478b8742 sync refactor 2022-03-16 15:24:11 +08:00
Minghao Li
f7cd75544c sync raft store 2022-03-16 15:09:56 +08:00
Minghao Li
f924c1b879 sync index 2022-03-14 20:43:35 +08:00
Minghao Li
7c868aea85 sync index 2022-03-14 18:44:53 +08:00
Minghao Li
2ae6f747f9 sync refactor 2022-03-08 17:07:29 +08:00
Minghao Li
ffe442301c sync refactor 2022-03-08 14:19:50 +08:00
Minghao Li
586f9035f0 sync refactor 2022-03-07 16:29:21 +08:00
Minghao Li
25af19bd24 sync refactor 2022-03-07 16:06:07 +08:00
Minghao Li
a0319ae49b sync refactor 2022-03-07 14:42:04 +08:00
Minghao Li
8d789bba31 sync enq 2022-03-04 15:48:09 +08:00
Minghao Li
b55cf2bc7e add sync code 2022-02-27 02:24:50 +08:00
Minghao Li
e8780cebed add sync code 2022-02-26 18:30:58 +08:00
Minghao Li
296d9abe2a add sync code 2022-02-25 15:34:24 +08:00
Minghao Li
be375fa143 add sync code 2022-02-22 11:28:15 +08:00