Commit Graph

446 Commits

Author SHA1 Message Date
Shengliang Guan 95e4b79091 feat: redistribute vgroup 2022-06-13 11:55:38 +08:00
Minghao Li 6a4cdadef6 refactor(sync): add debug log 2022-06-11 21:56:44 +08:00
Minghao Li f92f1bbcc0 fix(sync): snapshot overwrite config change 2022-06-11 16:20:15 +08:00
Minghao Li 104a1bb59b fix(sync): snapshot overwrite config change 2022-06-11 16:11:18 +08:00
Minghao Li dffbec29c7 refactor(sync): add last config index z 2022-06-11 15:31:49 +08:00
Minghao Li fa54663871 refactor(sync): add last config index 2022-06-11 13:52:17 +08:00
Minghao Li 4af9d14457 refactor(sync): add last config index 2022-06-11 13:08:30 +08:00
Minghao Li 6adadc0b26 refactor(sync): add last config index 2022-06-11 13:03:58 +08:00
Minghao Li 6586f78599 refactor(sync): add last config index 2022-06-11 12:44:58 +08:00
Minghao Li ae5219dd6e refactor(sync): add heartbeat log 2022-06-10 22:29:28 +08:00
Minghao Li 972fee7fbc refactor(sync): add rpcMsg to reconfig callback 2022-06-10 17:39:30 +08:00
Minghao Li e9d466ec82 refactor(sync) delete some trace log 2022-06-10 16:51:17 +08:00
Minghao Li 736862541e fix(sync): restart with config change 2022-06-10 15:19:11 +08:00
Minghao Li b351fd8261 refactor(sync): add log 2022-06-10 13:15:43 +08:00
Minghao Li 2c38692258 refactor(sync): add log 2022-06-10 11:28:41 +08:00
Minghao Li 3148df2107 fix(sync): compatibility for both mnode(use snapshot) and vnode(no snapshot) 2022-06-09 17:16:06 +08:00
Shengliang Guan 81e431b16a Merge branch 'feature/sync-refactor' of https://github.com/taosdata/TDengine into feature/sync-refactor 2022-06-09 16:33:43 +08:00
Minghao Li 9a61a567c5 refactor(sync): set gRaftDetailLog false 2022-06-09 16:32:37 +08:00
Shengliang Guan 0beb323653 Merge branch 'feature/sync-refactor' of https://github.com/taosdata/TDengine into feature/sync-refactor 2022-06-09 16:16:13 +08:00
Minghao Li 7ae6d8f77d refactor(sync): set gRaftDetailLog true 2022-06-09 14:18:57 +08:00
Minghao Li ee32302101 refactor(sync): add detail log flag 2022-06-09 14:14:45 +08:00
Shengliang Guan 65f65b53b3 Merge remote-tracking branch 'origin/3.0' into feature/sync-refactor 2022-06-09 13:49:43 +08:00
Minghao Li 4f7dc62433 refactor(sync): add detail log flag 2022-06-09 12:56:52 +08:00
Minghao Li d81f5e9f77 fix(sync): add detail log flag 2022-06-09 11:18:48 +08:00
Minghao Li 89e2c2d47a fix(sync): update sender when become leader 2022-06-09 11:00:28 +08:00
Minghao Li e070657778 refactor(sync): add syncGetSnapshotMeta 2022-06-08 23:20:07 +08:00
Minghao Li 61cc736ca0 fix(sync): create db core due to snapshot 2022-06-08 23:08:40 +08:00
Minghao Li e86ee68f8b refactor(sync): sync snapshot 2022-06-08 22:43:58 +08:00
Minghao Li 98a2451c15 refactor(sync): sync snapshot 2022-06-08 21:55:36 +08:00
Shengliang Guan bc8e6b7fd7 refactor: adjust vnode sync 2022-06-08 21:17:17 +08:00
Minghao Li 29b97fa0ad refactor(sync): syncNodeOnAppendEntriesReplySnapshotCb 2022-06-08 19:53:07 +08:00
Minghao Li aa107d03c3 refactor(sync): SSyncSnapshotReceiver 2022-06-08 18:17:17 +08:00
Minghao Li 76185e1742 refactor(sync): SSyncSnapshotSender 2022-06-08 18:07:50 +08:00
Minghao Li d72d2d698c refactor(sync): SyncAppendEntries 2022-06-08 17:44:32 +08:00
Minghao Li 39d0b652ba refactor(sync): add raft log test 2022-06-08 17:18:26 +08:00
Minghao Li 687caac2bf refactor(sync): add raft log test 2022-06-08 16:45:40 +08:00
Minghao Li f6aed44076 refactor(sync): syncNodeSendMsgById to one line 2022-06-08 13:52:33 +08:00
Minghao Li 77cd6f44f4 refactor(sync): syncUtilJson2Line 2022-06-08 11:25:24 +08:00
Minghao Li 2547e8d02e refactor: sync index 2022-06-08 11:03:28 +08:00
Minghao Li eba8f2b543 fix(sync) send snapshot multi-times 2022-06-07 19:20:05 +08:00
Minghao Li 0e41ab7f99 Merge branch 'feature/sync-refactor' of https://github.com/taosdata/TDengine into feature/sync-refactor 2022-06-07 18:34:07 +08:00
Minghao Li 31b54e7462 enh(sync): add privateTerm into SyncSnapshotRsp, SyncSnapshotSend, SSyncSnapshotReceiver 2022-06-07 18:33:06 +08:00
Shengliang Guan 4e99992cff fix: change quorum on sync reconfig successed 2022-06-07 18:00:50 +08:00
Shengliang Guan 9efa68ab96 Merge branch 'fix/mnode' into feature/sync-refactor 2022-06-07 17:11:52 +08:00
Minghao Li 7852188394 enh(sync): add privateTerm into SSyncSnapshotSender, SyncAppendEntries, SyncAppendEntriesReply 2022-06-07 16:49:07 +08:00
Shengliang Guan a047d4a559 Merge remote-tracking branch 'origin/feature/sync-refactor' into fix/mnode 2022-06-07 16:37:50 +08:00
Minghao Li 305f4a8580 enh(sync): add term into index mgr 2022-06-07 16:33:37 +08:00
Minghao Li 8680da282a fix(sync): snapshot maybe change when sending 2022-06-07 15:36:41 +08:00
Minghao Li 326714a077 fix(sync): snapshot maybe change when sending 2022-06-07 14:35:20 +08:00
Minghao Li 44a893a1c1 fix(sync): snapshot maybe change when sending 2022-06-07 13:48:40 +08:00