Commit Graph

50 Commits

Author SHA1 Message Date
cadem 3b78d4382b add learner 2023-04-18 19:03:45 +08:00
Benguang Zhao 9f97162ef7 enh: separate election timer events 2023-03-14 21:02:06 +08:00
Shengliang Guan c2323db00d fix: allow the ip resolved by fqdn different between dnodes 2022-12-30 17:04:14 +08:00
Minghao Li c29401edf2 refactor(sync): re send snapshot in timer-routine 2022-12-07 19:46:26 +08:00
Benguang Zhao 529d8cc800 enh: enable timeout checking of sync Resp with ttl as 30s 2022-12-06 16:46:53 +08:00
Benguang Zhao 55bae49d56 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-30 23:47:30 +08:00
Benguang Zhao 3cbe109e4b fix: initialize vnode state applyTerm with commitTerm in vnodeOpen 2022-11-30 22:41:33 +08:00
Minghao Li a8832e8814 refactor(sync): modify info log 2022-11-30 11:20:03 +08:00
Benguang Zhao 470441c541 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-29 18:24:01 +08:00
Minghao Li ebe1103964 refactor(sync): add trace log for elect count, become leader count, config change count 2022-11-29 14:39:42 +08:00
Benguang Zhao 68f8ebac9d Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-25 13:10:06 +08:00
Minghao Li 1d48426e94 refactor(sync): del wal in multi-replicas 2022-11-22 12:45:31 +08:00
Benguang Zhao 051b73c1ed Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-17 17:28:11 +08:00
Minghao Li 9e8404f60a refactor(sync): adjust timer 2022-11-15 17:50:15 +08:00
Benguang Zhao c0c1cd8211 enh: reset sync log repl mgr if restarting of the peer detected in HeartbeatReply 2022-11-15 10:24:11 +08:00
Shengliang Guan 4940080a1c refact: adjust sync log prints 2022-11-13 18:00:11 +08:00
Shengliang Guan f1a41f5a37 refact: sync message headfile 2022-11-13 17:21:30 +08:00
Shengliang Guan 8deb3b83df refact: adjust timeout msg build 2022-11-12 10:54:36 +08:00
Shengliang Guan 2da7eac62d refact: adjust timeout msg build 2022-11-12 10:21:16 +08:00
Shengliang Guan f7d263862b refact: remove assert and adjust log 2022-11-10 11:26:52 +08:00
Shengliang Guan a1c8db0f88 refact: adjust sync log 2022-11-07 17:35:24 +08:00
Minghao Li d246514da2 refactor(sync): check msgcb, putToQueueFp NULL 2022-10-31 18:16:58 +08:00
Minghao Li 64f539cacb refactor(sync): adjust timer 2022-10-25 18:03:22 +08:00
Shengliang Guan 0914c02394 fix: compile error in mac 2022-10-22 23:49:49 +08:00
Shengliang Guan 2d3f5274b7 fix: compile error in mac 2022-10-22 08:39:58 +08:00
Minghao Li 5965629b2e refactor(sync): refacotr sync 2022-10-20 16:05:14 +08:00
Minghao Li 27f690fd0a refacotr(sync): modify sync-snapshot 2022-10-20 14:57:49 +08:00
Minghao Li 74b48e6df8 refacotr(sync): modify sync-snapshot 2022-10-20 14:53:03 +08:00
Minghao Li 3e6d6fe89b refactor(sync): do replicate in timer routine 2022-10-19 19:12:04 +08:00
Minghao Li 28a5a9d7e1 refactor(sync): add log, update quorum first when reconfig 2022-10-19 10:57:50 +08:00
Benguang Zhao 3b0968d7f9 enh: enable the -Wformat=2 compiler option 2022-10-19 09:24:15 +08:00
Minghao Li 797d1324c5 refactor(sync): request vote 2022-10-15 09:28:55 +08:00
Minghao Li 87dd0fc168 refactor(sync): delete ASSERT(0) in snapshotReceiverFinish 2022-09-01 10:54:02 +08:00
Minghao Li 8f0361bf75 refactor(sync): delete expired config index 2022-08-11 17:42:04 +08:00
Minghao Li df18cc5f47 refactor(sync): speed up replicate 2022-08-08 19:46:37 +08:00
Minghao Li 9be864a6be refactor(sync): make leader life longer 2022-08-04 20:36:12 +08:00
Shengliang Guan f7e8341457 fix: adjust logs 2022-08-03 10:56:37 +08:00
Minghao Li dcdb7144c4 refactor(sync): delete timeout check 2022-07-23 19:54:56 +08:00
Minghao Li e91ca30b19 refactor(sync): add resp ttl clean 2022-07-12 20:23:31 +08:00
Minghao Li 473e134f31 refactor(sync): add resp ttl clean 2022-07-12 16:57:19 +08:00
Minghao Li 96f9274fef refactor(sync): add timer routines 2022-07-12 15:04:32 +08:00
Minghao Li 6fcbca5b39 sync ping 2022-03-16 11:45:12 +08:00
Minghao Li 7c868aea85 sync index 2022-03-14 18:44:53 +08:00
Minghao Li ffe442301c sync refactor 2022-03-08 14:19:50 +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 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