Commit graph

183 commits

Author SHA1 Message Date
Shengliang Guan
b21ed4b617 fix: not apply to mnode if trans createTime not matched 2023-02-03 15:49:51 +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
Shengliang Guan
d35028ae4a enh: refact sync callback func 2022-11-01 16:10:07 +08:00
Shengliang Guan
f4dc7d0766 enh: refact sync callback func 2022-11-01 15:35:10 +08:00
Minghao Li
d246514da2 refactor(sync): check msgcb, putToQueueFp NULL 2022-10-31 18:16:58 +08:00
Shengliang Guan
ec786b9d78 fix: alter replica one by one 2022-10-24 11:57:26 +08:00
Shengliang Guan
c6bbd18924 fix: not post sem if transId is 0 2022-10-21 15:33:06 +08:00
Shengliang Guan
9e0feee081 enh: sync propose return at once if replica is 1 2022-10-18 17:06:03 +08:00
Shengliang Guan
78fb1911d4 enh: refactor the code to create and delete mnodes 2022-10-14 17:59:09 +08:00
Hongze Cheng
6ed0634fb7 format more code 2022-10-13 11:56:16 +08:00
Shengliang Guan
e94646ca70 fix: coverity issues 2022-09-29 19:41:54 +08:00
Shengliang Guan
3810b5d4fa fix: add more info log for mnode 2022-09-23 15:42:36 +08:00
Shengliang Guan
a1b295b1ba refactor: change mnode log level 2022-08-25 22:33:27 +08:00
Shengliang Guan
b0263a4bea enh: increase startup time monitoring 2022-08-23 17:29:31 +08:00
Shengliang Guan
d50f36ba97
Merge pull request #16061 from taosdata/fix/mnode
fix: deadlock of mnode if its state changed
2022-08-12 20:29:36 +08:00
Shengliang Guan
65fa1e0164 fix: deadlock of mnode if its state changed 2022-08-12 19:20:31 +08:00
Shengliang Guan
2c28cdcbb5 fix: deadlock of mnode if its state changed 2022-08-12 18:49:41 +08:00
Minghao Li
e50f09aa4c refactor(sync): update mnode elect timer 2022-08-12 18:38:14 +08:00
Minghao Li
7530a7e2e3 refactor(sync): update mnode elect timer 2022-08-12 18:37:08 +08:00