Commit Graph

458 Commits

Author SHA1 Message Date
dongming chen 5ef52a1a5f
Merge branch '3.0' into ehn/add-sync-heartbeat-sent-time-to-log 2024-11-20 09:15:35 +08:00
dmchen 472e8361ea ehn/add-sync-heartbeat-sent-time-to-log 2024-11-18 18:25:52 +08:00
dmchen e57a914f00 ehn/add-sync-msg-statisd 2024-11-15 16:34:04 +08:00
dmchen aedeca9ecb fix/TD-32838-add-writer-lock 2024-11-11 12:03:05 +08:00
dmchen e893547c14 fix/TD-32583-remove-useless-timer-execution 2024-10-16 10:58:26 +00:00
kailixu c2d28a208e chore: code optimization 2024-09-12 11:18:10 +08:00
Kaili Xu d1cb30c473
chore: restore header file 2024-09-12 10:47:49 +08:00
kailixu d9a25b31fe fix: compile problem 2024-09-12 08:32:59 +08:00
kailixu 15c92cea3f fix: compile problem 2024-09-12 07:11:26 +08:00
kailixu e3121c24eb fix: compile problem 2024-09-12 06:38:15 +08:00
kailixu 2a13aa08e1 fix: oom with large msg 2024-09-11 14:23:47 +08:00
dmchen df8ded28d5 fix/TD-30734-format-log 2024-09-03 05:02:07 +00:00
dmchen 74126d880e fix/TD-31667-sync-trace-log-rename 2024-08-27 08:22:25 +00:00
dmchen dd8f5965be fix/TD-31667-sync-trace-log-name 2024-08-27 07:27:00 +00:00
dmchen cae45eaeed fix/TD-31667-sync-trace 2024-08-27 04:15:01 +00:00
Shengliang Guan 1f1a2d9f6c fix: handle error code 2024-08-20 10:04:46 +08:00
Shengliang Guan 660bfde593 refact: adjust util log 2024-08-19 19:20:14 +08:00
Shengliang Guan aef00cfb83 refact: remove unused variables 2024-08-19 18:04:50 +08:00
Shengliang Guan e296a2a076 fix: init refId before setting env start 2024-08-19 18:04:29 +08:00
kailixu 73bb3cef13 enh: refactor return code 2024-07-25 19:07:25 +08:00
kailixu 90ff2b34ba enh: refactor return code 2024-07-25 17:29:04 +08:00
kailixu 9de0e4ee64 fix: refactor return code 2024-07-25 16:20:10 +08:00
Haojun Liao 94f596c4ce refactor: remove the invalid return value. 2024-07-16 18:52:01 +08:00
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