Commit graph

93 commits

Author SHA1 Message Date
Minghao Li
87dd0fc168 refactor(sync): delete ASSERT(0) in snapshotReceiverFinish 2022-09-01 10:54:02 +08:00
Minghao Li
8da7950282 refactor(sync): close receiver when become leader 2022-08-22 15:40:28 +08:00
Minghao Li
cedad48a73 refactor(sync): add ref in log entry 2022-07-25 17:47:15 +08:00
Minghao Li
11b473fe9e refactor(sync): add trace log 2022-07-20 11:56:46 +08:00
Minghao Li
fdf7930702 refactor(sync): add index/term in snapshot write 2022-07-16 18:09:36 +08:00
Minghao Li
2dd7abd47e refactor(sync): add vnode snapshot case 2022-07-11 10:34:02 +08:00
Shengliang Guan
6bb8a9ad8a refactor: adjust logs 2022-07-08 19:41:23 +08:00
Shengliang Guan
a5e8ddbc56 refactor: adjust logs 2022-07-08 18:00:19 +08:00
Minghao Li
78efbaabe1 refactor(sync): add syncGetSnapshotByIndex 2022-07-06 15:16:52 +08:00
Minghao Li
88b0ab5458 fix(sync): release SyncNode ref 2022-07-05 17:32:51 +08:00
Minghao Li
e8160342c3 refactor(sync): snapshot sender, receiver 2022-07-05 14:38:44 +08:00
Minghao Li
a5d3b7033a refactor(sync): add snapshot writer param 2022-07-04 14:18:06 +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
1a8cf049b7 refactor(sync): add syncAppendEntriesBatch 2022-06-30 13:39:13 +08:00
Minghao Li
18b78f2450 refactor(sync): add return code restore from snapshot 2022-06-29 14:50:59 +08:00
Minghao Li
4bd650609d refactor(sync): delete old functions 2022-06-29 14:02:40 +08:00
Minghao Li
aded474d5b refactor(sync): adjust trace log 2022-06-28 16:19:15 +08:00
Minghao Li
33d1440e7b refactor(sync): adjust trace log 2022-06-28 14:23:45 +08:00
Minghao Li
4c410bd5ec refactor(sync): refactor snapshot code 2022-06-28 11:33:14 +08:00
Minghao Li
2647ec21e0 refactor(sync): add comments in snapshot 2022-06-27 20:23:08 +08:00
Minghao Li
6eecbcd1a6 refactor(sync): optimized one replica 2022-06-26 01:16:11 +08:00
Minghao Li
3d9ffc42e8 refactor(sync): refactor wal abstraction 2022-06-23 21:16:16 +08:00
Minghao Li
13c916f5cb fix(sync): update lcindex to -1, when get error 2022-06-22 19:48:36 +08:00
Minghao Li
0ba3326b99 fix(sync): update commit index when apply snapshot 2022-06-22 10:35:39 +08:00
Minghao Li
1f0d7807ac fix(sync): sender get config from local 2022-06-21 19:27:52 +08:00
Minghao Li
0fb64add90 refactor(sync) add trace log 2022-06-21 15:09:23 +08:00
Minghao Li
3573ae1564 refactor(sync): block when changing 2022-06-20 20:07:36 +08:00
Minghao Li
e441bd266b refactor(sync): add changing state 2022-06-20 17:48:56 +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
db4e02c7c7 fix: add log to debug mnode sync 2022-06-17 15:23:17 +08:00
Shengliang Guan
43f8f34b0f refactor: adjust logs 2022-06-17 14:24:17 +08:00
Minghao Li
f5db109e61 fix(sync): get last max snapshot index 2022-06-17 11:37:10 +08:00
Minghao Li
3fdd0c30ac refactor(sync): add trace log 2022-06-16 19:08:44 +08:00
Minghao Li
46c09f2c84 refactor(sync): add trace log 2022-06-16 18:08:01 +08:00
Minghao Li
15ac89590c refactor(sync): add trace log 2022-06-16 17:41:01 +08:00
Minghao Li
9a9200d28b refactor(sync): add restore finish when become leader again 2022-06-16 15:38:40 +08:00
Minghao Li
77b03ac821 refactor(sync): add restore finish when become leader again 2022-06-16 14:40:42 +08:00
Minghao Li
58051169d2 refactor(sync): add trace log 2022-06-16 10:54:13 +08:00
Minghao Li
5268b5233a refactor(sync): update replica index in snapshot sender 2022-06-14 14:40:06 +08:00
Minghao Li
9cd54c5cc9 refactor(sync): update replica index in snapshot sender 2022-06-14 11:16:32 +08:00
Minghao Li
3887e940f1 fix(sync): when receive snapshot rsp from a dropped replica 2022-06-14 10:24:05 +08:00
Shengliang Guan
be3de7b7df fix(sync): send snapshot to multi nodes at the same time 2022-06-13 22:20:53 +08:00
Minghao Li
6a4cdadef6 refactor(sync): add debug log 2022-06-11 21:56:44 +08:00
Minghao Li
104a1bb59b fix(sync): snapshot overwrite config change 2022-06-11 16:11:18 +08:00
Minghao Li
dffbec29c7 refactor(sync): add last config index z 2022-06-11 15:31:49 +08:00
Minghao Li
fa54663871 refactor(sync): add last config index 2022-06-11 13:52:17 +08:00
Minghao Li
6586f78599 refactor(sync): add last config index 2022-06-11 12:44:58 +08:00
Minghao Li
e9d466ec82 refactor(sync) delete some trace log 2022-06-10 16:51:17 +08:00