Commit Graph

1223 Commits

Author SHA1 Message Date
Xiaoyu Wang c218e7c55b
Merge pull request #20897 from taosdata/FIX/TD-23509-main
enh: refactor some vars in syncLogReplProcessReplyAsNormal
2023-04-13 17:41:06 +08:00
Benguang Zhao 2a0493f40c enh: refactor some vars in syncLogReplProcessReplyAsNormal 2023-04-13 09:53:25 +08:00
Xiaoyu Wang 933660ae8d Merge remote-tracking branch 'origin/main' into fix/3.0_merge_main 2023-04-12 14:13:23 +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 f6be5f2c0e enh: change sync log repl mgr to sync log repl in logging msg 2023-04-12 10:12:57 +08:00
Benguang Zhao edc9fe9705 enh: change the error msg of INVALID_VGROUP_ID to Vnode is closed or removed 2023-04-12 10:12:41 +08:00
Xiaoyu Wang 4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
Benguang Zhao 0a1476763a enh: refactor some func names of syncLogReplMgr 2023-04-06 16:26:44 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Xiaoyu Wang ed48713a4b
Merge pull request #20615 from taosdata/fix/trigger-election-by-sync-msg
Fix/trigger election by sync msg
2023-03-27 11:54:53 +08:00
Xiaoyu Wang d2b8c5e433
Merge pull request #20524 from taosdata/fix/clusterid-isolation
fix: clusterid isolation
2023-03-25 09:19:49 +08:00
cadem 86ca5ce210 fix/trigger election by sync msg 2023-03-24 09:13:20 +08:00
Shengliang Guan 8d1224ce22 refactor: format code 2023-03-23 22:31:20 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
cadem ea35f0ae11 feat/balance vgroup leader 2023-03-22 09:36:59 +08:00
cadem 39f6ce1694 remove memory leak and syncNodeInRaftGroup 2023-03-20 18:34:20 +08:00
cadem 7c970d1847 fix/clusterid isolation 2023-03-18 11:16:52 +08:00
Benguang Zhao 9f97162ef7 enh: separate election timer events 2023-03-14 21:02:06 +08:00
Benguang Zhao e350f71396 enh: reset elect timer at the end of callbacks 2023-03-14 19:45:31 +08:00
Shengliang Guan bf03965931
Merge pull request #20413 from taosdata/FIX/TD-22564-main
enh: not allow to propose if fsm applying progress lagging behind too far
2023-03-14 09:36:04 +08:00
Benguang Zhao 8139b725d2 fix: refuse to write when applying progress lagging behind on restored only 2023-03-10 10:57:39 +08:00
Benguang Zhao 5e53b1225b enh: finish restore with commit and applied indexes instead of num of items in apply queue 2023-03-09 19:35:42 +08:00
Benguang Zhao 552d0bc8a0 enh: not allow to insert if Tsdb applied lagging behind too far 2023-03-09 18:56:12 +08:00
Benguang Zhao 9d10739908 enh: send rsp of negotiation failure ahead of apply queue 2023-03-09 16:18:44 +08:00
Shengliang Guan a8dbfe9595
Merge pull request #20346 from taosdata/FIX/TD-22572-main
enh: no need to wait for emptying apply queue in syncNodePreClose
2023-03-09 15:17:10 +08:00
Benguang Zhao 24ebb2f547 enh: no need to wait for emptying apply queue in syncNodePreClose 2023-03-08 19:35:05 +08:00
Shengliang Guan 72680094fc
Merge pull request #20314 from taosdata/FIX/TD-22983-main
enh: keep extra raft Logs before minimum match index
2023-03-08 17:52:46 +08:00
Benguang Zhao eca97bf5b4 enh: keep extra raft Logs before minimum match index 2023-03-07 16:44:47 +08:00
Benguang Zhao 21c18a4a9b enh: use syncNodeReplicateReset in syncNodeOnSnapshotRsp 2023-03-07 16:34:02 +08:00
Benguang Zhao 383459441d enh: simplify conditions of triggering snapshot 2023-03-07 15:43:20 +08:00
Benguang Zhao 62d4729eb8 enh: print term in logging msg of raftStoreWriteFile 2023-03-07 15:19:47 +08:00
Benguang Zhao b91734cf91 enh: sync log retention of mnode configurable with mndLogRetention 2023-03-04 09:51:34 +08:00
Xiaoyu Wang d6dd087f84 merge main 2023-02-25 10:29:20 +08:00
Xiaoyu Wang 58fc265b80 merge main 2023-02-24 13:26:45 +08:00
Xiaoyu Wang d04d610a85
Merge pull request #20061 from taosdata/FIX/TD-22611-main
enh: refactor syncBeginSnapshot and walBeginSnapshot for logRetention
2023-02-24 13:12:06 +08:00
Xiaoyu Wang 1ab144609e merge main 2023-02-23 14:58:22 +08:00
Benguang Zhao e45367f924 fix: resolve coverity scan issues in sync and wal 2023-02-23 14:16:21 +08:00
Benguang Zhao 3b47dd753e enh: update pSyncNode->minMatchIndex in sncNodeEqPeerHeartbeatTimer 2023-02-21 20:01:54 +08:00
Benguang Zhao b0b9877265 fix: check if log buffer is empty in syncNodeOnLocalCmd 2023-02-21 19:00:47 +08:00
Benguang Zhao 0c7a4bfad9 enh: refactor syncBeginSnapshot and walBeginSnapshot for logRetention 2023-02-20 19:19:49 +08:00
Xiaoyu Wang c597de099f merge main 2023-02-20 13:41:27 +08:00
Benguang Zhao d51c3c36fb fix: not allow to read if sync is restoring 2023-02-17 19:47:52 +08:00
Xiaoyu Wang 4353e70c89
Merge pull request #20017 from taosdata/FIX/TD-22285-main
fix: synchronize access to raftStore
2023-02-17 12:57:44 +08:00
Benguang Zhao 99bfc95d54 fix: synchronize access to raftStore 2023-02-13 19:00:10 +08:00
Benguang Zhao 767080922a fix: set SYNC_VNODE_LOG_RETENTION as TSDB_SYNC_LOG_BUFFER_RETENTION + 1 2023-02-13 14:16:19 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Benguang Zhao 5ce5dded75 enh: reset wal reader after walReadVer 2023-02-08 14:41:15 +08:00
Xiaoyu Wang 09925437e3 merge main 2023-02-08 09:51:52 +08:00
Shengliang Guan 4d20469e2b fix: adjust log formats 2023-02-07 00:12:05 +08:00