Commit Graph

212 Commits

Author SHA1 Message Date
Minghao Li da2686ce69 refactor(sync): add log tools 2022-07-21 16:43:56 +08:00
Minghao Li ee237b091d refactor(sync): add log tools 2022-07-21 15:43:55 +08:00
Minghao Li c4bb5a1a52 refactor(sync): add log tools 2022-07-21 15:25:46 +08:00
Minghao Li ac51192084 refactor(sync): add trace log 2022-07-21 13:54:24 +08:00
Minghao Li 9f94dcb384 refactor(sync): add index/term in vnodeSnapWriterClose 2022-07-18 09:45:33 +08:00
Minghao Li 511c39a0cf refactor(sync): add skiplist entry cache 2022-07-13 15:55:38 +08:00
Minghao Li 27d06cae30 refactor(sync): add syncEntryCacheTest 2022-07-11 14:54:40 +08:00
Minghao Li 9e1b9fe64c refactor(sync): add syncEntryCacheTest 2022-07-11 14:21:36 +08:00
Minghao Li 2dd7abd47e refactor(sync): add vnode snapshot case 2022-07-11 10:34:02 +08:00
Shengliang Guan a5e8ddbc56 refactor: adjust logs 2022-07-08 18:00:19 +08:00
Minghao Li cc31a7c3c3 refactor(sync): add syncRestoreFromSnapshot 2022-07-08 15:38:40 +08:00
Minghao Li ed6001d5ca refactor(sync): add syncRestoreFromSnapshot 2022-07-08 15:31:50 +08:00
Minghao Li 1ee5468411 fix(sync): append entries batch 2022-07-08 14:47:00 +08:00
Minghao Li 78efbaabe1 refactor(sync): add syncGetSnapshotByIndex 2022-07-06 15:16:52 +08:00
Minghao Li 83b639ae8f refactor(sync): persist batch size 2022-07-06 14:58:38 +08:00
Minghao Li cd4bc6e30b refactor(sync): snapshot strategy 2022-07-06 11:12:45 +08:00
Minghao Li 6437d20cda refactor(sync): add resp syncRespCleanByTTL 2022-07-04 21:28:52 +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 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 0ffc6c46f3 refactor(sync): add snapshot2 interface 2022-07-01 14:47:12 +08:00
Minghao Li 1a8cf049b7 refactor(sync): add syncAppendEntriesBatch 2022-06-30 13:39:13 +08:00
Minghao Li 49ff32cda5 refactor(sync): add entries cache 2022-06-27 16:53:02 +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 7b5a3eff3f refactor(sync): add syncLogStoreCheck tool 2022-06-22 10:42:54 +08:00
Minghao Li 363c98e9ed refactor(sync): abstract for log store 2022-06-21 17:45:08 +08:00
Minghao Li 0fb64add90 refactor(sync) add trace log 2022-06-21 15:09:23 +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
Minghao Li f5db109e61 fix(sync): get last max snapshot index 2022-06-17 11:37:10 +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 fa25fa32e0 refactor(sync): add test syncRaftIdChec 2022-06-14 14:54:11 +08:00
Minghao Li f47a28fe8a enh(sync): add leader transfer 2022-06-13 15:47:43 +08:00
Minghao Li b1093b4a79 fix(sync): use fqdn instead of raftId 2022-06-13 12:13:35 +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 972fee7fbc refactor(sync): add rpcMsg to reconfig callback 2022-06-10 17:39:30 +08:00
Minghao Li e9d466ec82 refactor(sync) delete some trace log 2022-06-10 16:51:17 +08:00
Minghao Li 98a2451c15 refactor(sync): sync snapshot 2022-06-08 21:55:36 +08:00
Minghao Li 29b97fa0ad refactor(sync): syncNodeOnAppendEntriesReplySnapshotCb 2022-06-08 19:53:07 +08:00
Minghao Li 39d0b652ba refactor(sync): add raft log test 2022-06-08 17:18:26 +08:00
Minghao Li 687caac2bf refactor(sync): add raft log test 2022-06-08 16:45:40 +08:00
Minghao Li 77cd6f44f4 refactor(sync): syncUtilJson2Line 2022-06-08 11:25:24 +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