Minghao Li
|
5965629b2e
|
refactor(sync): refacotr sync
|
2022-10-20 16:05:14 +08:00 |
Minghao Li
|
e810f2ad64
|
refactor(sync): delete old code, ok
|
2022-10-18 13:53:03 +08:00 |
Minghao Li
|
2ae4081a3f
|
refactor(sync): add double queues in vnode
|
2022-10-13 20:57:36 +08:00 |
Hongze Cheng
|
c79cc7e454
|
more code format
|
2022-10-13 14:06:27 +08:00 |
Shengliang Guan
|
e94646ca70
|
fix: coverity issues
|
2022-09-29 19:41:54 +08:00 |
Minghao Li
|
c5ec1741bc
|
refactor(sync): add syncHeartbeatReply
|
2022-09-07 18:02:10 +08:00 |
Minghao Li
|
d9363214b7
|
refactor(sync): add syncHeartbeat
|
2022-09-07 15:29:04 +08:00 |
Minghao Li
|
2ca5bdc708
|
refactor(sync): add syncNodeDynamicQuorum
|
2022-08-17 15:39:38 +08:00 |
Minghao Li
|
8328aae50f
|
refactor(sync): add raft config index test
|
2022-08-11 15:22:44 +08:00 |
Minghao Li
|
05229b6650
|
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli
|
2022-08-06 13:18:03 +08:00 |
Minghao Li
|
e628b70726
|
refactor(sync): make leader life longer
|
2022-08-06 13:17:08 +08:00 |
gccgdb1234
|
77d8657e69
|
fix: correct wrong parameter thread_count_create_tbl
|
2022-08-06 10:48:50 +08:00 |
Minghao Li
|
327b938cbb
|
refactor(sync): make leader life longer
|
2022-08-05 15:33:44 +08:00 |
Shengliang Guan
|
56f2e49764
|
refactor: adjust logs
|
2022-08-02 17:12:07 +08:00 |
Minghao Li
|
f9f5449b5d
|
refactor(sync): modify auto bench
|
2022-08-01 14:13:03 +08:00 |
Minghao Li
|
b529f05aec
|
refactor(sync): add test case
|
2022-08-01 11:03:18 +08:00 |
Minghao Li
|
7dc12d7e4f
|
refactor(sync): add test case
|
2022-07-29 11:03:35 +08:00 |
Minghao Li
|
64f4325bd7
|
refactor(sync): modify propose batch interface
|
2022-07-28 17:55:15 +08:00 |
Minghao Li
|
b5ebd55be7
|
refactor(sync): add test case
|
2022-07-28 14:36:11 +08:00 |
Minghao Li
|
cedad48a73
|
refactor(sync): add ref in log entry
|
2022-07-25 17:47:15 +08:00 |
Minghao Li
|
7f2d0dc077
|
refactor(sync): add entry cache test
|
2022-07-25 14:26:41 +08:00 |
Minghao Li
|
75f9f415e6
|
refactor(sync): add entry cache test
|
2022-07-23 16:05:34 +08:00 |
Minghao Li
|
b375a69aa8
|
refactor(sync): add log tool
|
2022-07-22 17:10:02 +08:00 |
Minghao Li
|
da2686ce69
|
refactor(sync): add log tools
|
2022-07-21 16:43:56 +08:00 |
Minghao Li
|
ee237b091d
|
refactor(sync): add log tools
|
2022-07-21 15:43:55 +08:00 |
Minghao Li
|
c4bb5a1a52
|
refactor(sync): add log tools
|
2022-07-21 15:25:46 +08:00 |
Minghao Li
|
ac51192084
|
refactor(sync): add trace log
|
2022-07-21 13:54:24 +08:00 |
Minghao Li
|
9f94dcb384
|
refactor(sync): add index/term in vnodeSnapWriterClose
|
2022-07-18 09:45:33 +08:00 |
Minghao Li
|
511c39a0cf
|
refactor(sync): add skiplist entry cache
|
2022-07-13 15:55:38 +08:00 |
Minghao Li
|
27d06cae30
|
refactor(sync): add syncEntryCacheTest
|
2022-07-11 14:54:40 +08:00 |
Minghao Li
|
9e1b9fe64c
|
refactor(sync): add syncEntryCacheTest
|
2022-07-11 14:21:36 +08:00 |
Minghao Li
|
2dd7abd47e
|
refactor(sync): add vnode snapshot case
|
2022-07-11 10:34:02 +08:00 |
Shengliang Guan
|
a5e8ddbc56
|
refactor: adjust logs
|
2022-07-08 18:00:19 +08:00 |
Minghao Li
|
cc31a7c3c3
|
refactor(sync): add syncRestoreFromSnapshot
|
2022-07-08 15:38:40 +08:00 |
Minghao Li
|
ed6001d5ca
|
refactor(sync): add syncRestoreFromSnapshot
|
2022-07-08 15:31:50 +08:00 |
Minghao Li
|
1ee5468411
|
fix(sync): append entries batch
|
2022-07-08 14:47:00 +08:00 |
Minghao Li
|
78efbaabe1
|
refactor(sync): add syncGetSnapshotByIndex
|
2022-07-06 15:16:52 +08:00 |
Minghao Li
|
83b639ae8f
|
refactor(sync): persist batch size
|
2022-07-06 14:58:38 +08:00 |
Minghao Li
|
cd4bc6e30b
|
refactor(sync): snapshot strategy
|
2022-07-06 11:12:45 +08:00 |
Minghao Li
|
6437d20cda
|
refactor(sync): add resp syncRespCleanByTTL
|
2022-07-04 21:28:52 +08:00 |
Minghao Li
|
ded4616074
|
refactor(sync): add sync strategy
|
2022-07-04 14:55:26 +08:00 |
Minghao Li
|
a5d3b7033a
|
refactor(sync): add snapshot writer param
|
2022-07-04 14:18:06 +08:00 |
Minghao Li
|
4fc500c91c
|
refactor(sync): add SyncAppendEntriesBatch
|
2022-07-02 16:01:47 +08:00 |
Minghao Li
|
086ec29ca0
|
refactor(sync): add SyncClientRequestBatch
|
2022-07-02 14:41:54 +08:00 |
Minghao Li
|
0ffc6c46f3
|
refactor(sync): add snapshot2 interface
|
2022-07-01 14:47:12 +08:00 |
Minghao Li
|
1a8cf049b7
|
refactor(sync): add syncAppendEntriesBatch
|
2022-06-30 13:39:13 +08:00 |
Minghao Li
|
49ff32cda5
|
refactor(sync): add entries cache
|
2022-06-27 16:53:02 +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
|
7b5a3eff3f
|
refactor(sync): add syncLogStoreCheck tool
|
2022-06-22 10:42:54 +08:00 |
Minghao Li
|
363c98e9ed
|
refactor(sync): abstract for log store
|
2022-06-21 17:45:08 +08:00 |
Minghao Li
|
0fb64add90
|
refactor(sync) add trace log
|
2022-06-21 15:09:23 +08:00 |
Minghao Li
|
e441bd266b
|
refactor(sync): add changing state
|
2022-06-20 17:48:56 +08:00 |
Minghao Li
|
5968c6353f
|
refactor(sync): get snapshot and create reader
|
2022-06-20 10:58:59 +08:00 |
Minghao Li
|
b247762931
|
refactor(sync) refactor trace log
|
2022-06-18 15:17:58 +08:00 |
Minghao Li
|
f5db109e61
|
fix(sync): get last max snapshot index
|
2022-06-17 11:37:10 +08:00 |
Minghao Li
|
77b03ac821
|
refactor(sync): add restore finish when become leader again
|
2022-06-16 14:40:42 +08:00 |
Minghao Li
|
4b18bd718e
|
refactor(sync): adjust errno
|
2022-06-15 16:14:17 +08:00 |
Minghao Li
|
fa25fa32e0
|
refactor(sync): add test syncRaftIdChec
|
2022-06-14 14:54:11 +08:00 |
Minghao Li
|
f47a28fe8a
|
enh(sync): add leader transfer
|
2022-06-13 15:47:43 +08:00 |
Minghao Li
|
b1093b4a79
|
fix(sync): use fqdn instead of raftId
|
2022-06-13 12:13:35 +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
|
6586f78599
|
refactor(sync): add last config index
|
2022-06-11 12:44:58 +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
|
98a2451c15
|
refactor(sync): sync snapshot
|
2022-06-08 21:55:36 +08:00 |
Minghao Li
|
29b97fa0ad
|
refactor(sync): syncNodeOnAppendEntriesReplySnapshotCb
|
2022-06-08 19:53:07 +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
|
77cd6f44f4
|
refactor(sync): syncUtilJson2Line
|
2022-06-08 11:25:24 +08:00 |
Minghao Li
|
eba8f2b543
|
fix(sync) send snapshot multi-times
|
2022-06-07 19:20:05 +08:00 |
Minghao Li
|
31b54e7462
|
enh(sync): add privateTerm into SyncSnapshotRsp, SyncSnapshotSend, SSyncSnapshotReceiver
|
2022-06-07 18:33:06 +08:00 |
Minghao Li
|
7852188394
|
enh(sync): add privateTerm into SSyncSnapshotSender, SyncAppendEntries, SyncAppendEntriesReply
|
2022-06-07 16:49:07 +08:00 |
Minghao Li
|
305f4a8580
|
enh(sync): add term into index mgr
|
2022-06-07 16:33:37 +08:00 |
Minghao Li
|
2071c5a74e
|
fix(sync): sending snapshot
|
2022-06-06 20:02:27 +08:00 |
Minghao Li
|
0d7272a369
|
fix(sync): sending snapshot
|
2022-06-06 18:23:37 +08:00 |
Minghao Li
|
af27303a4c
|
enh(sync): update raft core functions
|
2022-06-06 16:02:25 +08:00 |
Minghao Li
|
9c1e1b2f96
|
enh(sync): add log index manager
|
2022-06-06 11:31:59 +08:00 |
Minghao Li
|
5009b7822f
|
enh(sync): add log index manager
|
2022-06-06 11:24:25 +08:00 |
Minghao Li
|
fb4d372255
|
enh(sync): add log index manager
|
2022-06-05 22:51:15 +08:00 |
Minghao Li
|
2adc0b8a76
|
enh(sync): add log index manager
|
2022-06-05 21:48:50 +08:00 |
Minghao Li
|
5908631ec3
|
enh(sync): add log store2
|
2022-06-05 19:47:54 +08:00 |
Minghao Li
|
ba8adb73cb
|
refactor(sync): restart elect timer when vote for
|
2022-06-04 15:49:42 +08:00 |
Minghao Li
|
eea343c5a6
|
enh(sync): add syncTestTool
|
2022-06-04 11:25:03 +08:00 |
Minghao Li
|
d04c12713a
|
fix: send snapshot
|
2022-06-02 11:36:26 +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
|
320f21820b
|
add snapshot test
|
2022-06-01 15:25:06 +08:00 |
Minghao Li
|
13b336d569
|
add snapshot test
|
2022-06-01 15:03:01 +08:00 |
Minghao Li
|
060f8224f4
|
refactor: snapshotReSend
|
2022-06-01 13:32:52 +08:00 |
Minghao Li
|
9988e85f85
|
add test sender, receiver
|
2022-05-31 21:31:07 +08:00 |
Minghao Li
|
7922997806
|
enh(sync): add test syncSnapshotRspTest.cpp
|
2022-05-31 20:54:39 +08:00 |
Minghao Li
|
995317bf9c
|
enh(sync): add test syncSnapshotSendTest.cpp
|
2022-05-31 20:38:59 +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
|
bdc9acbf2e
|
enh(sync): add snapshotEnable
|
2022-05-30 12:26:15 +08:00 |
Li Minghao
|
e3068a60ee
|
Merge pull request #13180 from taosdata/feature/3.0_mhli
enh(sync): add SSnapshot callback: reader, writer
|
2022-05-29 07:37:54 +08:00 |
Minghao Li
|
cd2e8fe730
|
enh(sync): add SSnapshot callback: reader, writer
|
2022-05-29 07:15:29 +08:00 |
Cary Xu
|
f2b4cca23d
|
fix: init buffer to avoid invalid write
|
2022-05-29 01:10:32 +08:00 |
Minghao Li
|
b7be03898c
|
enh(sync) snapshot sender, receiver
|
2022-05-27 15:35:26 +08:00 |