Commit graph

542 commits

Author SHA1 Message Date
Li Minghao
1e1e373220
Merge pull request #14654 from taosdata/feature/3.0_mhli
fix(sync): snapshot strategy wal first
2022-07-07 17:45:17 +08:00
Minghao Li
1c3c270307 fix(sync): snapshot strategy wal first 2022-07-07 17:00:01 +08:00
Liu Jicong
1ec57798d2 ci: remove unstable case 2022-07-07 11:45:28 +08:00
Liu Jicong
baa48489b7 merge from 3.0 2022-07-06 21:25:34 +08:00
Minghao Li
b73914fb0d refactor(sync): add term in rpcMsg 2022-07-06 16:52:39 +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
6ec47a7a60 fix(sync): propose batch 2022-07-06 13:17:16 +08:00
Minghao Li
730a7a4a58 refactor(sync): snapshot strategy 2022-07-06 11:44:28 +08:00
Minghao Li
cd4bc6e30b refactor(sync): snapshot strategy 2022-07-06 11:12:45 +08:00
Minghao Li
8a4e251be7 fix(sync): batch propose 2022-07-06 10:32:17 +08:00
Minghao Li
103a9cd9e8 fix(sync): release SyncNode ref 2022-07-05 17:39:01 +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
Shengliang Guan
2daef4ba58 fix: add ref log to sync 2022-07-05 11:36:41 +08:00
Minghao Li
6437d20cda refactor(sync): add resp syncRespCleanByTTL 2022-07-04 21:28:52 +08:00
Minghao Li
6e59c13cbd refactor(sync): add sync strategy 2022-07-04 15:57:28 +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
856806bb22 refactor(sync): add snapshot2 interface 2022-07-04 13:33:49 +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
d4ab134645 refactor(sync): add snapshot2 interface 2022-07-01 17:30:52 +08:00
Minghao Li
0ffc6c46f3 refactor(sync): add snapshot2 interface 2022-07-01 14:47:12 +08:00
Minghao Li
91238e823e refactor(sync): add snapshot2 interface 2022-07-01 14:22:14 +08:00
Minghao Li
4f39cd31b0 refactor(sync): add snapshot2 interface 2022-07-01 09:50:20 +08:00
Minghao Li
24a3c817a4 refactor(sync): add batch propose 2022-06-30 16:44:49 +08:00
Minghao Li
376bf46a64 refactor(sync): add SyncClientRequestBatch 2022-06-30 15:28:23 +08:00
Minghao Li
1a8cf049b7 refactor(sync): add syncAppendEntriesBatch 2022-06-30 13:39:13 +08:00
Minghao Li
c3b2b98454 refactor(sync): delete some asserts 2022-06-29 19:18:15 +08:00
Minghao Li
3440822ebf refactor(sync): add some comments 2022-06-29 16:40:36 +08:00
Minghao Li
41f24314d0 refactor(sync): add SYNC_TERM_INVALID 2022-06-29 15:44:30 +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
5e7b7cb449 refactor(sync): add entries cache 2022-06-27 16:56:36 +08:00
Minghao Li
49ff32cda5 refactor(sync): add entries cache 2022-06-27 16:53:02 +08:00
Minghao Li
a22814a5a7 refactor(sync): optimized one replica 2022-06-27 10:36:28 +08:00
Minghao Li
6eecbcd1a6 refactor(sync): optimized one replica 2022-06-26 01:16:11 +08:00
Minghao Li
a6f33ba01c refactor(sync): optimized one replica 2022-06-25 20:31:42 +08:00
Minghao Li
77b365f0cc refactor(sync): do not replicate when one replica 2022-06-25 16:27:05 +08:00
Minghao Li
0df1415caf refactor(sync): add trace log 2022-06-25 11:30:34 +08:00
Minghao Li
58296f6a5a refactor(sync): adjust log buf size 2022-06-24 16:44:45 +08:00
Minghao Li
87defc2790 refactor(sync): add interface: get retry epset 2022-06-24 14:26:31 +08:00
Minghao Li
8a8e42a923 refactor(sync): set error code in syncIsReady 2022-06-24 14:04:58 +08:00
Minghao Li
8060108585 refactor(sync): add trace log 2022-06-24 13:50:23 +08:00
Minghao Li
b3fa103cb9 refactor(sync): add trace log 2022-06-24 11:36:26 +08:00