Minghao Li
|
103a9cd9e8
|
fix(sync): release SyncNode ref
|
2022-07-05 17:39:01 +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 |
Shengliang Guan
|
2daef4ba58
|
fix: add ref log to sync
|
2022-07-05 11:36:41 +08:00 |
Minghao Li
|
6437d20cda
|
refactor(sync): add resp syncRespCleanByTTL
|
2022-07-04 21:28:52 +08:00 |
Minghao Li
|
6e59c13cbd
|
refactor(sync): add sync strategy
|
2022-07-04 15:57:28 +08:00 |
Minghao Li
|
ded4616074
|
refactor(sync): add sync strategy
|
2022-07-04 14:55:26 +08:00 |
Minghao Li
|
a5d3b7033a
|
refactor(sync): add snapshot writer param
|
2022-07-04 14:18:06 +08:00 |
Minghao Li
|
856806bb22
|
refactor(sync): add snapshot2 interface
|
2022-07-04 13:33:49 +08:00 |
Minghao Li
|
4fc500c91c
|
refactor(sync): add SyncAppendEntriesBatch
|
2022-07-02 16:01:47 +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
|
0ffc6c46f3
|
refactor(sync): add snapshot2 interface
|
2022-07-01 14:47:12 +08:00 |
Minghao Li
|
91238e823e
|
refactor(sync): add snapshot2 interface
|
2022-07-01 14:22:14 +08:00 |
Minghao Li
|
4f39cd31b0
|
refactor(sync): add snapshot2 interface
|
2022-07-01 09:50:20 +08:00 |
Minghao Li
|
24a3c817a4
|
refactor(sync): add batch propose
|
2022-06-30 16:44:49 +08:00 |
Minghao Li
|
376bf46a64
|
refactor(sync): add SyncClientRequestBatch
|
2022-06-30 15:28:23 +08:00 |
Minghao Li
|
1a8cf049b7
|
refactor(sync): add syncAppendEntriesBatch
|
2022-06-30 13:39:13 +08:00 |
Minghao Li
|
c3b2b98454
|
refactor(sync): delete some asserts
|
2022-06-29 19:18:15 +08:00 |
Minghao Li
|
3440822ebf
|
refactor(sync): add some comments
|
2022-06-29 16:40:36 +08:00 |
Minghao Li
|
41f24314d0
|
refactor(sync): add SYNC_TERM_INVALID
|
2022-06-29 15:44:30 +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
|
5e7b7cb449
|
refactor(sync): add entries cache
|
2022-06-27 16:56:36 +08:00 |
Minghao Li
|
49ff32cda5
|
refactor(sync): add entries cache
|
2022-06-27 16:53:02 +08:00 |
Minghao Li
|
a22814a5a7
|
refactor(sync): optimized one replica
|
2022-06-27 10:36:28 +08:00 |
Minghao Li
|
6eecbcd1a6
|
refactor(sync): optimized one replica
|
2022-06-26 01:16:11 +08:00 |
Minghao Li
|
a6f33ba01c
|
refactor(sync): optimized one replica
|
2022-06-25 20:31:42 +08:00 |
Minghao Li
|
77b365f0cc
|
refactor(sync): do not replicate when one replica
|
2022-06-25 16:27:05 +08:00 |
Minghao Li
|
0df1415caf
|
refactor(sync): add trace log
|
2022-06-25 11:30:34 +08:00 |
Minghao Li
|
58296f6a5a
|
refactor(sync): adjust log buf size
|
2022-06-24 16:44:45 +08:00 |
Minghao Li
|
87defc2790
|
refactor(sync): add interface: get retry epset
|
2022-06-24 14:26:31 +08:00 |
Minghao Li
|
8a8e42a923
|
refactor(sync): set error code in syncIsReady
|
2022-06-24 14:04:58 +08:00 |
Minghao Li
|
8060108585
|
refactor(sync): add trace log
|
2022-06-24 13:50:23 +08:00 |
Minghao Li
|
b3fa103cb9
|
refactor(sync): add trace log
|
2022-06-24 11:36:26 +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
|
00c0926c44
|
refactor(sync): hold wal handle with log store
|
2022-06-23 14:58:52 +08:00 |
Minghao Li
|
cdb6b2429a
|
refactor(sync): update election timer range
|
2022-06-23 14:37:29 +08:00 |
Minghao Li
|
e18329ac19
|
refactor(sync): update election timer range
|
2022-06-23 14:22:53 +08:00 |
Minghao Li
|
ca4d7329ce
|
refactor(sync): modify wal error log
|
2022-06-23 14:07:18 +08:00 |
Minghao Li
|
81eae2a9af
|
refactor(sync): modify wal error log
|
2022-06-23 11:59:28 +08:00 |
Minghao Li
|
e051bc51db
|
refactor(sync): add trace log
|
2022-06-23 11:23:44 +08:00 |
Minghao Li
|
a701451a27
|
refactor(sync): add trace log
|
2022-06-23 11:09:01 +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
|
13c916f5cb
|
fix(sync): update lcindex to -1, when get error
|
2022-06-22 19:48:36 +08:00 |
Minghao Li
|
7b5a3eff3f
|
refactor(sync): add syncLogStoreCheck tool
|
2022-06-22 10:42:54 +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
|
4381c3620d
|
refactor(sync): calculate index after append entry
|
2022-06-21 19:00:24 +08:00 |
Minghao Li
|
363c98e9ed
|
refactor(sync): abstract for log store
|
2022-06-21 17:45:08 +08:00 |
Minghao Li
|
ecc43b6697
|
refactor(sync): delete some assert
|
2022-06-21 16:02:36 +08:00 |
Minghao Li
|
b61a5cd126
|
refactor(sync) add trace log
|
2022-06-21 15:30:24 +08:00 |
Minghao Li
|
0fb64add90
|
refactor(sync) add trace log
|
2022-06-21 15:09:23 +08:00 |
Minghao Li
|
6c71ae8985
|
fix(sync): config change when set index-mgr
|
2022-06-21 13:23:35 +08:00 |
Shengliang Guan
|
e87baa8df7
|
Merge remote-tracking branch 'origin/3.0' into fix/mnode
|
2022-06-21 11:42:11 +08:00 |
Shengliang Guan
|
714c599fd7
|
fix: deadlock while set standby
|
2022-06-21 11:40:27 +08:00 |
Minghao Li
|
50e3527f2b
|
refactor(sync): set ranmdom seed by ns
|
2022-06-21 11:11:16 +08:00 |
Minghao Li
|
3b7e0bfdcc
|
fix(sync): set standby when not follower
|
2022-06-20 20:55:40 +08:00 |
Minghao Li
|
9f76504830
|
refactor(sync): propose fail when changing
|
2022-06-20 20:10:13 +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
|
16930ac3aa
|
refactor(sync): adjust log buf size
|
2022-06-18 18:42:40 +08:00 |
Minghao Li
|
f5366425ed
|
refactor(sync): append noop in become leader
|
2022-06-18 17:02:29 +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
|
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 |
Shengliang Guan
|
6e6f559f9c
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
|
2022-06-17 14:06:44 +08:00 |
Minghao Li
|
9ab28e0b88
|
refactor(sync): add last config index in fsm cbMeta
|
2022-06-17 14:05:52 +08:00 |
Shengliang Guan
|
ce08a98149
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
|
2022-06-17 13:09:19 +08:00 |
Minghao Li
|
455a8da0ad
|
refactor(sync): add config index to json
|
2022-06-17 13:08:41 +08:00 |
Shengliang Guan
|
7e0ad8781b
|
refactor(sync) add raft cfg test
|
2022-06-17 11:46:19 +08:00 |
Shengliang Guan
|
28b3268224
|
fix(sync) add trace log
|
2022-06-17 11:40:18 +08:00 |
Minghao Li
|
f5db109e61
|
fix(sync): get last max snapshot index
|
2022-06-17 11:37:10 +08:00 |
Shengliang Guan
|
793e6fa7d9
|
fix: rollback to avoid tsim/basic.sim failure
|
2022-06-17 09:26:25 +08:00 |
Shengliang Guan
|
e241fc0979
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
|
2022-06-16 21:13:35 +08:00 |
Minghao Li
|
d71027ac35
|
fix(sync): fake match2, need truncate log
|
2022-06-16 20:43:49 +08:00 |
Shengliang Guan
|
2dc41e86cb
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
|
2022-06-16 20:10:11 +08:00 |
Minghao Li
|
b42c963a5f
|
fix(sync): fake match when prevLogIndex less than commitIndex
|
2022-06-16 20:08:27 +08:00 |
Shengliang Guan
|
5d64fcb117
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
|
2022-06-16 19:47:40 +08:00 |
Minghao Li
|
d3f6f07902
|
fix(sync): fake match when prevLogIndex less than commitIndex
|
2022-06-16 19:40:08 +08:00 |
Shengliang Guan
|
dd024941b7
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
|
2022-06-16 19:10:52 +08:00 |
Minghao Li
|
3fdd0c30ac
|
refactor(sync): add trace log
|
2022-06-16 19:08:44 +08:00 |
Shengliang Guan
|
5d9a3850d2
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
|
2022-06-16 18:09:30 +08:00 |
Minghao Li
|
46c09f2c84
|
refactor(sync): add trace log
|
2022-06-16 18:08:01 +08:00 |
Shengliang Guan
|
34b6ecafba
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699
|
2022-06-16 17:42:27 +08:00 |
Minghao Li
|
15ac89590c
|
refactor(sync): add trace log
|
2022-06-16 17:41:01 +08:00 |
Shengliang Guan
|
fe9f8bfe98
|
Merge remote-tracking branch 'origin/3.0' into test/chr/TD-14699
|
2022-06-16 17:39:39 +08:00 |
Shengliang Guan
|
26ca03af4f
|
fix: crash while mnode sync
|
2022-06-16 17:24:42 +08:00 |
Shengliang Guan
|
35c47cee55
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699
|
2022-06-16 16:17:20 +08:00 |
Minghao Li
|
2f81a41f98
|
refactor(sync): add syncIsReady
|
2022-06-16 16:16:40 +08:00 |
Shengliang Guan
|
6ad87b9383
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699
|
2022-06-16 15:57:20 +08:00 |