Commit Graph

906 Commits

Author SHA1 Message Date
Shengliang Guan fba45da225 refact: remove assert and adjust log 2022-11-10 12:43:23 +08:00
Shengliang Guan f7d263862b refact: remove assert and adjust log 2022-11-10 11:26:52 +08:00
Shengliang Guan 69ea49c4c0 Merge branch '3.0' into fix/TD-20052 2022-11-10 09:06:45 +08:00
Shengliang Guan 2103df2907
Merge pull request #18006 from taosdata/feature/3.0_mhli
refactor(sync): if index less than wal.commitVer, do not truncate, otherwise it will print much log
2022-11-09 21:44:18 +08:00
Shengliang Guan efbe9ecbdc
Merge pull request #17999 from taosdata/fix/TD-20052
refact: move sync test code to single lib and reduce the number of memory copies
2022-11-09 19:14:33 +08:00
Shengliang Guan 4646640a11
Merge pull request #18001 from taosdata/fix/sync
fix(sync): fix AddressSanitizer error
2022-11-09 19:13:48 +08:00
Minghao Li fb9e62afe2 refactor(sync): if index less than wal.commitVer, do not truncate, otherwise it will print much log 2022-11-09 19:02:50 +08:00
Shengliang Guan 98b77fe8b4 refact: adjust head file 2022-11-09 19:02:47 +08:00
Shengliang Guan fdad108726 Merge branch '3.0' into fix/TD-20052 2022-11-09 18:02:46 +08:00
Minghao Li 153c01ee73 fix(sync): fix AddressSanitizer error 2022-11-09 17:38:46 +08:00
Shengliang Guan f2fd847414 refact: move sync test code to single lib 2022-11-09 17:35:22 +08:00
Minghao Li fcc50467f4 fix(sync): fix AddressSanitizer error 2022-11-09 17:33:22 +08:00
Shengliang Guan 340bad7e99 Merge branch '3.0' into fix/TD-20052 2022-11-09 17:29:24 +08:00
Minghao Li 2391391621 refactor(sync): save error code in syncPrintNodeLog 2022-11-09 16:44:05 +08:00
Minghao Li 18363f52e5 refactor(sync): add FpApplyQueueItems in fsm 2022-11-09 16:35:26 +08:00
Minghao Li d672e7a05c refactor(sync): add FpApplyQueueItems in fsm 2022-11-09 16:18:28 +08:00
Shengliang Guan 15e7e345dc refact: move sync test code to single lib 2022-11-09 14:45:07 +08:00
Minghao Li 372d26f74b refactor(sync): delete assert, call FpCommitCb when multi replica 2022-11-09 11:24:11 +08:00
Shengliang Guan ebc17283de
Merge pull request #17974 from taosdata/fix/TD-20052
refact: adjust sync resp mgr
2022-11-08 23:56:25 +08:00
Shengliang Guan bf1aca1b9e fix: send response on enqueue msg failed 2022-11-08 23:00:14 +08:00
Shengliang Guan 1c8a2d696d fix: send response on enqueue msg failed 2022-11-08 22:59:05 +08:00
Shengliang Guan a4e96ca833 refact: adjust sync resp mgr 2022-11-08 22:43:12 +08:00
Shengliang Guan 29f8878519 refactor: adjust sync hb 2022-11-07 23:32:04 +08:00
Shengliang Guan 05d0a0fe30 Merge branch 'enh/TD-20043' of https://github.com/taosdata/TDengine into enh/TD-20043 2022-11-07 23:31:09 +08:00
Shengliang Guan 9914657cb0 refactor: adjust sync hb 2022-11-07 23:31:01 +08:00
Shengliang Guan 70d60a764f Merge branch '3.0' into enh/TD-20043 2022-11-07 23:29:53 +08:00
Shengliang Guan 8c97a5c1f2
Merge pull request #17940 from taosdata/feature/3.0_mhli
refactor(sync): delete assert, add error log
2022-11-07 23:26:24 +08:00
Shengliang Guan 848fd58402 enh: adjust sync propose 2022-11-07 21:12:43 +08:00
Shengliang Guan 4ddd25a29c enh: adjust sync propose 2022-11-07 20:31:26 +08:00
Shengliang Guan 46e55ba9fb refact: remove config change codes 2022-11-07 20:19:55 +08:00
Minghao Li d05f9412eb refactor(sync): delete assert, add error log 2022-11-07 19:40:49 +08:00
Shengliang Guan e060de7059 refact: remove config change codes 2022-11-07 19:34:48 +08:00
Shengliang Guan 1ddbeb43bb refact: adjust sync log 2022-11-07 19:19:10 +08:00
Shengliang Guan bc072aa654 Merge branch '3.0' into enh/TD-20043 2022-11-07 18:45:44 +08:00
Shengliang Guan 4baafd3417 refact: adjust sync log 2022-11-07 18:44:29 +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
Shengliang Guan a1c8db0f88 refact: adjust sync log 2022-11-07 17:35:24 +08:00
Minghao Li b6aea6ae17 fix(sync): when apply queue not empty, can not read 2022-11-07 16:40:53 +08:00
dapan1121 5ab6166efe enh: support grant check in vnode query 2022-11-07 16:23:40 +08:00
Shengliang Guan adb335467c fix: coverity issues 2022-11-05 19:59:18 +08:00
dapan1121 7081ebe9e6
Merge pull request #17877 from taosdata/enh/TD-19920
enh: add show rewrite mask in query msg
2022-11-05 15:35:51 +08:00
Minghao Li ddb815ac42 refactor(sync): optimize advance commit index when one replica 2022-11-05 10:54:59 +08:00
Minghao Li 47d9fe6422 fix(sync): do not vote when last-index < my cmt index 2022-11-04 15:10:08 +08:00
dapan1121 65636154ea fix: fix msg head issue 2022-11-04 10:47:49 +08:00
Minghao Li 1f329f3025 refactor(sync): delete assert 2022-11-04 10:41:36 +08:00
Minghao Li 0838afaa18 refactor(sync): add syncIsReadyForRead, set error code 2022-11-03 14:35:42 +08:00
Minghao Li a4b54c4f0e refactor(sync): add syncIsReadyForRead 2022-11-03 13:57:57 +08:00
Minghao Li 1fc79e289d refactor(sync): modify leader transfer 2022-11-03 11:50:24 +08:00
Minghao Li 102969086d refactor(sync): add local-cmd:follower-commit 2022-11-03 10:25:38 +08:00
Minghao Li 1a4b7622e4 enh(sync): add sync pre stop 2022-11-03 09:39:20 +08:00