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 |
Minghao Li
|
736862541e
|
fix(sync): restart with config change
|
2022-06-10 15:19:11 +08:00 |
Minghao Li
|
89e2c2d47a
|
fix(sync): update sender when become leader
|
2022-06-09 11:00:28 +08:00 |
Minghao Li
|
e070657778
|
refactor(sync): add syncGetSnapshotMeta
|
2022-06-08 23:20:07 +08:00 |
Minghao Li
|
29b97fa0ad
|
refactor(sync): syncNodeOnAppendEntriesReplySnapshotCb
|
2022-06-08 19:53:07 +08:00 |
Minghao Li
|
aa107d03c3
|
refactor(sync): SSyncSnapshotReceiver
|
2022-06-08 18:17:17 +08:00 |
Minghao Li
|
76185e1742
|
refactor(sync): SSyncSnapshotSender
|
2022-06-08 18:07:50 +08:00 |
Minghao Li
|
d72d2d698c
|
refactor(sync): SyncAppendEntries
|
2022-06-08 17:44:32 +08:00 |
Minghao Li
|
77cd6f44f4
|
refactor(sync): syncUtilJson2Line
|
2022-06-08 11:25:24 +08:00 |
Minghao Li
|
2547e8d02e
|
refactor: sync index
|
2022-06-08 11:03:28 +08:00 |
Minghao Li
|
eba8f2b543
|
fix(sync) send snapshot multi-times
|
2022-06-07 19:20:05 +08:00 |
Minghao Li
|
31b54e7462
|
enh(sync): add privateTerm into SyncSnapshotRsp, SyncSnapshotSend, SSyncSnapshotReceiver
|
2022-06-07 18:33:06 +08:00 |
Minghao Li
|
7852188394
|
enh(sync): add privateTerm into SSyncSnapshotSender, SyncAppendEntries, SyncAppendEntriesReply
|
2022-06-07 16:49:07 +08:00 |
Minghao Li
|
305f4a8580
|
enh(sync): add term into index mgr
|
2022-06-07 16:33:37 +08:00 |
Minghao Li
|
326714a077
|
fix(sync): snapshot maybe change when sending
|
2022-06-07 14:35:20 +08:00 |
Minghao Li
|
a89e455267
|
fix(sync): delete some assert temporary
|
2022-06-07 09:55:18 +08:00 |
Minghao Li
|
6b329f791b
|
enh(sync): update raft core functions
|
2022-06-06 16:35:44 +08:00 |
Minghao Li
|
af27303a4c
|
enh(sync): update raft core functions
|
2022-06-06 16:02:25 +08:00 |
Minghao Li
|
5009b7822f
|
enh(sync): add log index manager
|
2022-06-06 11:24:25 +08:00 |
Minghao Li
|
5908631ec3
|
enh(sync): add log store2
|
2022-06-05 19:47:54 +08:00 |
Minghao Li
|
eea343c5a6
|
enh(sync): add syncTestTool
|
2022-06-04 11:25:03 +08:00 |
Minghao Li
|
44994201b6
|
fix(sync): sending snapshot
|
2022-06-02 19:47:06 +08:00 |
Minghao Li
|
d04c12713a
|
fix: send snapshot
|
2022-06-02 11:36:26 +08:00 |
Minghao Li
|
757a1248dc
|
fix: send snapshot
|
2022-06-01 21:23:39 +08:00 |
Minghao Li
|
13b336d569
|
add snapshot test
|
2022-06-01 15:03:01 +08:00 |
Minghao Li
|
060f8224f4
|
refactor: snapshotReSend
|
2022-06-01 13:32:52 +08:00 |
Minghao Li
|
71c57d7769
|
refactor: sender code
|
2022-06-01 11:28:33 +08:00 |
Minghao Li
|
9988e85f85
|
add test sender, receiver
|
2022-05-31 21:31:07 +08:00 |
Minghao Li
|
21191ae2a8
|
enh(sync): add SSyncSnapshotReceiver
|
2022-05-31 16:48:47 +08:00 |
Minghao Li
|
6d8733a232
|
enh(sync): add SSyncSnapshotSender
|
2022-05-31 16:14:19 +08:00 |
Minghao Li
|
b9e4543a40
|
enh(sync): add SyncSnapshotRsp SyncSnapshotSend
|
2022-05-30 21:21:51 +08:00 |
Minghao Li
|
6be4119fe7
|
add syncNodeIsIndexInSnapshot syncNodeGetLastIndexTerm syncNodeGetPreIndexTerm
|
2022-05-30 18:45:09 +08:00 |
Minghao Li
|
79ae770a0b
|
enh(sync): add snapshotEnable2
|
2022-05-30 17:31:55 +08:00 |
Minghao Li
|
43c383dcbc
|
enh(sync): add snapshotEnable2
|
2022-05-30 17:19:31 +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
|
cd2e8fe730
|
enh(sync): add SSnapshot callback: reader, writer
|
2022-05-29 07:15:29 +08:00 |
Minghao Li
|
b10f8e4aa2
|
fix(sync) raftCfgPersist
|
2022-05-27 21:32:28 +08:00 |
Minghao Li
|
3a1be0c58a
|
refactor: make logStore static
|
2022-05-27 18:00:09 +08:00 |
Minghao Li
|
5a754023f5
|
refactor: make logStore static
|
2022-05-27 16:36:44 +08:00 |
Minghao Li
|
5471792549
|
refactor: make logStoreGetLastEntry static
|
2022-05-27 16:13:02 +08:00 |
Minghao Li
|
b7be03898c
|
enh(sync) snapshot sender, receiver
|
2022-05-27 15:35:26 +08:00 |
Minghao Li
|
8141c430bc
|
enh(sync) snapshot sender, receiver
|
2022-05-27 15:09:17 +08:00 |
Minghao Li
|
4e1aa6b5c5
|
refactor: config change
|
2022-05-26 14:21:24 +08:00 |
Minghao Li
|
8c5f6b6849
|
fix(sync): persist isStandby
|
2022-05-25 18:32:34 +08:00 |
Minghao Li
|
cb20717ce6
|
refactor: votesRespondUpdate
|
2022-05-24 20:23:11 +08:00 |
Minghao Li
|
aa1de8b34a
|
enh(sync): add FpSnapshotRead FpSnapshotApply
|
2022-05-24 14:46:22 +08:00 |
Minghao Li
|
1d7bdbc351
|
fix(sync) sync/mnode integration dead lock
|
2022-05-23 21:37:13 +08:00 |