Shengliang Guan
|
be227bd6f6
|
Merge pull request #18783 from taosdata/feature/3.0_mhli
refactor(sync): re send snapshot in timer-routine when response timeout
|
2022-12-07 21:26:15 +08:00 |
Minghao Li
|
c29401edf2
|
refactor(sync): re send snapshot in timer-routine
|
2022-12-07 19:46:26 +08:00 |
Benguang Zhao
|
50883689e7
|
enh: check contiguousness of indexes applied to vnode tsdb
|
2022-12-07 17:30:22 +08:00 |
Minghao Li
|
20e2acbacf
|
refactor(sync): add reserved field in message
|
2022-12-06 16:59:19 +08:00 |
Minghao Li
|
3939c96a92
|
refactor(sync): modify/use default config value
|
2022-12-05 12:35:57 +08:00 |
Benguang Zhao
|
e97c8f637b
|
enh: logging sync log buffer rollback events
|
2022-12-03 09:05:39 +08:00 |
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
|
f0fdc58c52
|
refactor(sync): help to display leader**
|
2022-11-30 20:56:58 +08:00 |
Minghao Li
|
a8832e8814
|
refactor(sync): modify info log
|
2022-11-30 11:20:03 +08:00 |
Benguang Zhao
|
decb17fcb1
|
fix: use recursive mutex for relocking ring log buffer in syncNodeDoConfigChange
|
2022-11-29 23:19:32 +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 |
Benguang Zhao
|
4f37947e42
|
fix: minimum commitTerm as 0 in syncLogBufferInit
|
2022-11-29 17:15:48 +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 |
Benguang Zhao
|
082428acab
|
enh: reduce the number of probing msgs under stress in recovery mode
|
2022-11-26 13:18:52 +08:00 |
Shengliang Guan
|
9026a46c6f
|
fix: compile error
|
2022-11-26 11:54:38 +08:00 |
Shengliang Guan
|
35eb754e4a
|
Merge remote-tracking branch 'origin/3.0' into feature/3.0_mhli
|
2022-11-26 11:52:22 +08:00 |
Minghao Li
|
4a25963732
|
refactor(sync): optimized heartbeat timer
|
2022-11-26 10:46:57 +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 |
Benguang Zhao
|
f68e41a40e
|
enh: initialize log buffer again after receiving a complete snapshot
|
2022-11-23 15:57:40 +08:00 |
Minghao Li
|
2b411912d9
|
refactor(sync): can not propose when heartbeat timeout
|
2022-11-23 14:17:13 +08:00 |
Benguang Zhao
|
8ef5ca78ee
|
fix: protect syncNodeReplicate with mutex lock
|
2022-11-22 10:54:32 +08:00 |
Benguang Zhao
|
c9c05761d6
|
enh: rename syncLogToAppendEntries to syncBuildAppendEntriesFromRaftLog
|
2022-11-18 12:40:00 +08:00 |
Benguang Zhao
|
03b88ff41c
|
enh: rename syncLogBuffer.h|c to syncPipeline.h|c
|
2022-11-18 12:39:04 +08:00 |
Benguang Zhao
|
363cbc8985
|
fix: update cbMeta rsp handle info in syncLogFsmExecute
|
2022-11-18 09:37:58 +08:00 |
Benguang Zhao
|
4526ff2876
|
enh: add syncLogBuffer.h and syncLogBuffer.c
|
2022-11-17 23:37:02 +08:00 |
Benguang Zhao
|
051b73c1ed
|
Merge branch 3.0 to FIX/TD-19334-3.0
|
2022-11-17 17:28:11 +08:00 |
Minghao Li
|
effc38d217
|
fix(sync): fix asan error, use rid in hbdata and syncnode
|
2022-11-17 14:51:32 +08:00 |
Minghao Li
|
4c912aa955
|
fix(sync): fix hb-timer memory leak
|
2022-11-16 14:28:20 +08:00 |
Benguang Zhao
|
3e13cd8280
|
fix: check if timer triggered ahead of time in syncNodeElect
|
2022-11-16 14:26:18 +08:00 |
Minghao Li
|
81592dfb09
|
fix(sync): fix hb-timer memory leak
|
2022-11-16 14:25:21 +08:00 |
Minghao Li
|
7bcd13e82a
|
fix(sync): fix elect timer memory leak
|
2022-11-16 14:05:34 +08:00 |
Shengliang Guan
|
3ada61c346
|
restore some invalid code modify
|
2022-11-16 11:13:53 +08:00 |
Minghao Li
|
7d63efd2af
|
refactor(sync): optimize, make LRU Cache hit more
|
2022-11-15 19:24:43 +08:00 |
Minghao Li
|
c5aa7e072d
|
refactor(sync): optimize, make LRU Cache hit more
|
2022-11-15 19:17:28 +08:00 |
Minghao Li
|
9e8404f60a
|
refactor(sync): adjust timer
|
2022-11-15 17:50:15 +08:00 |
Benguang Zhao
|
bf634a840d
|
enh: check lastVer and commit version during syncNodeOpen
|
2022-11-15 17:13:31 +08:00 |
Shengliang Guan
|
a57efc49b4
|
fix: memory leak of sync timer
|
2022-11-15 13:43:30 +08:00 |
Benguang Zhao
|
c0c1cd8211
|
enh: reset sync log repl mgr if restarting of the peer detected in HeartbeatReply
|
2022-11-15 10:24:11 +08:00 |
Shengliang Guan
|
11c3463814
|
refact: adjust sync code struct
|
2022-11-13 18:18:46 +08:00 |
Shengliang Guan
|
4940080a1c
|
refact: adjust sync log prints
|
2022-11-13 18:00:11 +08:00 |
Shengliang Guan
|
f1a41f5a37
|
refact: sync message headfile
|
2022-11-13 17:21:30 +08:00 |