Benguang Zhao
|
03d62e478f
|
fix: get prevLogTerm of index zero as 0 only when firstVer is zero
|
2022-12-01 22:18:08 +08:00 |
Shengliang Guan
|
704885e212
|
fix: compile error
|
2022-12-01 15:07:40 +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 |
Shengliang Guan
|
ce768920ef
|
Merge pull request #18604 from taosdata/feature/3.0_mhli
refactor(sync): add traceId log
|
2022-12-01 14:11:10 +08:00 |
Minghao Li
|
f5bebc53f1
|
refactor(sync): add traceId log
|
2022-12-01 12:53:38 +08:00 |
Shengliang Guan
|
b6f1ce2027
|
Merge pull request #18589 from taosdata/feature/3.0_mhli
refactor(sync): help to display leader**
|
2022-12-01 11:54:39 +08:00 |
Benguang Zhao
|
55bae49d56
|
Merge branch 3.0 to FIX/TD-19334-3.0
|
2022-11-30 23:47:30 +08:00 |
Benguang Zhao
|
3cbe109e4b
|
fix: initialize vnode state applyTerm with commitTerm in vnodeOpen
|
2022-11-30 22:41:33 +08:00 |
Shengliang Guan
|
c0ecd4cebb
|
Merge pull request #18587 from taosdata/fix/TD-20857
refactor(sync): if already start, force close snapshot receiver
|
2022-11-30 21:50:29 +08:00 |
Minghao Li
|
f0fdc58c52
|
refactor(sync): help to display leader**
|
2022-11-30 20:56:58 +08:00 |
Minghao Li
|
7497eab926
|
refactor(sync): if already start, force close snapshot receiver
|
2022-11-30 20:32:43 +08:00 |
Shengliang Guan
|
d639198be5
|
Merge pull request #18561 from taosdata/fix/TD-20805
enh: show more info while drop dnode
|
2022-11-30 16:10:42 +08:00 |
Minghao Li
|
76cc7a89fb
|
refacotr(sync), force stop snapshot sender/receiver when stop node
|
2022-11-30 13:44:22 +08:00 |
Shengliang Guan
|
5556fd0c45
|
enh: add sync offline state
|
2022-11-30 12:02:54 +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
|
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 |
Benguang Zhao
|
4f37947e42
|
fix: minimum commitTerm as 0 in syncLogBufferInit
|
2022-11-29 17:15:48 +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 |
Minghao Li
|
ab40b8190f
|
fix(sync): fix asan error, TD-20801
|
2022-11-28 18:21:46 +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
|
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 |
Shengliang Guan
|
b6dbc462c8
|
fix: compile error
|
2022-11-26 11:56:13 +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 |
Benguang Zhao
|
736a1cc017
|
enh: adjust some info msgs for raft pipelining
|
2022-11-26 00:37:20 +08:00 |
Shengliang Guan
|
c890469513
|
fix: compile error
|
2022-11-25 23:33:34 +08:00 |
Benguang Zhao
|
b63afcd52f
|
enh: reset sync log repl mgr on snapshot ending
|
2022-11-25 23:32:32 +08:00 |
Shengliang Guan
|
15d2da13b8
|
refactor: adjust syncLog
|
2022-11-25 22:16:15 +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 |
Benguang Zhao
|
143a2e8552
|
feat: start snapshot replication to rollback in recovery mode
|
2022-11-25 21:22:49 +08:00 |
Shengliang Guan
|
5035e5e953
|
Merge pull request #18463 from taosdata/feature/3.0_mhli
refactor(sync): add trace log
|
2022-11-25 21:07:11 +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 |
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 |
Minghao Li
|
9f38bfeb2c
|
refactor(sync): modify info log to trace log
|
2022-11-24 16:50:58 +08:00 |
Minghao Li
|
7fba711d40
|
refactor(sync): add info log
|
2022-11-24 16:03:43 +08:00 |
Benguang Zhao
|
22d64b9c0b
|
fix: remove syncNodeReplicateOne from syncNodeOnSnapshotReply
|
2022-11-24 15:55:31 +08:00 |
Minghao Li
|
862a51e6ee
|
refactor(sync): add timestamp trace log when elect and heartbeat
|
2022-11-24 12:03:05 +08:00 |