Shungang Li
|
3a656c3595
|
feat: support 2 replica with arbitrator
|
2024-03-19 09:30:35 +08:00 |
Benguang Zhao
|
0a7ef098ba
|
enh: reduce wait time to start a new snap replication
|
2023-12-13 14:01:52 +08:00 |
Benguang Zhao
|
c74c4fe208
|
enh: clean WAL logs based on size if one follower is offline.
|
2023-12-13 10:10:02 +08:00 |
Benguang Zhao
|
d4add073cc
|
refact: improve code with syncSnapSendRsp
|
2023-12-07 15:28:14 +08:00 |
Benguang Zhao
|
4163a3be7c
|
feat: resend snap replication of data on timeout
|
2023-10-27 17:58:26 +08:00 |
Benguang Zhao
|
fe553352b8
|
enh: cache snap blocks sent in snapshotSend for resending
|
2023-10-25 20:26:11 +08:00 |
Benguang Zhao
|
ec5b1f2ec1
|
enh: logging buf info for snapshot reader and sender
|
2023-10-25 15:04:14 +08:00 |
Benguang Zhao
|
e34da43e38
|
feat: support pipelining of snap replication
|
2023-10-23 19:32:44 +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 |
Benguang Zhao
|
083dd148be
|
feat: exchange difference of snapshot info for replication
|
2023-10-19 10:37:34 +08:00 |
dm chen
|
5b03ab1705
|
Merge branch '3.0' into feat/TD-22970
|
2023-08-03 17:43:51 +08:00 |
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 |
dmchen
|
7d480cf3ac
|
compatible old sync config
|
2023-07-21 10:31:53 +08:00 |
dmchen
|
3711fdd865
|
feat/TD-22970
|
2023-07-18 16:09:38 +08:00 |
wade zhang
|
8d679d7686
|
Merge pull request #21299 from taosdata/FIX/TD-22970-3.0
enh: refactor some func names for syncLogReplProcessReply
|
2023-05-29 10:59:56 +08:00 |
Benguang Zhao
|
47a1d64125
|
enh: refactor some func names for syncLogReplProcessReply
|
2023-05-15 11:32:08 +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
|
3efa36ca51
|
enh: refactor func name syncLogIsReplicationBarrier to syncLogReplBarrier
|
2023-04-12 10:13:17 +08:00 |
Benguang Zhao
|
09786a127d
|
enh: refactor func names doOnce, attempt, probe, and sendTo of syncLogRepl
|
2023-04-12 10:13:06 +08:00 |
Benguang Zhao
|
0a1476763a
|
enh: refactor some func names of syncLogReplMgr
|
2023-04-06 16:26:44 +08:00 |
Benguang Zhao
|
21c18a4a9b
|
enh: use syncNodeReplicateReset in syncNodeOnSnapshotRsp
|
2023-03-07 16:34:02 +08:00 |
Xiaoyu Wang
|
58fc265b80
|
merge main
|
2023-02-24 13:26:45 +08:00 |
Benguang Zhao
|
e45367f924
|
fix: resolve coverity scan issues in sync and wal
|
2023-02-23 14:16:21 +08:00 |
Benguang Zhao
|
b0b9877265
|
fix: check if log buffer is empty in syncNodeOnLocalCmd
|
2023-02-21 19:00:47 +08:00 |
Benguang Zhao
|
99bfc95d54
|
fix: synchronize access to raftStore
|
2023-02-13 19:00:10 +08:00 |
Benguang Zhao
|
b6b0b3439e
|
enh: rename syncNodeOnSnapshotPre to syncNodeOnSnapshotPrep
|
2023-02-02 19:34:32 +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 |
Shengliang Guan
|
84bea778c9
|
Merge branch 'fix/TD-21746' into FIX/TD-21043-main
|
2023-01-05 16:15:50 +08:00 |
Shengliang Guan
|
b8e1064b0f
|
fix: compile error
|
2023-01-05 16:15:42 +08:00 |
Shengliang Guan
|
a28398c060
|
fix: compile error
|
2023-01-05 16:11:01 +08:00 |
Shengliang Guan
|
ef3e60c387
|
Merge branch 'fix/TD-21746' into FIX/TD-21043-main
|
2023-01-05 15:58:30 +08:00 |
Shengliang Guan
|
7e5d97f0da
|
fix: stop snapshot receiver on sync post close
|
2023-01-05 12:00:35 +08:00 |
Benguang Zhao
|
4031dc1af4
|
Merge branch main into FIX/TD-21043-main
|
2023-01-02 16:41:46 +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
|
b05c65cd47
|
refact: rename variables
|
2022-12-29 11:21:22 +08:00 |
Shengliang Guan
|
7e67dc032d
|
refact: rename variables
|
2022-12-29 10:41:01 +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 |
Shengliang Guan
|
794fb5d1b5
|
fix: handle error if sync buffer is full
|
2022-12-26 20:40:33 +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
|
be227bd6f6
|
Merge pull request #18783 from taosdata/feature/3.0_mhli
refactor(sync): re send snapshot in timer-routine when response timeout
|
2022-12-07 21:26:15 +08:00 |
Minghao Li
|
c29401edf2
|
refactor(sync): re send snapshot in timer-routine
|
2022-12-07 19:46:26 +08:00 |
Benguang Zhao
|
50883689e7
|
enh: check contiguousness of indexes applied to vnode tsdb
|
2022-12-07 17:30:22 +08:00 |
Minghao Li
|
20e2acbacf
|
refactor(sync): add reserved field in message
|
2022-12-06 16:59:19 +08:00 |