Commit graph

121 commits

Author SHA1 Message Date
Shengliang Guan
a1c8db0f88 refact: adjust sync log 2022-11-07 17:35:24 +08:00
Minghao Li
102969086d refactor(sync): add local-cmd:follower-commit 2022-11-03 10:25:38 +08:00
Minghao Li
f7191d2ffd refactor(sync): add pre snapshot 2022-11-02 15:25:14 +08:00
Minghao Li
a8109b7f37 refactor(sync): delete some code 2022-10-27 14:43:07 +08:00
Minghao Li
8082b71cce fix(sync): free pLocalEntry 2022-10-24 18:05:14 +08:00
Shengliang Guan
71ac720ac0 fix: compile error in mac 2022-10-22 08:47:09 +08:00
Shengliang Guan
2d3f5274b7 fix: compile error in mac 2022-10-22 08:39:58 +08:00
Minghao Li
8bdec5f2f2 refactor(sync): delete standby 2022-10-21 11:53:14 +08:00
Minghao Li
357951e947 refactor(sync): modify some code 2022-10-19 16:08:42 +08:00
Minghao Li
1b36ad119c refactor(sync): rename functions 2022-10-18 15:24:00 +08:00
Minghao Li
e810f2ad64 refactor(sync): delete old code, ok 2022-10-18 13:53:03 +08:00
Minghao Li
092a07475d refactor(sync): process hb and appendentries 2022-10-17 16:38:44 +08:00
Minghao Li
fa30b94c67 refactor(sync): append entries 2022-10-16 12:07:02 +08:00
Minghao Li
4d123c4da6 refactor(sync): add interface in sync 2022-10-14 11:18:48 +08:00
Minghao Li
2ca5bdc708 refactor(sync): add syncNodeDynamicQuorum 2022-08-17 15:39:38 +08:00
Minghao Li
2f1bf1eba9 refactor(sync): make leader life longer 2022-08-06 21:41:03 +08:00
Minghao Li
f83ca89ea2 refactor(sync): make leader life longer 2022-08-06 19:40:10 +08:00
Minghao Li
27d72283bc refactor(sync): make leader life longer 2022-08-05 16:45:21 +08:00
Minghao Li
998e24474c refactor(sync): change wal fsync flag to false 2022-08-03 19:15:07 +08:00
Minghao Li
2885767a93 refactor(sync): delete speed up2 2022-07-30 11:14:45 +08:00
Minghao Li
43e2f8bc2b refactor(sync): add pre-commit interface 2022-07-26 10:59:56 +08:00
Minghao Li
ac51192084 refactor(sync): add trace log 2022-07-21 13:54:24 +08:00
Minghao Li
7808fdfccb refactor(sync): add trace log 2022-07-20 17:19:42 +08:00
Minghao Li
c2b348bec5 refactor(sync): add trace log 2022-07-20 15:34:09 +08:00
Minghao Li
6f29fd4020 fix(sync): snapshot begin index 2022-07-16 15:34:22 +08:00
Minghao Li
681993884f refactor(sync): add leader transfer callback 2022-07-15 14:55:33 +08:00
Shengliang Guan
a5e8ddbc56 refactor: adjust logs 2022-07-08 18:00:19 +08:00
Minghao Li
1ee5468411 fix(sync): append entries batch 2022-07-08 14:47:00 +08:00
Minghao Li
1c3c270307 fix(sync): snapshot strategy wal first 2022-07-07 17:00:01 +08:00
Minghao Li
83b639ae8f refactor(sync): persist batch size 2022-07-06 14:58:38 +08:00
Minghao Li
856806bb22 refactor(sync): add snapshot2 interface 2022-07-04 13:33:49 +08:00
Minghao Li
086ec29ca0 refactor(sync): add SyncClientRequestBatch 2022-07-02 14:41:54 +08:00
Minghao Li
d4ab134645 refactor(sync): add snapshot2 interface 2022-07-01 17:30:52 +08:00
Minghao Li
4f39cd31b0 refactor(sync): add snapshot2 interface 2022-07-01 09:50:20 +08:00
Minghao Li
41f24314d0 refactor(sync): add SYNC_TERM_INVALID 2022-06-29 15:44:30 +08:00
Minghao Li
0df1415caf refactor(sync): add trace log 2022-06-25 11:30:34 +08:00
Minghao Li
3d9ffc42e8 refactor(sync): refactor wal abstraction 2022-06-23 21:16:16 +08:00
Minghao Li
f140a5ad1b refactor(sync): add trace log 2022-06-23 16:57:18 +08:00
Minghao Li
4fdc62a27f refactor(sync): delete fake match branch 2022-06-23 16:32:06 +08:00
Minghao Li
ca4d7329ce refactor(sync): modify wal error log 2022-06-23 14:07:18 +08:00
Minghao Li
9786ba2fbe fix(sync): update nextindex, matchindex when backto nolog 2022-06-23 10:10:57 +08:00
Minghao Li
ecc43b6697 refactor(sync): delete some assert 2022-06-21 16:02:36 +08:00
Minghao Li
5968c6353f refactor(sync): get snapshot and create reader 2022-06-20 10:58:59 +08:00
Minghao Li
b247762931 refactor(sync) refactor trace log 2022-06-18 15:17:58 +08:00
Shengliang Guan
ab2f268601 Merge branch 'fix/tsim' into fix/dnode 2022-06-17 14:53:04 +08:00
Shengliang Guan
43f8f34b0f refactor: adjust logs 2022-06-17 14:24:17 +08:00
Minghao Li
9ab28e0b88 refactor(sync): add last config index in fsm cbMeta 2022-06-17 14:05:52 +08:00
Minghao Li
d71027ac35 fix(sync): fake match2, need truncate log 2022-06-16 20:43:49 +08:00
Minghao Li
b42c963a5f fix(sync): fake match when prevLogIndex less than commitIndex 2022-06-16 20:08:27 +08:00
Minghao Li
d3f6f07902 fix(sync): fake match when prevLogIndex less than commitIndex 2022-06-16 19:40:08 +08:00