Commit Graph

186 Commits

Author SHA1 Message Date
Minghao Li ecc43b6697 refactor(sync): delete some assert 2022-06-21 16:02:36 +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
Minghao Li 9ab28e0b88 refactor(sync): add last config index in fsm cbMeta 2022-06-17 14:05:52 +08:00
Minghao Li 77b03ac821 refactor(sync): add restore finish when become leader again 2022-06-16 14:40:42 +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 736862541e fix(sync): restart with config change 2022-06-10 15:19:11 +08:00
Minghao Li 89e2c2d47a fix(sync): update sender when become leader 2022-06-09 11:00:28 +08:00
Minghao Li e070657778 refactor(sync): add syncGetSnapshotMeta 2022-06-08 23:20:07 +08:00
Minghao Li 2547e8d02e refactor: sync index 2022-06-08 11:03:28 +08:00
Minghao Li a89e455267 fix(sync): delete some assert temporary 2022-06-07 09:55:18 +08:00
Minghao Li 6b329f791b enh(sync): update raft core functions 2022-06-06 16:35:44 +08:00
Minghao Li af27303a4c enh(sync): update raft core functions 2022-06-06 16:02:25 +08:00
Minghao Li 5009b7822f enh(sync): add log index manager 2022-06-06 11:24:25 +08:00
Minghao Li 5908631ec3 enh(sync): add log store2 2022-06-05 19:47:54 +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 b9e4543a40 enh(sync): add SyncSnapshotRsp SyncSnapshotSend 2022-05-30 21:21:51 +08:00
Minghao Li 6be4119fe7 add syncNodeIsIndexInSnapshot syncNodeGetLastIndexTerm syncNodeGetPreIndexTerm 2022-05-30 18:45:09 +08:00
Minghao Li 79ae770a0b enh(sync): add snapshotEnable2 2022-05-30 17:31:55 +08:00
Minghao Li 43c383dcbc enh(sync): add snapshotEnable2 2022-05-30 17:19:31 +08:00
Minghao Li d6c57bd372 enh(sync): add snapshotEnable2 2022-05-30 13:14:48 +08:00
Minghao Li b7be03898c enh(sync) snapshot sender, receiver 2022-05-27 15:35:26 +08:00
Minghao Li 4e1aa6b5c5 refactor: config change 2022-05-26 14:21:24 +08:00
Minghao Li aa1de8b34a enh(sync): add FpSnapshotRead FpSnapshotApply 2022-05-24 14:46:22 +08:00
Minghao Li 1d7bdbc351 fix(sync) sync/mnode integration dead lock 2022-05-23 21:37:13 +08:00
Minghao Li 4535722957 enh(sync) sync/mnode integration, syncStart async -> sync 2022-05-23 15:41:04 +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 a2d43fb96f enh(sync): add syncStartStandBy 2022-05-14 18:12:53 +08:00
Minghao Li f97adf54d3 enh(sync): add syncStartStandBy 2022-05-13 12:12:37 +08:00
Minghao Li b69a26678c enh(sync): raft config change 2022-05-12 15:23:41 +08:00
Minghao Li 7066274cc7 add sync format code 2022-04-18 21:50:56 +08:00
Minghao Li c5c00d5955 sync refactor 2022-03-22 10:42:02 +08:00
Minghao Li 48aace92c5 sync refactor 2022-03-21 19:26:48 +08:00
Minghao Li 7129645023 sync refactor 2022-03-21 16:28:50 +08:00
Minghao Li 6a7f5c5fd2 sync refactor 2022-03-18 11:29:03 +08:00
Minghao Li 09e2f36ddd sync append entries 2022-03-15 14:04:16 +08:00
Minghao Li f924c1b879 sync index 2022-03-14 20:43:35 +08:00
Minghao Li 7c868aea85 sync index 2022-03-14 18:44:53 +08:00
Minghao Li 7d897369d5 sync index 2022-03-14 16:27:25 +08:00
Minghao Li 88aef2d1ab sync refactor 2022-03-10 19:21:02 +08:00
Minghao Li 41516e024a sync refactor 2022-03-09 18:33:41 +08:00
Minghao Li 0c8f62f701 sync refactor 2022-03-09 14:51:02 +08:00
Minghao Li 2fcc970d79 sync refactor 2022-03-09 11:27:22 +08:00
Minghao Li d958655dd3 sync refactor 2022-03-08 20:22:31 +08:00
Minghao Li ffe442301c sync refactor 2022-03-08 14:19:50 +08:00
Minghao Li f556d98159 sync refactor 2022-03-08 13:55:13 +08:00
Minghao Li c9c48e870d sync refactor 2022-03-08 13:43:54 +08:00
Minghao Li 264c30e5db sync refactor 2022-03-08 10:52:18 +08:00
Minghao Li b8aa420e3a sync refactor 2022-03-07 16:46:17 +08:00
Minghao Li 25af19bd24 sync refactor 2022-03-07 16:06:07 +08:00
Minghao Li a0319ae49b sync refactor 2022-03-07 14:42:04 +08:00
Minghao Li b59028365a sync refactor 2022-03-07 14:18:46 +08:00
Minghao Li 97a71fd81e sync refactor 2022-03-06 17:59:24 +08:00
Minghao Li 551d7cfa6d sync refactor 2022-03-06 12:25:12 +08:00
Minghao Li 29fab2e30a Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-03-05 15:06:59 +08:00
Minghao Li b7e22154b2 sync timeout 2022-03-05 15:03:49 +08:00
Minghao Li 98b3530699 sync timeout 2022-03-04 16:54:25 +08:00
Minghao Li 8d789bba31 sync enq 2022-03-04 15:48:09 +08:00
Shengliang Guan 1d9119df87 record num of logs for monitoring 2022-03-04 14:34:35 +08:00
Minghao Li 64d224a0d2 syncInt 2022-03-03 17:28:00 +08:00
Minghao Li ee43a70c4d sync modify timer 2022-03-02 10:43:59 +08:00
Minghao Li aaf5e20fdc sync encode test 2022-03-01 20:29:49 +08:00
Minghao Li d57320031f sync ping 2022-03-01 15:16:44 +08:00
Minghao Li eaf6142c79 sync modify timer 2022-02-28 17:47:47 +08:00
Minghao Li c9efe3dea7 sync modify timer 2022-02-28 16:36:57 +08:00
Minghao Li 02f0f85aab sync modify timer 2022-02-28 14:10:34 +08:00
Minghao Li 4afcb4387c add sync io 2022-02-27 10:22:15 +08:00
Minghao Li b55cf2bc7e add sync code 2022-02-27 02:24:50 +08:00
Minghao Li dbe28cd4ff add sync code 2022-02-27 00:02:18 +08:00
Minghao Li e8780cebed add sync code 2022-02-26 18:30:58 +08:00
Minghao Li 113618bea3 add sync test 2022-02-25 14:38:12 +08:00
Minghao Li 0e0af1de05 add sync code 2022-02-23 15:17:49 +08:00
Minghao Li 3d9d5240a5 add sync code 2022-02-23 09:54:44 +08:00
Minghao Li be375fa143 add sync code 2022-02-22 11:28:15 +08:00
Minghao Li ec70e160ef rm old sync code 2022-02-09 14:13:06 +08:00
lichuang 24a0966da6 [TD-10645][raft]<feature>add raft progress 2021-11-02 15:50:27 +08:00
lichuang fca35ceb29 [TD-10645][raft]<feature>add sync rpc client and server 2021-11-02 10:49:23 +08:00
lichuang 5b7261d63f [TD-10645][raft]<feature>add sync node timer 2021-10-29 17:09:25 +08:00
lichuang c319d1cb12 [TD-10645][raft]<feature>add raft module 2021-10-29 16:05:25 +08:00
lichuang 2dc480adf6 [TD-10645][raft]<feature>sync manager 2021-10-29 14:31:21 +08:00