Commit Graph

236 Commits

Author SHA1 Message Date
Minghao Li e051bc51db refactor(sync): add trace log 2022-06-23 11:23:44 +08:00
Minghao Li a701451a27 refactor(sync): add trace log 2022-06-23 11:09:01 +08:00
Minghao Li 9786ba2fbe fix(sync): update nextindex, matchindex when backto nolog 2022-06-23 10:10:57 +08:00
Minghao Li 2f2715aca4 fix(sync): save saveErr 2022-06-22 20:23:49 +08:00
Minghao Li 4381c3620d refactor(sync): calculate index after append entry 2022-06-21 19:00:24 +08:00
Minghao Li 363c98e9ed refactor(sync): abstract for log store 2022-06-21 17:45:08 +08:00
Minghao Li ecc43b6697 refactor(sync): delete some assert 2022-06-21 16:02:36 +08:00
Minghao Li b61a5cd126 refactor(sync) add trace log 2022-06-21 15:30:24 +08:00
Minghao Li 0fb64add90 refactor(sync) add trace log 2022-06-21 15:09:23 +08:00
Shengliang Guan e87baa8df7 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-06-21 11:42:11 +08:00
Shengliang Guan 714c599fd7 fix: deadlock while set standby 2022-06-21 11:40:27 +08:00
Minghao Li 50e3527f2b refactor(sync): set ranmdom seed by ns 2022-06-21 11:11:16 +08:00
Minghao Li 3b7e0bfdcc fix(sync): set standby when not follower 2022-06-20 20:55:40 +08:00
Minghao Li 9f76504830 refactor(sync): propose fail when changing 2022-06-20 20:10:13 +08:00
Minghao Li 3573ae1564 refactor(sync): block when changing 2022-06-20 20:07:36 +08:00
Minghao Li e441bd266b refactor(sync): add changing state 2022-06-20 17:48:56 +08:00
Minghao Li 5968c6353f refactor(sync): get snapshot and create reader 2022-06-20 10:58:59 +08:00
Minghao Li 16930ac3aa refactor(sync): adjust log buf size 2022-06-18 18:42:40 +08:00
Minghao Li f5366425ed refactor(sync): append noop in become leader 2022-06-18 17:02:29 +08:00
Minghao Li b247762931 refactor(sync) refactor trace log 2022-06-18 15:17:58 +08:00
Shengliang Guan ab2f268601 Merge branch 'fix/tsim' into fix/dnode 2022-06-17 14:53:04 +08:00
Shengliang Guan 43f8f34b0f refactor: adjust logs 2022-06-17 14:24:17 +08:00
Shengliang Guan 6e6f559f9c Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-17 14:06:44 +08:00
Minghao Li 9ab28e0b88 refactor(sync): add last config index in fsm cbMeta 2022-06-17 14:05:52 +08:00
Shengliang Guan ce08a98149 Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-17 13:09:19 +08:00
Minghao Li 455a8da0ad refactor(sync): add config index to json 2022-06-17 13:08:41 +08:00
Shengliang Guan 7e0ad8781b refactor(sync) add raft cfg test 2022-06-17 11:46:19 +08:00
Shengliang Guan 28b3268224 fix(sync) add trace log 2022-06-17 11:40:18 +08:00
Minghao Li f5db109e61 fix(sync): get last max snapshot index 2022-06-17 11:37:10 +08:00
Shengliang Guan dd024941b7 Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-16 19:10:52 +08:00
Minghao Li 3fdd0c30ac refactor(sync): add trace log 2022-06-16 19:08:44 +08:00
Shengliang Guan 5d9a3850d2 Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-16 18:09:30 +08:00
Minghao Li 46c09f2c84 refactor(sync): add trace log 2022-06-16 18:08:01 +08:00
Shengliang Guan 34b6ecafba Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699 2022-06-16 17:42:27 +08:00
Minghao Li 15ac89590c refactor(sync): add trace log 2022-06-16 17:41:01 +08:00
Shengliang Guan fe9f8bfe98 Merge remote-tracking branch 'origin/3.0' into test/chr/TD-14699 2022-06-16 17:39:39 +08:00
Shengliang Guan 35c47cee55 Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699 2022-06-16 16:17:20 +08:00
Minghao Li 2f81a41f98 refactor(sync): add syncIsReady 2022-06-16 16:16:40 +08:00
Minghao Li 9a9200d28b refactor(sync): add restore finish when become leader again 2022-06-16 15:38:40 +08:00
Shengliang Guan 7aa087a48d feat: redistribute vgroup 2022-06-16 15:25:04 +08:00
Minghao Li 77b03ac821 refactor(sync): add restore finish when become leader again 2022-06-16 14:40:42 +08:00
Shengliang Guan 19439c8b58 fix: adjust log 2022-06-15 19:55:36 +08:00
Minghao Li dcd65e6dea refactor(sync): do not heartbeat when 1 replica 2022-06-15 17:17:15 +08:00
Minghao Li 4b18bd718e refactor(sync): adjust errno 2022-06-15 16:14:17 +08:00
Minghao Li c9f6c20410 refactor(sync): if eqmsg error, return 2022-06-15 11:42:04 +08:00
Minghao Li 6c7072286d refactor(sync): if eqmsg error, return 2022-06-15 11:06:06 +08:00
Li Minghao c156d964b6
Merge pull request #13841 from taosdata/feature/3.0_mhli
refactor(sync): add respMgr trace log
2022-06-14 22:56:42 +08:00
Minghao Li a51eee06eb refactor(sync): add trace log 2022-06-14 20:39:53 +08:00
Minghao Li b60fde8f73 refactor(sync): add trace log 2022-06-14 20:33:57 +08:00
Li Minghao 41a285a3f6
Merge pull request #13807 from taosdata/feature/3.0_mhli
refactor(sync): update replica index in snapshot sender
2022-06-14 15:21:09 +08:00