Commit graph

76 commits

Author SHA1 Message Date
Shengliang Guan
fe759c85f3 Merge remote-tracking branch 'origin/3.0' into FIX/TD-19334-3.0 2022-12-01 15:04:55 +08:00
Minghao Li
f5bebc53f1 refactor(sync): add traceId log 2022-12-01 12:53:38 +08:00
Benguang Zhao
55bae49d56 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-30 23:47:30 +08:00
Minghao Li
8ec0b42456 refactor(sync): modify some trace log to info 2022-11-29 20:04:04 +08:00
Minghao Li
f87b9fa7fe refactor(sync): add interface syncSnapshotSending, syncSnapshotRecving 2022-11-29 19:41:03 +08:00
Benguang Zhao
470441c541 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-29 18:24:01 +08:00
Minghao Li
198e18c348 refactor(sync): add trace log for cache hit, cache miss 2022-11-29 14:58:47 +08:00
Minghao Li
ebe1103964 refactor(sync): add trace log for elect count, become leader count, config change count 2022-11-29 14:39:42 +08:00
Benguang Zhao
dc2dcea3de Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-28 14:27:10 +08:00
Shengliang Guan
9026a46c6f fix: compile error 2022-11-26 11:54:38 +08:00
Shengliang Guan
a880f22bc6 refactor: adjust syncLog 2022-11-25 22:13:39 +08:00
Shengliang Guan
39ddf9faf8 refactor: adjust syncLogHeartbeat 2022-11-25 21:55:37 +08:00
Minghao Li
93efefcbfc refactor(sync): add trace log 2022-11-25 18:19:25 +08:00
Benguang Zhao
68f8ebac9d Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-25 13:10:06 +08:00
Minghao Li
862a51e6ee refactor(sync): add timestamp trace log when elect and heartbeat 2022-11-24 12:03:05 +08:00
Benguang Zhao
2e640e8e68 feat: start snapshot in recovery mode of sync repl mgr with lastMatchTerm in reply msg 2022-11-24 11:01:26 +08:00
Minghao Li
2b411912d9 refactor(sync): can not propose when heartbeat timeout 2022-11-23 14:17:13 +08:00
Minghao Li
fd9a612d50 refactor(sync): fix coverity scan error 2022-11-23 11:15:46 +08:00
Benguang Zhao
006e13e663 enh: validate alignment of WAL and tsdb commit during syncLogBufferInit 2022-11-23 10:24:17 +08:00
Minghao Li
1d48426e94 refactor(sync): del wal in multi-replicas 2022-11-22 12:45:31 +08:00
Shengliang Guan
1114bdefb4 fix: invalid log print 2022-11-16 14:31:17 +08:00
Minghao Li
7bcd13e82a fix(sync): fix elect timer memory leak 2022-11-16 14:05:34 +08:00
Minghao Li
c5aa7e072d refactor(sync): optimize, make LRU Cache hit more 2022-11-15 19:17:28 +08:00
Minghao Li
ac8eeb87af refactor(sync): modify error log 2022-11-14 17:19:20 +08:00
Shengliang Guan
4940080a1c refact: adjust sync log prints 2022-11-13 18:00:11 +08:00
Shengliang Guan
f7d263862b refact: remove assert and adjust log 2022-11-10 11:26:52 +08:00
Minghao Li
2391391621 refactor(sync): save error code in syncPrintNodeLog 2022-11-09 16:44:05 +08:00
Minghao Li
18363f52e5 refactor(sync): add FpApplyQueueItems in fsm 2022-11-09 16:35:26 +08:00
Minghao Li
d672e7a05c refactor(sync): add FpApplyQueueItems in fsm 2022-11-09 16:18:28 +08:00
Shengliang Guan
9914657cb0 refactor: adjust sync hb 2022-11-07 23:31:01 +08:00
Shengliang Guan
848fd58402 enh: adjust sync propose 2022-11-07 21:12:43 +08:00
Shengliang Guan
46e55ba9fb refact: remove config change codes 2022-11-07 20:19:55 +08:00
Shengliang Guan
e060de7059 refact: remove config change codes 2022-11-07 19:34:48 +08:00
Shengliang Guan
4baafd3417 refact: adjust sync log 2022-11-07 18:44:29 +08:00
Shengliang Guan
a1c8db0f88 refact: adjust sync log 2022-11-07 17:35:24 +08:00
Shengliang Guan
7a537bba09 refact: adjust sync.h and syncState 2022-11-02 10:24:55 +08:00
Shengliang Guan
d35028ae4a enh: refact sync callback func 2022-11-01 16:10:07 +08:00
Minghao Li
eb7b9d3819 fix(sync): fix coverity scan issues 2022-10-25 14:28:34 +08:00
Benguang Zhao
b71a9e3483 enh: improve error handling in syncNodeOpen 2022-09-28 13:34:13 +08:00
afwerar
91b35a0b62 os: fix Mac test error 2022-09-26 11:30:40 +08:00
Minghao Li
9be864a6be refactor(sync): make leader life longer 2022-08-04 20:36:12 +08:00
Minghao Li
ecc43b6697 refactor(sync): delete some assert 2022-06-21 16:02:36 +08:00
Minghao Li
e441bd266b refactor(sync): add changing state 2022-06-20 17:48:56 +08:00
Minghao Li
15ac89590c refactor(sync): add trace log 2022-06-16 17:41:01 +08:00
Minghao Li
b25840ebd4 refactor(sync): add test syncRaftIdCheck 2022-06-14 20:19:56 +08:00
Minghao Li
e4da993c15 refactor(sync): add test syncRaftIdCheck 2022-06-14 17:19:54 +08:00
Minghao Li
71dad1ea78 refactor(sync): add test syncRaftIdCheck 2022-06-14 15:50:44 +08:00
Minghao Li
6586f78599 refactor(sync): add last config index 2022-06-11 12:44:58 +08:00
Minghao Li
77cd6f44f4 refactor(sync): syncUtilJson2Line 2022-06-08 11:25:24 +08:00
Shengliang Guan
30da7560f8 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-06-04 11:50:47 +08:00