Minghao Li
|
3d9ffc42e8
|
refactor(sync): refactor wal abstraction
|
2022-06-23 21:16:16 +08:00 |
Minghao Li
|
9786ba2fbe
|
fix(sync): update nextindex, matchindex when backto nolog
|
2022-06-23 10:10:57 +08:00 |
Minghao Li
|
2f2715aca4
|
fix(sync): save saveErr
|
2022-06-22 20:23:49 +08:00 |
Minghao Li
|
363c98e9ed
|
refactor(sync): abstract for log store
|
2022-06-21 17:45:08 +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
|
9ab28e0b88
|
refactor(sync): add last config index in fsm cbMeta
|
2022-06-17 14:05:52 +08:00 |
Minghao Li
|
f5db109e61
|
fix(sync): get last max snapshot index
|
2022-06-17 11:37:10 +08:00 |
Minghao Li
|
2f81a41f98
|
refactor(sync): add syncIsReady
|
2022-06-16 16:16: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
|
4b18bd718e
|
refactor(sync): adjust errno
|
2022-06-15 16:14:17 +08:00 |
Minghao Li
|
f47a28fe8a
|
enh(sync): add leader transfer
|
2022-06-13 15:47:43 +08:00 |
Minghao Li
|
aad288ab17
|
refactor(sync): add debug log
|
2022-06-12 15:21:56 +08:00 |
Minghao Li
|
6586f78599
|
refactor(sync): add last config index
|
2022-06-11 12:44:58 +08:00 |
Minghao Li
|
972fee7fbc
|
refactor(sync): add rpcMsg to reconfig callback
|
2022-06-10 17:39:30 +08:00 |
Minghao Li
|
e070657778
|
refactor(sync): add syncGetSnapshotMeta
|
2022-06-08 23:20:07 +08:00 |
Minghao Li
|
d72d2d698c
|
refactor(sync): SyncAppendEntries
|
2022-06-08 17:44:32 +08:00 |
Minghao Li
|
84a67e850e
|
fix(sync): sending snapshot
|
2022-06-06 17:23:59 +08:00 |
Minghao Li
|
2adc0b8a76
|
enh(sync): add log index manager
|
2022-06-05 21:48:50 +08:00 |
Minghao Li
|
5908631ec3
|
enh(sync): add log store2
|
2022-06-05 19:47:54 +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
|
f078f5b300
|
fix(sync): syncSetStandby
|
2022-05-26 15:08:20 +08:00 |
Minghao Li
|
4e1aa6b5c5
|
refactor: config change
|
2022-05-26 14:21:24 +08:00 |
Minghao Li
|
9a2eddda4c
|
fix(sync), call FpCommitCb twice when FOLLOWER
|
2022-05-26 11:02:35 +08:00 |
Minghao Li
|
8c5f6b6849
|
fix(sync): persist isStandby
|
2022-05-25 18:32:34 +08:00 |
Minghao Li
|
104a207579
|
FpReConfigCb
|
2022-05-25 14:43:45 +08:00 |
Minghao Li
|
0a5412f33d
|
refactor: modify FpSnapshotRead, FpSnapshotApply
|
2022-05-24 21:00:14 +08:00 |
Minghao Li
|
aa85781560
|
enh(sync): add mndSnapshotRead mndSnapshotApply
|
2022-05-24 15:28:12 +08:00 |
Minghao Li
|
aa1de8b34a
|
enh(sync): add FpSnapshotRead FpSnapshotApply
|
2022-05-24 14:46:22 +08:00 |
Minghao Li
|
c7691590be
|
enh(sync) add syncIsRestoreFinish
|
2022-05-23 23:53:15 +08:00 |
Minghao Li
|
4535722957
|
enh(sync) sync/mnode integration, syncStart async -> sync
|
2022-05-23 15:41:04 +08:00 |
Minghao Li
|
97b1e95ad8
|
enh(sync) sync/mnode integration, add term, currentTerm in cbMeta
|
2022-05-23 12:14:53 +08:00 |
Shengliang Guan
|
0f9cd43027
|
refactor: adjust sync header file
|
2022-05-20 10:30:30 +08:00 |
Shengliang Guan
|
0161b6456c
|
refactor: adjust msgcb
|
2022-05-19 19:44:01 +08:00 |
Minghao Li
|
f97adf54d3
|
enh(sync): add syncStartStandBy
|
2022-05-13 12:12:37 +08:00 |
Minghao Li
|
4d40af9929
|
add redirect
|
2022-04-28 16:41:13 +08:00 |
Minghao Li
|
9a603170b4
|
add redirect before syncPropose
|
2022-04-27 19:28:01 +08:00 |
Minghao Li
|
b96e434ab3
|
format
|
2022-04-27 18:10:57 +08:00 |
Li Minghao
|
c5602fbaba
|
add flag in syncEnv, to deal with expired timer
|
2022-04-25 22:54:04 -07:00 |
Minghao Li
|
64dfc1da1c
|
merge 3.0 code
|
2022-04-22 17:11:56 +08:00 |
Shengliang Guan
|
b66718a4d8
|
feat: report service status
|
2022-04-19 21:39:42 +08:00 |
Minghao Li
|
9a7924049f
|
sync integration
|
2022-04-19 15:43:24 +08:00 |
Minghao Li
|
01008939f2
|
sync snapshot
|
2022-04-19 11:51:51 +08:00 |
Minghao Li
|
7066274cc7
|
add sync format code
|
2022-04-18 21:50:56 +08:00 |
Minghao Li
|
d5188f14f9
|
sync refactor
|
2022-03-23 17:56:32 +08:00 |
Minghao Li
|
e3a3c1386b
|
sync refactor
|
2022-03-22 17:53:43 +08:00 |
Minghao Li
|
7c6fbbfbd1
|
sync refactor
|
2022-03-22 16:58:36 +08:00 |
Minghao Li
|
f7432337fd
|
sync refactor
|
2022-03-22 16:43:30 +08:00 |
Minghao Li
|
1c3113686e
|
sync refactor
|
2022-03-22 16:17:17 +08:00 |