Benguang Zhao
|
55bae49d56
|
Merge branch 3.0 to FIX/TD-19334-3.0
|
2022-11-30 23:47:30 +08:00 |
Minghao Li
|
7497eab926
|
refactor(sync): if already start, force close snapshot receiver
|
2022-11-30 20:32:43 +08:00 |
Benguang Zhao
|
b63afcd52f
|
enh: reset sync log repl mgr on snapshot ending
|
2022-11-25 23:32:32 +08:00 |
Benguang Zhao
|
22d64b9c0b
|
fix: remove syncNodeReplicateOne from syncNodeOnSnapshotReply
|
2022-11-24 15:55:31 +08:00 |
Benguang Zhao
|
f68e41a40e
|
enh: initialize log buffer again after receiving a complete snapshot
|
2022-11-23 15:57:40 +08:00 |
Minghao Li
|
023f61ccf5
|
fix(sync): fix asan error, TD-20437
|
2022-11-16 10:54:06 +08:00 |
Shengliang Guan
|
fd7a499946
|
refact: adjust sync snapshotsend rsp
|
2022-11-13 16:41:40 +08:00 |
Shengliang Guan
|
eec0ab8c8d
|
refact: adjust sync snapshotsend msg
|
2022-11-13 16:39:21 +08:00 |
Shengliang Guan
|
7bcda46c59
|
refact: remove sync pre snapshot
|
2022-11-13 16:03:45 +08:00 |
Minghao Li
|
58fd2228d9
|
refactor(sync): pre snapshot
|
2022-11-13 10:45:33 +08:00 |
Minghao Li
|
352c2d8ec0
|
refactor(sync): pre snapshot
|
2022-11-11 20:46:30 +08:00 |
Shengliang Guan
|
f7d263862b
|
refact: remove assert and adjust log
|
2022-11-10 11:26:52 +08:00 |
Shengliang Guan
|
a1c8db0f88
|
refact: adjust sync log
|
2022-11-07 17:35:24 +08:00 |
Minghao Li
|
f7191d2ffd
|
refactor(sync): add pre snapshot
|
2022-11-02 15:25:14 +08:00 |
Minghao Li
|
59448cd18e
|
refactor(sync): pre snapshot on message
|
2022-11-01 15:20:08 +08:00 |
Minghao Li
|
21d60cb5be
|
refactor(sync): pre snapshot on message
|
2022-11-01 11:46:29 +08:00 |
Minghao Li
|
357951e947
|
refactor(sync): modify some code
|
2022-10-19 16:08:42 +08:00 |
Minghao Li
|
e810f2ad64
|
refactor(sync): delete old code, ok
|
2022-10-18 13:53:03 +08:00 |
Minghao Li
|
8a6eaed6f6
|
refactor(sync): delete some code
|
2022-10-17 17:36:51 +08:00 |
Minghao Li
|
092a07475d
|
refactor(sync): process hb and appendentries
|
2022-10-17 16:38:44 +08:00 |
Minghao Li
|
a3f8c03a65
|
refacotr(sync): add case sync2-test.sim
|
2022-10-17 10:58:55 +08:00 |
Minghao Li
|
5745223bca
|
refactor(sync): add double queues in mnode
|
2022-10-17 10:33:27 +08:00 |
Minghao Li
|
4d123c4da6
|
refactor(sync): add interface in sync
|
2022-10-14 11:18:48 +08:00 |
Minghao Li
|
2ae4081a3f
|
refactor(sync): add double queues in vnode
|
2022-10-13 20:57:36 +08:00 |
Benguang Zhao
|
b71a9e3483
|
enh: improve error handling in syncNodeOpen
|
2022-09-28 13:34:13 +08:00 |
Minghao Li
|
87dd0fc168
|
refactor(sync): delete ASSERT(0) in snapshotReceiverFinish
|
2022-09-01 10:54:02 +08:00 |
Minghao Li
|
8da7950282
|
refactor(sync): close receiver when become leader
|
2022-08-22 15:40:28 +08:00 |
Minghao Li
|
cedad48a73
|
refactor(sync): add ref in log entry
|
2022-07-25 17:47:15 +08:00 |
Minghao Li
|
11b473fe9e
|
refactor(sync): add trace log
|
2022-07-20 11:56:46 +08:00 |
Minghao Li
|
fdf7930702
|
refactor(sync): add index/term in snapshot write
|
2022-07-16 18:09:36 +08:00 |
Minghao Li
|
2dd7abd47e
|
refactor(sync): add vnode snapshot case
|
2022-07-11 10:34:02 +08:00 |
Shengliang Guan
|
6bb8a9ad8a
|
refactor: adjust logs
|
2022-07-08 19:41:23 +08:00 |
Shengliang Guan
|
a5e8ddbc56
|
refactor: adjust logs
|
2022-07-08 18:00:19 +08:00 |
Minghao Li
|
78efbaabe1
|
refactor(sync): add syncGetSnapshotByIndex
|
2022-07-06 15:16:52 +08:00 |
Minghao Li
|
88b0ab5458
|
fix(sync): release SyncNode ref
|
2022-07-05 17:32:51 +08:00 |
Minghao Li
|
e8160342c3
|
refactor(sync): snapshot sender, receiver
|
2022-07-05 14:38:44 +08:00 |
Minghao Li
|
a5d3b7033a
|
refactor(sync): add snapshot writer param
|
2022-07-04 14:18:06 +08:00 |
Minghao Li
|
086ec29ca0
|
refactor(sync): add SyncClientRequestBatch
|
2022-07-02 14:41:54 +08:00 |
Minghao Li
|
d4ab134645
|
refactor(sync): add snapshot2 interface
|
2022-07-01 17:30:52 +08:00 |
Minghao Li
|
1a8cf049b7
|
refactor(sync): add syncAppendEntriesBatch
|
2022-06-30 13:39:13 +08:00 |
Minghao Li
|
18b78f2450
|
refactor(sync): add return code restore from snapshot
|
2022-06-29 14:50:59 +08:00 |
Minghao Li
|
4bd650609d
|
refactor(sync): delete old functions
|
2022-06-29 14:02:40 +08:00 |
Minghao Li
|
aded474d5b
|
refactor(sync): adjust trace log
|
2022-06-28 16:19:15 +08:00 |
Minghao Li
|
33d1440e7b
|
refactor(sync): adjust trace log
|
2022-06-28 14:23:45 +08:00 |
Minghao Li
|
4c410bd5ec
|
refactor(sync): refactor snapshot code
|
2022-06-28 11:33:14 +08:00 |
Minghao Li
|
2647ec21e0
|
refactor(sync): add comments in snapshot
|
2022-06-27 20:23:08 +08:00 |
Minghao Li
|
6eecbcd1a6
|
refactor(sync): optimized one replica
|
2022-06-26 01:16:11 +08:00 |
Minghao Li
|
3d9ffc42e8
|
refactor(sync): refactor wal abstraction
|
2022-06-23 21:16:16 +08:00 |
Minghao Li
|
13c916f5cb
|
fix(sync): update lcindex to -1, when get error
|
2022-06-22 19:48:36 +08:00 |
Minghao Li
|
0ba3326b99
|
fix(sync): update commit index when apply snapshot
|
2022-06-22 10:35:39 +08:00 |