Commit Graph

116 Commits

Author SHA1 Message Date
Minghao Li e810f2ad64 refactor(sync): delete old code, ok 2022-10-18 13:53:03 +08:00
Minghao Li 5745223bca refactor(sync): add double queues in mnode 2022-10-17 10:33:27 +08:00
Minghao Li fa30b94c67 refactor(sync): append entries 2022-10-16 12:07:02 +08:00
Minghao Li 797d1324c5 refactor(sync): request vote 2022-10-15 09:28:55 +08:00
Minghao Li 2ae4081a3f refactor(sync): add double queues in vnode 2022-10-13 20:57:36 +08:00
Minghao Li eee4c0853d refactor(sync): add syncNodeAppendEntriesOnePeer 2022-08-17 10:34:53 +08:00
Minghao Li 6cabe5847e fix(sync): delete memory after optimized 2022-08-10 11:26:23 +08:00
Minghao Li df18cc5f47 refactor(sync): speed up replicate 2022-08-08 19:46:37 +08:00
Minghao Li 62b07dbe5d refactor(sync): speed up replicate 2022-08-08 15:10:32 +08:00
Minghao Li 27d72283bc refactor(sync): make leader life longer 2022-08-05 16:45:21 +08:00
Minghao Li 9be864a6be refactor(sync): make leader life longer 2022-08-04 20:36:12 +08:00
Minghao Li f98965d749 refactor(sync): delete find sync pointer optimized 2022-08-03 14:41:38 +08:00
Shengliang Guan 99f29f6455 refactor: adjust log 2022-08-01 17:23:52 +08:00
Minghao Li 4b6b1de91c refactor(sync): restart hb timer when replicate get error term 2022-07-30 17:30:10 +08:00
Minghao Li e0e23fc2cb refactor(sync): speed up sync point2 2022-07-29 21:17:39 +08:00
Minghao Li 7808fdfccb refactor(sync): add trace log 2022-07-20 17:19:42 +08:00
Minghao Li c2b348bec5 refactor(sync): add trace log 2022-07-20 15:34:09 +08:00
Minghao Li 30bf78af96 refactor(sync): restart heartbeat timer after replicate 2022-07-19 19:04:11 +08:00
Minghao Li 2dd7abd47e refactor(sync): add vnode snapshot case 2022-07-11 10:34:02 +08:00
Shengliang Guan e4a855e591 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-08 19:54:26 +08:00
Shengliang Guan a5e8ddbc56 refactor: adjust logs 2022-07-08 18:00:19 +08:00
Minghao Li 56e65d13d1 refactor(sync): add fake syncRestoreFromSnapshot 2022-07-08 17:37:25 +08:00
Minghao Li 1ee5468411 fix(sync): append entries batch 2022-07-08 14:47:00 +08:00
Minghao Li 1c3c270307 fix(sync): snapshot strategy wal first 2022-07-07 17:00:01 +08:00
Minghao Li cd4bc6e30b refactor(sync): snapshot strategy 2022-07-06 11:12:45 +08:00
Minghao Li 856806bb22 refactor(sync): add snapshot2 interface 2022-07-04 13:33:49 +08:00
Minghao Li 086ec29ca0 refactor(sync): add SyncClientRequestBatch 2022-07-02 14:41:54 +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 8060108585 refactor(sync): add trace log 2022-06-24 13:50:23 +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 9786ba2fbe fix(sync): update nextindex, matchindex when backto nolog 2022-06-23 10:10:57 +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 5968c6353f refactor(sync): get snapshot and create reader 2022-06-20 10:58:59 +08:00
Minghao Li e9d466ec82 refactor(sync) delete some trace log 2022-06-10 16:51:17 +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 9baaf2cd0c enh(sync): add log index manager 2022-06-06 20:55:59 +08:00
Minghao Li af27303a4c enh(sync): update raft core functions 2022-06-06 16:02:25 +08:00
Minghao Li 44994201b6 fix(sync): sending snapshot 2022-06-02 19:47:06 +08:00
Minghao Li 1ff40068e7 fix: send snapshot 2022-06-02 11:57: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 df4787eff1 refactor: modify syncNodeAppendEntriesPeersSnapshot 2022-06-01 17:08:03 +08:00
Minghao Li 80c4e77b0b refactor: modify syncNodeAppendEntriesPeersSnapshot 2022-06-01 17:07:14 +08:00
Minghao Li 78db753a64 refactor: review syncNodeAppendEntriesPeersSnapshot 2022-06-01 16:30:04 +08:00
Minghao Li b9472dc386 enh(sync): syncNodeAppendEntriesPeersSnapshot 2022-05-31 17:53:38 +08:00
Minghao Li d6c57bd372 enh(sync): add snapshotEnable2 2022-05-30 13:14:48 +08:00
Minghao Li d45221c863 enh(sync) logStoreGetEntry -> pLogStore->getEntry 2022-05-27 15:41:19 +08:00
Minghao Li 7066274cc7 add sync format code 2022-04-18 21:50:56 +08:00
afwerar 222db126bc [TD-13758]<fix>: redefine memory api. 2022-03-26 00:29:53 +08:00
Minghao Li 996886e726 sync refactor 2022-03-23 17:08:07 +08:00
Minghao Li 4d4fabf403 sync refactor 2022-03-16 21:11:20 +08:00
Minghao Li 5387e4ff7d sync refactor 2022-03-16 16:54:55 +08:00
Minghao Li f924c1b879 sync index 2022-03-14 20:43:35 +08:00
Minghao Li 1a78917767 sync index 2022-03-14 14:05:40 +08:00
Minghao Li ffe442301c sync refactor 2022-03-08 14:19:50 +08:00
Minghao Li 586f9035f0 sync refactor 2022-03-07 16:29:21 +08:00
Minghao Li 25af19bd24 sync refactor 2022-03-07 16:06:07 +08:00
Minghao Li 8d789bba31 sync enq 2022-03-04 15:48:09 +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