Commit graph

130 commits

Author SHA1 Message Date
dmchen
b0822d8cc2 fix/TD-31891-remove-void-sync1-fix-case 2024-09-23 10:40:46 +00:00
dmchen
2593f71f7c fix/TD-31891-remove-void-sync2-fix-case 2024-09-20 10:23:15 +00:00
dmchen
122aa84e1c fix/TD-31891-remove-void-sync2 2024-09-20 07:56:25 +00:00
dmchen
cae45eaeed fix/TD-31667-sync-trace 2024-08-27 04:15:01 +00:00
Minglei Jin
334dcd381b void unused return values 2024-07-29 09:34:20 +08:00
Minglei Jin
65222d9f2a update sync replication returned values 2024-07-25 17:18:57 +08:00
Minglei Jin
970a5f31a3 update sync replication 2024-07-25 12:09:51 +08:00
Shungang Li
3a656c3595 feat: support 2 replica with arbitrator 2024-03-19 09:30:35 +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
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
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
Shengliang Guan
2aeda3a941 enh: refact raft store file 2023-01-09 12:01:36 +08:00
Shengliang Guan
469dfb9d4e fix: compile errors 2022-12-30 17:47:17 +08:00
Shengliang Guan
c2323db00d fix: allow the ip resolved by fqdn different between dnodes 2022-12-30 17:04:14 +08:00
Benguang Zhao
decb17fcb1 fix: use recursive mutex for relocking ring log buffer in syncNodeDoConfigChange 2022-11-29 23:19:32 +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
dc2dcea3de Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-28 14:27:10 +08:00
Shengliang Guan
9026a46c6f fix: compile error 2022-11-26 11:54:38 +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
Benguang Zhao
22d64b9c0b fix: remove syncNodeReplicateOne from syncNodeOnSnapshotReply 2022-11-24 15:55:31 +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
fd9a612d50 refactor(sync): fix coverity scan error 2022-11-23 11:15:46 +08:00
Benguang Zhao
8ef5ca78ee fix: protect syncNodeReplicate with mutex lock 2022-11-22 10:54:32 +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
051b73c1ed Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-17 17:28:11 +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
c5aa7e072d refactor(sync): optimize, make LRU Cache hit more 2022-11-15 19:17:28 +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
Minghao Li
d381b4da93 fix(sync): fix memory leak 2022-11-14 18:17:14 +08:00
Minghao Li
9b58176c58 fix(sync): fix AddressSanitizer error: TD-20372 2022-11-14 15:56:34 +08:00
Minghao Li
c20627c1d6 fix(sync): fix AddressSanitizer error: TD-20372 2022-11-14 14:58:21 +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
ce4f32b8e7 refactor(sync): pre snapshot 2022-11-13 12:21:14 +08:00
Shengliang Guan
55927eaf0d refact: build sync heartbeat msg 2022-11-12 20:37:15 +08:00
Shengliang Guan
437daf8c90 enh: adjust sync append entry msg 2022-11-12 16:43:44 +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
Minghao Li
352c2d8ec0 refactor(sync): pre snapshot 2022-11-11 20:46:30 +08:00