Shungang Li
|
167ecea705
|
fix: check term for role time
1. time of mnode becomes current role in this term
2. show 0 for offline mnodes
|
2023-07-27 14:16:54 +08:00 |
cadem
|
3b78d4382b
|
add learner
|
2023-04-18 19:03:45 +08:00 |
Benguang Zhao
|
99bfc95d54
|
fix: synchronize access to raftStore
|
2023-02-13 19:00:10 +08:00 |
Shengliang Guan
|
2aeda3a941
|
enh: refact raft store file
|
2023-01-09 12:01:36 +08:00 |
Shengliang Guan
|
7e5d97f0da
|
fix: stop snapshot receiver on sync post close
|
2023-01-05 12:00:35 +08:00 |
Shengliang Guan
|
c2323db00d
|
fix: allow the ip resolved by fqdn different between dnodes
|
2022-12-30 17:04:14 +08:00 |
Shengliang Guan
|
668a26c1b0
|
enh: handle error while transfer snapshot
|
2022-12-26 15:03:18 +08:00 |
Shengliang Guan
|
d674c8370b
|
refact: update sync log
|
2022-12-20 21:30:46 +08:00 |
Shengliang Guan
|
2b256542a5
|
refact: add vnode timer
|
2022-12-14 09:14:40 +08:00 |
Shengliang Guan
|
fe759c85f3
|
Merge remote-tracking branch 'origin/3.0' into FIX/TD-19334-3.0
|
2022-12-01 15:04:55 +08:00 |
Benguang Zhao
|
55bae49d56
|
Merge branch 3.0 to FIX/TD-19334-3.0
|
2022-11-30 23:47:30 +08:00 |
Minghao Li
|
f0fdc58c52
|
refactor(sync): help to display leader**
|
2022-11-30 20:56:58 +08:00 |
Minghao Li
|
a8832e8814
|
refactor(sync): modify info log
|
2022-11-30 11:20:03 +08:00 |
Minghao Li
|
f87b9fa7fe
|
refactor(sync): add interface syncSnapshotSending, syncSnapshotRecving
|
2022-11-29 19:41: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
|
dc2dcea3de
|
Merge branch 3.0 to FIX/TD-19334-3.0
|
2022-11-28 14:27:10 +08:00 |
Minghao Li
|
4a25963732
|
refactor(sync): optimized heartbeat timer
|
2022-11-26 10:46:57 +08:00 |
Minghao Li
|
93efefcbfc
|
refactor(sync): add trace log
|
2022-11-25 18:19:25 +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
|
862a51e6ee
|
refactor(sync): add timestamp trace log when elect and heartbeat
|
2022-11-24 12:03:05 +08:00 |
Minghao Li
|
2b411912d9
|
refactor(sync): can not propose when heartbeat timeout
|
2022-11-23 14:17:13 +08:00 |
Benguang Zhao
|
4526ff2876
|
enh: add syncLogBuffer.h and syncLogBuffer.c
|
2022-11-17 23:37:02 +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
|
effc38d217
|
fix(sync): fix asan error, use rid in hbdata and syncnode
|
2022-11-17 14:51:32 +08:00 |
Minghao Li
|
4c912aa955
|
fix(sync): fix hb-timer memory leak
|
2022-11-16 14:28:20 +08:00 |
Benguang Zhao
|
3e13cd8280
|
fix: check if timer triggered ahead of time in syncNodeElect
|
2022-11-16 14:26:18 +08:00 |
Minghao Li
|
81592dfb09
|
fix(sync): fix hb-timer memory leak
|
2022-11-16 14:25:21 +08:00 |
Minghao Li
|
7bcd13e82a
|
fix(sync): fix elect timer memory leak
|
2022-11-16 14:05:34 +08:00 |
Shengliang Guan
|
3ada61c346
|
restore some invalid code modify
|
2022-11-16 11:13:53 +08:00 |
Minghao Li
|
7d63efd2af
|
refactor(sync): optimize, make LRU Cache hit more
|
2022-11-15 19:24:43 +08:00 |
Minghao Li
|
c5aa7e072d
|
refactor(sync): optimize, make LRU Cache hit more
|
2022-11-15 19:17:28 +08:00 |
Minghao Li
|
9e8404f60a
|
refactor(sync): adjust timer
|
2022-11-15 17:50:15 +08:00 |
Benguang Zhao
|
bf634a840d
|
enh: check lastVer and commit version during syncNodeOpen
|
2022-11-15 17:13:31 +08:00 |
Shengliang Guan
|
a57efc49b4
|
fix: memory leak of sync timer
|
2022-11-15 13:43:30 +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
|
11c3463814
|
refact: adjust sync code struct
|
2022-11-13 18:18:46 +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
|
973fc99f75
|
Merge pull request #18094 from taosdata/feature/3.0_mhli
refactor(sync): pre snapshot
|
2022-11-13 15:38:33 +08:00 |
Minghao Li
|
ce4f32b8e7
|
refactor(sync): pre snapshot
|
2022-11-13 12:21:14 +08:00 |
Shengliang Guan
|
2dfc970572
|
enh: adjust sync append entry msg
|
2022-11-12 16:40:09 +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
|
26cb3c3856
|
refact: remove sync batch codes
|
2022-11-12 12:26:56 +08:00 |
Benguang Zhao
|
def4058eb1
|
feat: impl pipelining negotiation
|
2022-11-11 22:55:21 +08:00 |
Shengliang Guan
|
a18c731cd0
|
refact: remove sync ping and pingreply
|
2022-11-11 17:35:04 +08:00 |
Shengliang Guan
|
fd152f00ec
|
refact: adjust head file and sync log
|
2022-11-11 14:35:16 +08:00 |
Shengliang Guan
|
15e7e345dc
|
refact: move sync test code to single lib
|
2022-11-09 14:45:07 +08:00 |
Shengliang Guan
|
9914657cb0
|
refactor: adjust sync hb
|
2022-11-07 23:31:01 +08:00 |