Commit Graph

62 Commits

Author SHA1 Message Date
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
cadem 39f6ce1694 remove memory leak and syncNodeInRaftGroup 2023-03-20 18:34:20 +08:00
cadem 7c970d1847 fix/clusterid isolation 2023-03-18 11:16:52 +08:00
Benguang Zhao e350f71396 enh: reset elect timer at the end of callbacks 2023-03-14 19:45:31 +08:00
Benguang Zhao 99bfc95d54 fix: synchronize access to raftStore 2023-02-13 19:00:10 +08:00
Benguang Zhao 639652314f Merge branch main to FIX/TD-21428-main 2023-01-09 16:17:00 +08:00
Shengliang Guan 2aeda3a941 enh: refact raft store file 2023-01-09 12:01:36 +08:00
Benguang Zhao e66f19ab46 enh: vote for higher lastLogTerm despite commitIndex 2023-01-05 17:09:37 +08:00
Benguang Zhao dc2dcea3de Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-28 14:27:10 +08:00
Shengliang Guan c890469513 fix: compile error 2022-11-25 23:33:34 +08:00
Shengliang Guan 15d2da13b8 refactor: adjust syncLog 2022-11-25 22:16:15 +08:00
Shengliang Guan a880f22bc6 refactor: adjust syncLog 2022-11-25 22:13:39 +08:00
Benguang Zhao 051b73c1ed Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-17 17:28:11 +08:00
Shengliang Guan 4940080a1c refact: adjust sync log prints 2022-11-13 18:00:11 +08:00
Shengliang Guan 5b46cbefe9 enh: adjust request vote reply 2022-11-12 15:24:49 +08:00
Shengliang Guan cd19ff0173 enh: adjust request vote reply 2022-11-12 13:17:56 +08:00
Shengliang Guan 8cca68f29d enh: adjust request vote msg 2022-11-12 12:58:08 +08:00
Shengliang Guan fd152f00ec refact: adjust head file and sync log 2022-11-11 14:35:16 +08:00
Shengliang Guan 8a051c001d refact: adjust sync debug codes 2022-11-10 17:05:13 +08:00
Shengliang Guan a1c8db0f88 refact: adjust sync log 2022-11-07 17:35:24 +08:00
Minghao Li 47d9fe6422 fix(sync): do not vote when last-index < my cmt index 2022-11-04 15:10:08 +08:00
Minghao Li 8bdec5f2f2 refactor(sync): delete standby 2022-10-21 11:53:14 +08:00
Minghao Li 357951e947 refactor(sync): modify some code 2022-10-19 16:08:42 +08:00
Minghao Li e810f2ad64 refactor(sync): delete old code, ok 2022-10-18 13:53:03 +08:00
Minghao Li 797d1324c5 refactor(sync): request vote 2022-10-15 09:28:55 +08:00
Minghao Li 4d123c4da6 refactor(sync): add interface in sync 2022-10-14 11:18:48 +08:00
Minghao Li e628b70726 refactor(sync): make leader life longer 2022-08-06 13:17:08 +08:00
Minghao Li 327b938cbb refactor(sync): make leader life longer 2022-08-05 15:33:44 +08:00
Minghao Li e23c969d26 refactor(sync): make leader life longer 2022-08-05 13:33:49 +08:00
Minghao Li 7808fdfccb refactor(sync): add trace log 2022-07-20 17:19:42 +08:00
Minghao Li 322bbc493e refactor(sync): add trace log 2022-07-20 11:09:54 +08:00
Minghao Li 991d6fd8a1 refactor(sync): add trace log 2022-07-19 17:20:59 +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 41f24314d0 refactor(sync): add SYNC_TERM_INVALID 2022-06-29 15:44:30 +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 8060108585 refactor(sync): add trace log 2022-06-24 13:50:23 +08:00
Minghao Li ecc43b6697 refactor(sync): delete some assert 2022-06-21 16:02:36 +08:00
Minghao Li e86ee68f8b refactor(sync): sync snapshot 2022-06-08 22:43:58 +08:00
Minghao Li 2547e8d02e refactor: sync index 2022-06-08 11:03:28 +08:00
Minghao Li af27303a4c enh(sync): update raft core functions 2022-06-06 16:02:25 +08:00
Minghao Li 01b04e03d9 enh(sync): forbid elect for this round 2022-06-06 11:46:59 +08:00
Minghao Li 4b87154b0e enh(sync): forbid elect for this round 2022-06-06 11:40:37 +08:00
Minghao Li ba8adb73cb refactor(sync): restart elect timer when vote for 2022-06-04 15:49:42 +08:00
Minghao Li a20cac89cc enh(sync): syncNodeOnRequestVoteSnapshotCb 2022-05-31 18:04:49 +08:00
Minghao Li cdc0dc487f Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-05-30 21:24:05 +08:00
Minghao Li d6c57bd372 enh(sync): add snapshotEnable2 2022-05-30 13:14:48 +08:00
Cary Xu f2b4cca23d fix: init buffer to avoid invalid write 2022-05-29 01:10:32 +08:00
Minghao Li 7066274cc7 add sync format code 2022-04-18 21:50:56 +08:00