Commit graph

412 commits

Author SHA1 Message Date
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
Minghao Li
3939c96a92 refactor(sync): modify/use default config value 2022-12-05 12:35:57 +08:00
Benguang Zhao
e97c8f637b enh: logging sync log buffer rollback events 2022-12-03 09:05:39 +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
Minghao Li
f5bebc53f1 refactor(sync): add traceId log 2022-12-01 12:53:38 +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
Benguang Zhao
decb17fcb1 fix: use recursive mutex for relocking ring log buffer in syncNodeDoConfigChange 2022-11-29 23:19:32 +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
Benguang Zhao
4f37947e42 fix: minimum commitTerm as 0 in syncLogBufferInit 2022-11-29 17:15:48 +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
Benguang Zhao
082428acab enh: reduce the number of probing msgs under stress in recovery mode 2022-11-26 13:18:52 +08:00
Shengliang Guan
9026a46c6f fix: compile error 2022-11-26 11:54:38 +08:00
Shengliang Guan
35eb754e4a Merge remote-tracking branch 'origin/3.0' into feature/3.0_mhli 2022-11-26 11:52:22 +08:00
Minghao Li
4a25963732 refactor(sync): optimized heartbeat timer 2022-11-26 10:46:57 +08:00
Shengliang Guan
a880f22bc6 refactor: adjust syncLog 2022-11-25 22:13:39 +08:00
Shengliang Guan
39ddf9faf8 refactor: adjust syncLogHeartbeat 2022-11-25 21:55:37 +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
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