Commit Graph

1198 Commits

Author SHA1 Message Date
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
Benguang Zhao e0412d3057 fix: request snapshot from maximum of commit vers of tsdb and wal 2023-02-03 18:52:59 +08:00
Xiaoyu Wang 5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
Benguang Zhao 561ee87e9d enh: change the level of sync probe logging msg to trace 2023-02-03 09:22:00 +08:00
Benguang Zhao b6b0b3439e enh: rename syncNodeOnSnapshotPre to syncNodeOnSnapshotPrep 2023-02-02 19:34:32 +08:00
Benguang Zhao 043fc8d980 enh: improve logging msgs for sync snapshot repl 2023-02-01 19:26:58 +08:00
Hongze Cheng 0f00862d8b Merge branch 'fix/TD-22070' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-30 10:17:59 +08:00
Benguang Zhao bd23a36f86 fix: round lastApplyIndex up to beginIndex -1 in syncBeginSnapshot 2023-01-29 18:03:09 +08:00
Hongze Cheng 5e7b6602c5 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-29 14:05:15 +08:00
Xiaoyu Wang 284286cbc4
Merge pull request #19621 from taosdata/FIX/TD-21218-main
enh: remove unused old routines in sync
2023-01-29 10:56:29 +08:00
Xiaoyu Wang 24157e78d6 merge main 2023-01-28 17:52:58 +08:00
Benguang Zhao 1f01ba7cc0 fix: not keep wal log vnodeCommit'ed for single replica db 2023-01-18 16:34:08 +08:00
Benguang Zhao e55a76e25a Merge branch main into FIX/TD-21218-main 2023-01-18 10:15:16 +08:00
Benguang Zhao d611793537 enh: remove unused old routines in sync 2023-01-18 10:07:16 +08:00
Shengliang Guan e11d57d58c
Merge pull request #19533 from taosdata/FIX/TD-21662-main
enh: skip WAL forceSync for single replica vgroup
2023-01-17 14:25:04 +08:00
Shengliang Guan d476b6db13 enh: update epset on dnode info changed 2023-01-16 15:41:50 +08:00
Shengliang Guan bd531ccfb3
Merge pull request #19542 from taosdata/enh/TD-20047
refact: adjust return value of tmsgUpdateDnodeInfo
2023-01-13 10:54:10 +08:00
Shengliang Guan cd0404bc25 refact: adjust return value of tmsgUpdateDnodeInfo 2023-01-12 17:08:33 +08:00
Shengliang Guan 3973e0512d Merge remote-tracking branch 'origin/main' into fix/TD-21663-2 2023-01-12 13:29:35 +08:00
Benguang Zhao 5a4cc36079 enh: skip WAL forceSync for single replica vgroup 2023-01-12 09:25:55 +08:00
Benguang Zhao 871a585a61 enh: fsync each WAL log after appending when wal_level=2 and wal_fsync_period=0 2023-01-11 18:28:45 +08:00
Shengliang Guan cff741e4c4 fix: coverity issues 2023-01-11 16:56:14 +08:00
Benguang Zhao 639652314f Merge branch main to FIX/TD-21428-main 2023-01-09 16:17:00 +08:00
Shengliang Guan 9a9e93b6fe fix: compile error in mac 2023-01-09 12:06:20 +08:00
Shengliang Guan 2aeda3a941 enh: refact raft store file 2023-01-09 12:01:36 +08:00
Shengliang Guan 42d911bf8e Merge remote-tracking branch 'origin/main' into FIX/TD-21043-main 2023-01-08 09:44:07 +08:00