Benguang Zhao
|
a2e0480839
|
refact: rename as SYNC_FSM_STATE_COMPLETE
|
2023-10-19 11:18:57 +08:00 |
Benguang Zhao
|
d671283b8b
|
refact: adjust logging msg for incomplete fsm state
|
2023-10-19 11:18:57 +08:00 |
Benguang Zhao
|
c89c69f951
|
enh: use waitTime to prevent from starting snapshot too frequently
|
2023-10-19 11:04:39 +08:00 |
Benguang Zhao
|
eb4e2aa58f
|
feat: restore incomplete fsm state with maxVerValid via snapshot replication
|
2023-10-19 11:04:36 +08:00 |
dmchen
|
3711fdd865
|
feat/TD-22970
|
2023-07-18 16:09:38 +08:00 |
Haojun Liao
|
7ef16e1922
|
other: merge main.
|
2023-05-12 11:49:53 +08:00 |
cadem
|
3b78d4382b
|
add learner
|
2023-04-18 19:03:45 +08:00 |
Benguang Zhao
|
b958030b0c
|
enh: remove unused functions in sync
|
2023-04-17 18:52:09 +08:00 |
Benguang Zhao
|
e350f71396
|
enh: reset elect timer at the end of callbacks
|
2023-03-14 19:45:31 +08:00 |
Benguang Zhao
|
e45367f924
|
fix: resolve coverity scan issues in sync and wal
|
2023-02-23 14:16:21 +08:00 |
Benguang Zhao
|
99bfc95d54
|
fix: synchronize access to raftStore
|
2023-02-13 19:00:10 +08:00 |
Benguang Zhao
|
d611793537
|
enh: remove unused old routines in sync
|
2023-01-18 10:07:16 +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
|
47ace00090
|
enh: refactor some sync func names for pipelining
|
2023-01-05 17:09:37 +08:00 |
Benguang Zhao
|
e22ce2df87
|
fix: use pReply->lastSendIndex instead while updating commitIndex
|
2022-12-29 10:45:25 +08:00 |
Benguang Zhao
|
0c4ade9373
|
fix: update sync node commitIndex only if matchTerm equals currentTerm upon heartbeat
|
2022-12-28 20:25:52 +08:00 |
Benguang Zhao
|
724cf98dc3
|
fix: be conservative on commit progress in appendEntries
|
2022-12-28 20:25:52 +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
|
198e18c348
|
refactor(sync): add trace log for cache hit, cache miss
|
2022-11-29 14:58:47 +08:00 |
Benguang Zhao
|
143a2e8552
|
feat: start snapshot replication to rollback in recovery mode
|
2022-11-25 21:22:49 +08:00 |
Benguang Zhao
|
2e640e8e68
|
feat: start snapshot in recovery mode of sync repl mgr with lastMatchTerm in reply msg
|
2022-11-24 11:01:26 +08:00 |
Benguang Zhao
|
b90ee79623
|
fix: use syncLogBufferCommit in syncNodeOnLocalCmd
|
2022-11-21 13:51:01 +08:00 |
Benguang Zhao
|
03b88ff41c
|
enh: rename syncLogBuffer.h|c to syncPipeline.h|c
|
2022-11-18 12:39:04 +08:00 |
Benguang Zhao
|
4526ff2876
|
enh: add syncLogBuffer.h and syncLogBuffer.c
|
2022-11-17 23:37:02 +08:00 |
Benguang Zhao
|
da469149db
|
enh: debug to info
|
2022-11-17 20:28:18 +08:00 |
Benguang Zhao
|
051b73c1ed
|
Merge branch 3.0 to FIX/TD-19334-3.0
|
2022-11-17 17:28:11 +08:00 |
Benguang Zhao
|
6062632722
|
enh: turn commit-cb logging msg to debug level in vnodeSyncCommitMsg
|
2022-11-16 19:53:22 +08:00 |
Minghao Li
|
c5aa7e072d
|
refactor(sync): optimize, make LRU Cache hit more
|
2022-11-15 19:17:28 +08:00 |
Benguang Zhao
|
bf634a840d
|
enh: check lastVer and commit version during syncNodeOpen
|
2022-11-15 17:13:31 +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
|
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
|
58fd2228d9
|
refactor(sync): pre snapshot
|
2022-11-13 10:45:33 +08:00 |
Shengliang Guan
|
152b1ea9a3
|
enh: adjust sync append entry reply
|
2022-11-12 20:28:45 +08:00 |
Shengliang Guan
|
54e05aee26
|
enh: adjust sync append entry reply
|
2022-11-12 18:21:58 +08:00 |
Shengliang Guan
|
2dfc970572
|
enh: adjust sync append entry msg
|
2022-11-12 16:40:09 +08:00 |
Benguang Zhao
|
def4058eb1
|
feat: impl pipelining negotiation
|
2022-11-11 22:55:21 +08:00 |
Shengliang Guan
|
fd152f00ec
|
refact: adjust head file and sync log
|
2022-11-11 14:35:16 +08:00 |
Shengliang Guan
|
b4f8e45401
|
refact: adjust head file and sync log
|
2022-11-11 14:25:24 +08:00 |
Shengliang Guan
|
fdad108726
|
Merge branch '3.0' into fix/TD-20052
|
2022-11-09 18:02:46 +08:00 |
Minghao Li
|
18363f52e5
|
refactor(sync): add FpApplyQueueItems in fsm
|
2022-11-09 16:35:26 +08:00 |
Shengliang Guan
|
15e7e345dc
|
refact: move sync test code to single lib
|
2022-11-09 14:45:07 +08:00 |
Shengliang Guan
|
a1c8db0f88
|
refact: adjust sync log
|
2022-11-07 17:35:24 +08:00 |
Benguang Zhao
|
5878c9a31a
|
fix: impl ring log buffer
|
2022-11-07 14:27:22 +08:00 |
Minghao Li
|
102969086d
|
refactor(sync): add local-cmd:follower-commit
|
2022-11-03 10:25:38 +08:00 |
Minghao Li
|
f7191d2ffd
|
refactor(sync): add pre snapshot
|
2022-11-02 15:25:14 +08:00 |
Minghao Li
|
a8109b7f37
|
refactor(sync): delete some code
|
2022-10-27 14:43:07 +08:00 |
Minghao Li
|
8082b71cce
|
fix(sync): free pLocalEntry
|
2022-10-24 18:05:14 +08:00 |
Shengliang Guan
|
71ac720ac0
|
fix: compile error in mac
|
2022-10-22 08:47:09 +08:00 |