Benguang Zhao
|
50883689e7
|
enh: check contiguousness of indexes applied to vnode tsdb
|
2022-12-07 17:30:22 +08:00 |
Benguang Zhao
|
21ff35ee42
|
fix: truncate WAL on need while syncLogBufferRollback
|
2022-12-04 08:13:49 +08:00 |
Benguang Zhao
|
a7807d3ee4
|
fix: synchronize syncPropose for executing blocking msgs in vnodeProposeMsg
|
2022-12-03 20:53:56 +08:00 |
Benguang Zhao
|
2ce07c6ec1
|
fix: get result of tmsPutToQueue for FpCommitCb
|
2022-12-03 09:05:50 +08:00 |
Benguang Zhao
|
e97c8f637b
|
enh: logging sync log buffer rollback events
|
2022-12-03 09:05:39 +08:00 |
Benguang Zhao
|
03d62e478f
|
fix: get prevLogTerm of index zero as 0 only when firstVer is zero
|
2022-12-01 22:18:08 +08:00 |
Benguang Zhao
|
3cbe109e4b
|
fix: initialize vnode state applyTerm with commitTerm in vnodeOpen
|
2022-11-30 22:41:33 +08:00 |
Benguang Zhao
|
decb17fcb1
|
fix: use recursive mutex for relocking ring log buffer in syncNodeDoConfigChange
|
2022-11-29 23:19:32 +08:00 |
Benguang Zhao
|
4f37947e42
|
fix: minimum commitTerm as 0 in syncLogBufferInit
|
2022-11-29 17:15:48 +08:00 |
Benguang Zhao
|
5f4fb90f69
|
enh: reduce retryBackoff if first timeMs less than last one for half the current retryWaitMs
|
2022-11-28 13:47:07 +08:00 |
Benguang Zhao
|
4edef438ea
|
enh: transfer ownership of msgs while committing sync log entries
|
2022-11-26 21:57:23 +08:00 |
Benguang Zhao
|
a01f34fd83
|
fix: clear sync log buffer in syncLogBufferDestroy
|
2022-11-26 16:20:23 +08:00 |
Benguang Zhao
|
012bcf1a5d
|
enh: adjust logging levels in syncLogBufferAccept, e.g. sInfo to sWarn
|
2022-11-26 14:27:06 +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 |
Benguang Zhao
|
736a1cc017
|
enh: adjust some info msgs for raft pipelining
|
2022-11-26 00:37:20 +08:00 |
Benguang Zhao
|
143a2e8552
|
feat: start snapshot replication to rollback in recovery mode
|
2022-11-25 21:22:49 +08:00 |
Benguang Zhao
|
d5ae1ca18a
|
enh: make the range span of unconfirmed logs sent less than half of the size of log ring buffer
|
2022-11-25 10:37:56 +08:00 |
Benguang Zhao
|
ff286e1f1c
|
enh: spool commit sync barrier as info in syncLogBufferCommit
|
2022-11-24 18:37:31 +08:00 |
Benguang Zhao
|
6729c130f8
|
fix: leave some free space in log buffer during syncLogBufferInit
|
2022-11-24 16:56:18 +08:00 |
Benguang Zhao
|
22d64b9c0b
|
fix: remove syncNodeReplicateOne from syncNodeOnSnapshotReply
|
2022-11-24 15:55:31 +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 |
Benguang Zhao
|
006e13e663
|
enh: validate alignment of WAL and tsdb commit during syncLogBufferInit
|
2022-11-23 10:24:17 +08:00 |
Benguang Zhao
|
b80095dc87
|
enh: snapshot during recovery of SSynclogReplMgr
|
2022-11-22 22:24:20 +08:00 |
Benguang Zhao
|
8ef5ca78ee
|
fix: protect syncNodeReplicate with mutex lock
|
2022-11-22 10:54:32 +08:00 |
Benguang Zhao
|
b90ee79623
|
fix: use syncLogBufferCommit in syncNodeOnLocalCmd
|
2022-11-21 13:51:01 +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 |