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 |
Minghao Li
|
736862541e
|
fix(sync): restart with config change
|
2022-06-10 15:19:11 +08:00 |
Minghao Li
|
9a61a567c5
|
refactor(sync): set gRaftDetailLog false
|
2022-06-09 16:32:37 +08:00 |
Minghao Li
|
ee32302101
|
refactor(sync): add detail log flag
|
2022-06-09 14:14:45 +08:00 |
Minghao Li
|
4f7dc62433
|
refactor(sync): add detail log flag
|
2022-06-09 12:56:52 +08:00 |
Minghao Li
|
61cc736ca0
|
fix(sync): create db core due to snapshot
|
2022-06-08 23:08:40 +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
|
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
|
326714a077
|
fix(sync): snapshot maybe change when sending
|
2022-06-07 14:35:20 +08:00 |
Minghao Li
|
2071c5a74e
|
fix(sync): sending snapshot
|
2022-06-06 20:02:27 +08:00 |
Minghao Li
|
0d7272a369
|
fix(sync): sending snapshot
|
2022-06-06 18:23:37 +08:00 |
Minghao Li
|
6b329f791b
|
enh(sync): update raft core functions
|
2022-06-06 16:35:44 +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
|
ac90f61b63
|
fix(sync): wal write from middle
|
2022-06-02 13:53:19 +08:00 |
Minghao Li
|
d04c12713a
|
fix: send snapshot
|
2022-06-02 11:36:26 +08:00 |
Minghao Li
|
c3bf3cc97c
|
fix: send snapshot
|
2022-06-01 21:57:30 +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
|
4453ebab3a
|
add snapshot recv log
|
2022-06-01 14:40:20 +08:00 |
Minghao Li
|
c706c6d0ce
|
add snapshot recv log
|
2022-06-01 14:35:20 +08:00 |
Minghao Li
|
295caad7c1
|
refactor: add snapshot send log
|
2022-06-01 14:12:11 +08:00 |
Minghao Li
|
56253aedc9
|
refactor: snapshotReSend
|
2022-06-01 13:40:43 +08:00 |
Minghao Li
|
5f0d23426d
|
refactor: snapshotReSend
|
2022-06-01 13:35:23 +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
|
ee9cdb2967
|
enh(sync): syncNodeOnSnapshotSendCb, syncNodeOnSnapshotRspCb
|
2022-05-31 17:23:36 +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
|
43c383dcbc
|
enh(sync): add snapshotEnable2
|
2022-05-30 17:19:31 +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
|
fa7f441f42
|
sync refactor
|
2022-03-09 15:07:43 +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 |