Commit Graph

232 Commits

Author SHA1 Message Date
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +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
Benguang Zhao 28efd7dcd7 enh: check trans conflicts in mndTransValidate 2023-05-31 10:53:36 +08:00
cadem a781d43577 fix/block-check-to-async-check 2023-04-24 10:23:43 +08:00
cadem 3b78d4382b add learner 2023-04-18 19:03:45 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
cadem 86ca5ce210 fix/trigger election by sync msg 2023-03-24 09:13:20 +08:00
Benguang Zhao 9be09492f0 enh: disable timely vnodeCommit 2023-03-24 09:05:06 +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
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 1392711e66 enh: add fsm FpAppliedIndexCb to get the current applied index 2023-03-09 18:14:04 +08:00
Benguang Zhao b91734cf91 enh: sync log retention of mnode configurable with mndLogRetention 2023-03-04 09:51:34 +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
Benguang Zhao 5a4cc36079 enh: skip WAL forceSync for single replica vgroup 2023-01-12 09:25:55 +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
Benguang Zhao ed43aeaa9b enh: add vndCommitMaxInterval cfg param 2022-12-29 19:47:28 +08:00
Benguang Zhao fda2f55fe5 Merge branch main to FIX/TD-21043-main 2022-12-26 14:26:25 +08:00
Benguang Zhao 5159d60f56 enh: vnodeCommit on consensus only 2022-12-23 20:16:32 +08:00
Shengliang Guan 9c8b194c34 refact: set FpSnapshotStopRead return type to void 2022-12-20 15:07:27 +08:00
Shengliang Guan 12b6cf15a0 refact: set FpGetSnapshotInfo return type to void 2022-12-20 14:57:04 +08:00
Shengliang Guan 60bab9ae55 refact: post sem in vnode while sync timeout 2022-12-14 16:09:28 +08:00
Shengliang Guan 2b256542a5 refact: add vnode timer 2022-12-14 09:14:40 +08:00
Minghao Li c29401edf2 refactor(sync): re send snapshot in timer-routine 2022-12-07 19:46:26 +08:00
Benguang Zhao 529d8cc800 enh: enable timeout checking of sync Resp with ttl as 30s 2022-12-06 16:46:53 +08:00
Minghao Li 575c5e89fc refactor(sync): add config item in sync 2022-12-04 09:49:27 +08:00
Benguang Zhao 2ce07c6ec1 fix: get result of tmsPutToQueue for FpCommitCb 2022-12-03 09:05:50 +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
Shengliang Guan b6f1ce2027
Merge pull request #18589 from taosdata/feature/3.0_mhli
refactor(sync): help to display leader**
2022-12-01 11:54:39 +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
Shengliang Guan 5556fd0c45 enh: add sync offline state 2022-11-30 12:02:54 +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
Minghao Li 198e18c348 refactor(sync): add trace log for cache hit, cache miss 2022-11-29 14:58:47 +08:00
Benguang Zhao 4edef438ea enh: transfer ownership of msgs while committing sync log entries 2022-11-26 21:57:23 +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 d5ae1ca18a enh: make the range span of unconfirmed logs sent less than half of the size of log ring buffer 2022-11-25 10:37:56 +08:00
Minghao Li 2b411912d9 refactor(sync): can not propose when heartbeat timeout 2022-11-23 14:17:13 +08:00
Minghao Li 1d48426e94 refactor(sync): del wal in multi-replicas 2022-11-22 12:45:31 +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
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 58fd2228d9 refactor(sync): pre snapshot 2022-11-13 10:45:33 +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
Shengliang Guan 57f1b593e4 refact: adjust head file and sync log 2022-11-11 14:40:21 +08:00