Commit Graph

200 Commits

Author SHA1 Message Date
Benguang Zhao ae26f701ae fix: ignore TSDB_CODE_MND_TRANS_SYNC_TIMEOUT on updating trans 2023-06-02 18:49:15 +08:00
Benguang Zhao 28efd7dcd7 enh: check trans conflicts in mndTransValidate 2023-05-31 10:53:36 +08:00
Benguang Zhao 4a6d81855b enh: add mndTransValidate for prepare actions 2023-05-30 18:50:00 +08:00
Benguang Zhao 873ad8839b enh: add prepareActions in STrans 2023-05-29 14:13:11 +08:00
cadem 3b78d4382b add learner 2023-04-18 19:03:45 +08:00
Benguang Zhao cc76d78673 enh: separate sync read and write events 2023-03-14 20:35:39 +08:00
Benguang Zhao d679eaf648 enh: update pMnode->applied only when pMsg->code as zero 2023-03-10 18:10:34 +08:00
Benguang Zhao 66631229eb fix: initialize and update pMnode->applied properly 2023-03-10 09:35:38 +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 d27f392beb enh: control frequency of mnode sdb flushing with mndSdbWriteDelta 2023-03-03 17:30:23 +08:00
Benguang Zhao caaff5c546 enh: rotate wal of mnode properly 2023-03-01 10:02:33 +08:00
Xiaoyu Wang 09925437e3 merge main 2023-02-08 09:51:52 +08:00
Shengliang Guan 2dcb281108 fix: should not execute trans if not leader 2023-02-07 02:08:31 +08:00
Shengliang Guan 151dfea99c fix: restore some changes 2023-02-07 00:07:05 +08:00
Shengliang Guan 917d1165a7 fix: set transId to 0 while timeout or in follower state 2023-02-06 22:49:13 +08:00
Shengliang Guan b21ed4b617 fix: not apply to mnode if trans createTime not matched 2023-02-03 15:49:51 +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 e6b4031487 fix: coverity issues 2023-01-12 16:04:57 +08:00
Shengliang Guan 4e6fca5647 Merge remote-tracking branch 'origin/fix/TD-21663' into fix/TD-21663-2 2023-01-12 15:16:47 +08:00
Shengliang Guan 040c975eb2 fix: memory leak in mnode 2023-01-12 15:13:49 +08:00
Shengliang Guan cff741e4c4 fix: coverity issues 2023-01-11 16:56:14 +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
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 3b519172a3 refact: post sem in mnode while sync timeout 2022-12-14 10:30:47 +08:00
Shengliang Guan f623837b60 refact: adjust mnode timer 2022-12-14 09:14:54 +08:00
Shengliang Guan e764666005 fix: return errorcode if sync stop 2022-12-13 11:28:48 +08:00
Shengliang Guan 9da398913e refact: post sem in mnode while sync timeout 2022-12-13 11:11:22 +08:00
Shengliang Guan f137e8395d refact: change SRWLatch to TdThreadMutex in mnode 2022-12-13 10:18:00 +08:00
Shengliang Guan e0215d60ad fix: set restored 2022-12-08 17:53:39 +08:00
Shengliang Guan 46889e2dc1 fix: avoid sync restore repeat called 2022-12-08 17:14:06 +08:00
Benguang Zhao 50883689e7 enh: check contiguousness of indexes applied to vnode tsdb 2022-12-07 17:30:22 +08:00
Benguang Zhao 7eca212756 Merge branch '3.0' into FIX/TD-19334-3.0 2022-12-03 10:02:59 +08:00
Benguang Zhao 2ce07c6ec1 fix: get result of tmsPutToQueue for FpCommitCb 2022-12-03 09:05:50 +08:00
Shengliang Guan 13f36ec20a refact: remove TSDB_CODE_APP_NOT_READY and TSDB_CODE_NODE_NOT_DEPLOYED 2022-12-02 16:06:10 +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 051b73c1ed Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-17 17:28:11 +08:00
Shengliang Guan a57efc49b4 fix: memory leak of sync timer 2022-11-15 13:43:30 +08:00
Minghao Li d672e7a05c refactor(sync): add FpApplyQueueItems in fsm 2022-11-09 16:18:28 +08:00
Shengliang Guan b0f469adb1
Merge pull request #17931 from taosdata/feature/3.0_mhli
fix(sync): when apply queue not empty, can not read
2022-11-07 18:29:53 +08:00
Minghao Li b6aea6ae17 fix(sync): when apply queue not empty, can not read 2022-11-07 16:40:53 +08:00
Benguang Zhao 5878c9a31a fix: impl ring log buffer 2022-11-07 14:27:22 +08:00
Shengliang Guan adb335467c fix: coverity issues 2022-11-05 19:59:18 +08:00
Shengliang Guan 7a537bba09 refact: adjust sync.h and syncState 2022-11-02 10:24:55 +08:00
Shengliang Guan 64633e3dbb enh: refact syncMsg code 2022-11-01 18:34:09 +08:00
Shengliang Guan ee63b49800 Merge remote-tracking branch 'origin/3.0' into fix/TD-20052 2022-11-01 17:11:27 +08:00