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 |
Xiaoyu Wang
|
380a071551
|
fix: handle the memory leak of parser
|
2022-06-13 14:54:38 +08:00 |
Minghao Li
|
b1093b4a79
|
fix(sync): use fqdn instead of raftId
|
2022-06-13 12:13:35 +08:00 |
Shengliang Guan
|
95e4b79091
|
feat: redistribute vgroup
|
2022-06-13 11:55:38 +08:00 |
Minghao Li
|
34c906a1e1
|
refactor(sync): add debug log
|
2022-06-13 10:39:32 +08:00 |
Minghao Li
|
aad288ab17
|
refactor(sync): add debug log
|
2022-06-12 15:21:56 +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
|
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 |
Minghao Li
|
81d0798f5f
|
refactor: update config when there's one locally
|
2022-05-25 14:27:59 +08:00 |
Minghao Li
|
cb20717ce6
|
refactor: votesRespondUpdate
|
2022-05-24 20:23:11 +08:00 |
Minghao Li
|
94438de0ec
|
enh(sync): syncStartStandBy
|
2022-05-24 19:45:09 +08:00 |
Minghao Li
|
800ef42a26
|
Merge branch 'feature/sync-mnode-integration' of https://github.com/taosdata/TDengine into feature/sync-mnode-integration
|
2022-05-24 14:47:11 +08:00 |
Minghao Li
|
aa1de8b34a
|
enh(sync): add FpSnapshotRead FpSnapshotApply
|
2022-05-24 14:46:22 +08:00 |
Shengliang Guan
|
077ea4a14f
|
fix: avoid memory leak in mnode sync
|
2022-05-24 11:58:50 +08:00 |
Shengliang Guan
|
0e8e04805a
|
fix: avoid memory leak
|
2022-05-24 09:46:54 +08:00 |
Minghao Li
|
c7691590be
|
enh(sync) add syncIsRestoreFinish
|
2022-05-23 23:53:15 +08:00 |
Minghao Li
|
1d7bdbc351
|
fix(sync) sync/mnode integration dead lock
|
2022-05-23 21:37:13 +08:00 |
Minghao Li
|
4535722957
|
enh(sync) sync/mnode integration, syncStart async -> sync
|
2022-05-23 15:41:04 +08:00 |
Shengliang Guan
|
e06f9fd05c
|
refactor: sync integrate into mnode
|
2022-05-22 16:04:50 +08:00 |
Minghao Li
|
249aecacda
|
enh(sync) sync/mnode integration
|
2022-05-21 21:26:27 +08:00 |
Shengliang Guan
|
f2a84eda09
|
refactor: adjust vnode header file
|
2022-05-20 10:45:43 +08:00 |
Shengliang Guan
|
0161b6456c
|
refactor: adjust msgcb
|
2022-05-19 19:44:01 +08:00 |
Shengliang Guan
|
81e89ec7b6
|
Merge remote-tracking branch 'origin/3.0' into fix/mnode
|
2022-05-16 20:13:02 +08:00 |
Shengliang Guan
|
fc94b71c80
|
refactor: adjust SRpcMsg
|
2022-05-16 15:17:11 +08:00 |
Minghao Li
|
956ab45a30
|
enh(sync): raft config change
|
2022-05-16 14:10:18 +08:00 |
Minghao Li
|
a2d43fb96f
|
enh(sync): add syncStartStandBy
|
2022-05-14 18:12:53 +08:00 |
Minghao Li
|
f97adf54d3
|
enh(sync): add syncStartStandBy
|
2022-05-13 12:12:37 +08:00 |
Minghao Li
|
b69a26678c
|
enh(sync): raft config change
|
2022-05-12 15:23:41 +08:00 |
Minghao Li
|
589048e96b
|
fix(sync): fix memory leak, RespMgr
|
2022-05-09 20:14:31 +08:00 |
Minghao Li
|
2584b034df
|
add syncGetEpSet
|
2022-04-30 10:29:29 +08:00 |
Minghao Li
|
4d40af9929
|
add redirect
|
2022-04-28 16:41:13 +08:00 |
Minghao Li
|
9a603170b4
|
add redirect before syncPropose
|
2022-04-27 19:28:01 +08:00 |