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
|
3148df2107
|
fix(sync): compatibility for both mnode(use snapshot) and vnode(no snapshot)
|
2022-06-09 17:16:06 +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
|
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
|
e86ee68f8b
|
refactor(sync): sync snapshot
|
2022-06-08 22:43:58 +08:00 |
Shengliang Guan
|
bc8e6b7fd7
|
refactor: adjust vnode sync
|
2022-06-08 21:17:17 +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
|
2547e8d02e
|
refactor: sync index
|
2022-06-08 11:03:28 +08:00 |
Shengliang Guan
|
4e99992cff
|
fix: change quorum on sync reconfig successed
|
2022-06-07 18:00:50 +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
|
8680da282a
|
fix(sync): snapshot maybe change when sending
|
2022-06-07 15:36:41 +08:00 |
Minghao Li
|
44a893a1c1
|
fix(sync): snapshot maybe change when sending
|
2022-06-07 13:48:40 +08:00 |
Minghao Li
|
a89e455267
|
fix(sync): delete some assert temporary
|
2022-06-07 09:55:18 +08:00 |
Minghao Li
|
2071c5a74e
|
fix(sync): sending snapshot
|
2022-06-06 20:02:27 +08:00 |
Minghao Li
|
6b329f791b
|
enh(sync): update raft core functions
|
2022-06-06 16:35:44 +08:00 |
Minghao Li
|
af27303a4c
|
enh(sync): update raft core functions
|
2022-06-06 16:02:25 +08:00 |
Minghao Li
|
5009b7822f
|
enh(sync): add log index manager
|
2022-06-06 11:24:25 +08:00 |
Minghao Li
|
5908631ec3
|
enh(sync): add log store2
|
2022-06-05 19:47:54 +08:00 |
Shengliang Guan
|
30da7560f8
|
Merge remote-tracking branch 'origin/3.0' into fix/mnode
|
2022-06-04 11:50:47 +08:00 |
Shengliang Guan
|
e35ebdadac
|
refactor: rename LEADER to leader
|
2022-06-02 14:35:59 +08:00 |
Minghao Li
|
c3bf3cc97c
|
fix: send snapshot
|
2022-06-01 21:57:30 +08:00 |
Minghao Li
|
757a1248dc
|
fix: send snapshot
|
2022-06-01 21:23:39 +08:00 |
Minghao Li
|
78db753a64
|
refactor: review syncNodeAppendEntriesPeersSnapshot
|
2022-06-01 16:30:04 +08:00 |
Minghao Li
|
403f6085d5
|
refactor: review syncNodeRequestVotePeersSnapshot
|
2022-06-01 15:52:09 +08:00 |
Minghao Li
|
13b336d569
|
add snapshot test
|
2022-06-01 15:03:01 +08:00 |
Minghao Li
|
2e840969c8
|
refactor: snapshotReSend
|
2022-06-01 13:53:21 +08:00 |
Minghao Li
|
71c57d7769
|
refactor: sender code
|
2022-06-01 11:28:33 +08:00 |
Minghao Li
|
cdc0dc487f
|
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
|
2022-05-30 21:24:05 +08:00 |
Minghao Li
|
b9e4543a40
|
enh(sync): add SyncSnapshotRsp SyncSnapshotSend
|
2022-05-30 21:21:51 +08:00 |
Minghao Li
|
c5526ef915
|
enh(sync): add SyncSnapshotRsp SyncSnapshotSend
|
2022-05-30 21:11:14 +08:00 |
Minghao Li
|
6be4119fe7
|
add syncNodeIsIndexInSnapshot syncNodeGetLastIndexTerm syncNodeGetPreIndexTerm
|
2022-05-30 18:45:09 +08:00 |
Minghao Li
|
79ae770a0b
|
enh(sync): add snapshotEnable2
|
2022-05-30 17:31:55 +08:00 |
Minghao Li
|
d6c57bd372
|
enh(sync): add snapshotEnable2
|
2022-05-30 13:14:48 +08:00 |
Minghao Li
|
bdc9acbf2e
|
enh(sync): add snapshotEnable
|
2022-05-30 12:26:15 +08:00 |
Cary Xu
|
f2b4cca23d
|
fix: init buffer to avoid invalid write
|
2022-05-29 01:10:32 +08:00 |
Cary Xu
|
890075ef4a
|
fix: init buf to avoid invalid write
|
2022-05-29 00:59:23 +08:00 |
Minghao Li
|
17ed7e0747
|
fix(sync) delete assert, due to config change
|
2022-05-27 00:00:24 +08:00 |
Minghao Li
|
f078f5b300
|
fix(sync): syncSetStandby
|
2022-05-26 15:08:20 +08:00 |
Minghao Li
|
4e1aa6b5c5
|
refactor: config change
|
2022-05-26 14:21:24 +08:00 |
Minghao Li
|
9a2eddda4c
|
fix(sync), call FpCommitCb twice when FOLLOWER
|
2022-05-26 11:02:35 +08:00 |
Minghao Li
|
8c5f6b6849
|
fix(sync): persist isStandby
|
2022-05-25 18:32:34 +08:00 |
Minghao Li
|
104a207579
|
FpReConfigCb
|
2022-05-25 14:43:45 +08:00 |