Commit graph

500 commits

Author SHA1 Message Date
Shengliang Guan
43f8f34b0f refactor: adjust logs 2022-06-17 14:24:17 +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
793e6fa7d9 fix: rollback to avoid tsim/basic.sim failure 2022-06-17 09:26:25 +08:00
Shengliang Guan
e241fc0979 Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-16 21:13:35 +08:00
Minghao Li
d71027ac35 fix(sync): fake match2, need truncate log 2022-06-16 20:43:49 +08:00
Shengliang Guan
2dc41e86cb Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-16 20:10:11 +08:00
Minghao Li
b42c963a5f fix(sync): fake match when prevLogIndex less than commitIndex 2022-06-16 20:08:27 +08:00
Shengliang Guan
5d64fcb117 Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-16 19:47:40 +08:00
Minghao Li
d3f6f07902 fix(sync): fake match when prevLogIndex less than commitIndex 2022-06-16 19:40:08 +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
26ca03af4f fix: crash while mnode sync 2022-06-16 17:24:42 +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
Shengliang Guan
6ad87b9383 Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699 2022-06-16 15:57:20 +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
Minghao Li
58051169d2 refactor(sync): add trace log 2022-06-16 10:54:13 +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
Minghao Li
b25840ebd4 refactor(sync): add test syncRaftIdCheck 2022-06-14 20:19:56 +08:00
Minghao Li
e4da993c15 refactor(sync): add test syncRaftIdCheck 2022-06-14 17:19:54 +08:00
Minghao Li
71dad1ea78 refactor(sync): add test syncRaftIdCheck 2022-06-14 15:50:44 +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
Minghao Li
fa25fa32e0 refactor(sync): add test syncRaftIdChec 2022-06-14 14:54:11 +08:00
Minghao Li
5268b5233a refactor(sync): update replica index in snapshot sender 2022-06-14 14:40:06 +08:00
Minghao Li
a2039d8bb2 fix(sync) if FpEqMsg return error, do not enqueue msg 2022-06-14 13:16:49 +08:00
Minghao Li
979420801e fix(sync) if FpEqMsg return error, do not enqueue msg 2022-06-14 13:07:27 +08:00
Minghao Li
9cd54c5cc9 refactor(sync): update replica index in snapshot sender 2022-06-14 11:16:32 +08:00
Minghao Li
3887e940f1 fix(sync): when receive snapshot rsp from a dropped replica 2022-06-14 10:24:05 +08:00
Shengliang Guan
82112e8d4a
Merge pull request #13786 from taosdata/fix/mnode
fix(sync): send snapshot to multi nodes at the same time
2022-06-14 09:54:21 +08:00
Shengliang Guan
318f2771ea fix(sync): close detail log 2022-06-13 22:36:54 +08:00
Shengliang Guan
be3de7b7df fix(sync): send snapshot to multi nodes at the same time 2022-06-13 22:20:53 +08:00
Minghao Li
e4897e5f46 enh(sync): add leader transfer 2022-06-13 15:52:43 +08:00
Minghao Li
f47a28fe8a enh(sync): add leader transfer 2022-06-13 15:47:43 +08:00
Xiaoyu Wang
1863bbee9a merge 3.0 2022-06-13 15:01:29 +08:00