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
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
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
Minghao Li
862a51e6ee
refactor(sync): add timestamp trace log when elect and heartbeat
2022-11-24 12:03:05 +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
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
Cary Xu
f2b4cca23d
fix: init buffer to avoid invalid write
2022-05-29 01:10:32 +08:00
Minghao Li
b69a26678c
enh(sync): raft config change
2022-05-12 15:23:41 +08:00
Minghao Li
64dfc1da1c
merge 3.0 code
2022-04-22 17:11:56 +08:00
Minghao Li
7066274cc7
add sync format code
2022-04-18 21:50:56 +08:00
afwerar
222db126bc
[TD-13758]<fix>: redefine memory api.
2022-03-26 00:29:53 +08:00
Minghao Li
c5c00d5955
sync refactor
2022-03-22 10:42:02 +08:00
afwerar
30c10ef8b3
[TD-13063]<fix>: prepare for win compilation.
2022-03-17 14:22:36 +08:00
Shuduo Sang
3c6c518470
[TD-13063]<feature>: 3.0 on windows ( #10765 )
...
* [TD-13063]<feature>: 3.0 on Windows
* add pthread in contrib
* fix linux compile
* fix osSemaphore
* add gnu regex for Windows
* fix compile error for Windows
* support arm platform
* port more OS files
* fix for Windows compile
* port more files
* fix macOS on x86_64
* port osFile
* port osSemaphone.h
* port osSocket.c
* port tconfig.c
* port ttimer.c
* add couple files
* merge with 3.0
2022-03-16 11:37:31 +08:00