Hongze Cheng
|
6ddce80e91
|
enh: refactor the log
|
2024-08-23 11:30:57 +08:00 |
dmchen
|
84bb96cf65
|
fix/TD-31542
|
2024-08-22 03:54:01 +00:00 |
Shengliang Guan
|
6470e5f6e3
|
refact: refact function syncUtilNodeInfo2RaftId
|
2024-08-20 12:24:01 +08:00 |
Shengliang Guan
|
1f1a2d9f6c
|
fix: handle error code
|
2024-08-20 10:04:46 +08:00 |
Hongze Cheng
|
97e0aa6901
|
fix: memory leak when continuesly create and drop database
|
2024-08-19 10:29:09 +08:00 |
Hongze Cheng
|
2553bb1745
|
fix: remove an invalid assert in syncMain.c
|
2024-08-09 15:51:58 +08:00 |
dmchen
|
a43b866fab
|
fix/TD-30989
|
2024-07-30 02:38:12 +00:00 |
dmchen
|
598ed867c3
|
fix case
|
2024-07-29 11:17:15 +00:00 |
dmchen
|
3fe2bb2eff
|
fix case
|
2024-07-29 08:14:24 +00:00 |
dmchen
|
de557c92f0
|
fix/TD-30989
|
2024-07-29 05:16:21 +00:00 |
dmchen
|
d864ede873
|
fix compile
|
2024-07-27 08:18:20 +00:00 |
dmchen
|
752c2ad9f9
|
fix case
|
2024-07-27 02:44:23 +00:00 |
dmchen
|
bb7cda6f96
|
fix compile
|
2024-07-27 02:08:49 +00:00 |
dmchen
|
68f2087f7d
|
fix/TD-30989-sync2-2
|
2024-07-27 01:25:12 +00:00 |
kailixu
|
73bb3cef13
|
enh: refactor return code
|
2024-07-25 19:07:25 +08:00 |
kailixu
|
90ff2b34ba
|
enh: refactor return code
|
2024-07-25 17:29:04 +08:00 |
kailixu
|
9de0e4ee64
|
fix: refactor return code
|
2024-07-25 16:20:10 +08:00 |
Hongze Cheng
|
c4d31e7737
|
enh: refactor error code
|
2024-07-22 19:40:07 +08:00 |
t_max
|
f030af3aab
|
fix: build fails on macOS and Windows
|
2024-05-11 14:59:05 +08:00 |
Shungang Li
|
c39fcc5194
|
fix: arb assigned step down need to reset token
|
2024-04-11 16:56:45 +08:00 |
Shungang Li
|
16e0fc44e2
|
fix: arb reply to set-assigned no matter what error
|
2024-04-08 19:56:22 +08:00 |
Shungang Li
|
acf42a3d7a
|
fix: arb append noop after become assigned
|
2024-03-21 18:13:25 +08:00 |
Shungang Li
|
4180eea091
|
enh: arb add more log
|
2024-03-21 18:13:04 +08:00 |
Shungang Li
|
d0df927dfa
|
feat: arb add version in sarbgroup
|
2024-03-19 09:31:05 +08:00 |
Shungang Li
|
3a656c3595
|
feat: support 2 replica with arbitrator
|
2024-03-19 09:30:35 +08:00 |
Benguang Zhao
|
dd7f375d8e
|
enh: use reference id of sync node in timer callbacks of sync
|
2024-02-28 19:01:22 +08:00 |
Alex Duan
|
ed4a7b0719
|
coverage: comment no call file syncMain.c
|
2024-02-16 21:48:01 +08:00 |
Benguang Zhao
|
57714dff65
|
fix: reset sync timer although failed to enqueue since Out of Memory in rpc queue
|
2024-02-01 11:07:17 +08:00 |
Yihao Deng
|
663b5b4ecf
|
sort epset
|
2024-01-23 09:09:29 +00:00 |
Yihao Deng
|
62e6b5ca31
|
sort epset
|
2024-01-23 06:23:34 +00:00 |
Yihao Deng
|
04538f9049
|
add test case
|
2024-01-22 08:59:40 +00:00 |
Yihao Deng
|
aa14e67da9
|
refactor retry
|
2024-01-22 07:21:14 +00:00 |
Yihao Deng
|
a20845ec69
|
refactor retry
|
2024-01-22 01:04:06 +00:00 |
Yihao Deng
|
6c732a14a3
|
refactor retry
|
2024-01-19 06:20:16 +00:00 |
Haojun Liao
|
9a4b7a6d82
|
fix(stream): remove invalid lock, and fix a typo.
|
2024-01-16 14:52:27 +08:00 |
Benguang Zhao
|
a811a60ad4
|
enh: restore sync log store from snap on fsm state incomplete
|
2024-01-04 20:15:17 +08:00 |
Benguang Zhao
|
baa7f9c895
|
enh: adjust error msg as warn for not ready to propose etc
|
2023-12-28 17:29:49 +08:00 |
Benguang Zhao
|
4137a44fd0
|
enh: protect syncNodeRestore with log buffer mutex
|
2023-12-21 17:49:20 +08:00 |
Benguang Zhao
|
c74c4fe208
|
enh: clean WAL logs based on size if one follower is offline.
|
2023-12-13 10:10:02 +08:00 |
Benguang Zhao
|
4163a3be7c
|
feat: resend snap replication of data on timeout
|
2023-10-27 17:58:26 +08:00 |
Benguang Zhao
|
a2e0480839
|
refact: rename as SYNC_FSM_STATE_COMPLETE
|
2023-10-19 11:18:57 +08:00 |
Benguang Zhao
|
233a3c4034
|
enh: terminate on incompletenss of fsm state for dbs of single replica
|
2023-10-19 11:04:39 +08:00 |
Benguang Zhao
|
eb4e2aa58f
|
feat: restore incomplete fsm state with maxVerValid via snapshot replication
|
2023-10-19 11:04:36 +08:00 |
Benguang Zhao
|
4ca897246c
|
enh: proceed sync log buffer on failure of appending too
|
2023-10-17 14:56:07 +08:00 |
xsren
|
ce91bdab90
|
stack overflow
|
2023-09-07 09:03:13 +08:00 |
dm chen
|
e393a98ee9
|
Merge branch '3.0' into feat/TD-22970
|
2023-08-18 13:37:18 +08:00 |
dmchen
|
fee4b875d1
|
error code
|
2023-08-16 17:49:17 +08:00 |
dmchen
|
de5aedd8f3
|
vnode.json
|
2023-08-16 10:20:48 +08:00 |
Benguang Zhao
|
239a79d405
|
enh: add some vnode info in SStatusReq
|
2023-08-15 17:06:33 +08:00 |
dm chen
|
5b03ab1705
|
Merge branch '3.0' into feat/TD-22970
|
2023-08-03 17:43:51 +08:00 |
dmchen
|
5d4f0cbc71
|
myindex
|
2023-08-02 16:36:07 +08:00 |
Shungang Li
|
167ecea705
|
fix: check term for role time
1. time of mnode becomes current role in this term
2. show 0 for offline mnodes
|
2023-07-27 14:16:54 +08:00 |
dmchen
|
7d480cf3ac
|
compatible old sync config
|
2023-07-21 10:31:53 +08:00 |
dmchen
|
7468749666
|
memory leak
|
2023-07-19 10:48:04 +08:00 |
dmchen
|
93766f8c96
|
memory leak
|
2023-07-19 08:32:16 +08:00 |
dmchen
|
3711fdd865
|
feat/TD-22970
|
2023-07-18 16:09:38 +08:00 |
dapan1121
|
4dae9f4eff
|
merge main to 3.0
|
2023-06-26 18:43:00 +08:00 |
Benguang Zhao
|
267cbfbc1c
|
enh: update syncNodePropose
|
2023-05-29 19:49:28 +08:00 |
dmchen
|
0fdeb5fbae
|
restore learner stuck
|
2023-05-17 17:28:20 +08:00 |
Benguang Zhao
|
693bc09f19
|
enh: comment off unused error codes in sync and wal
|
2023-04-25 17:36:13 +08:00 |
cadem
|
5a512eb767
|
remove null pointer
|
2023-04-24 16:06:56 +08:00 |
Xiaoyu Wang
|
f5a974489e
|
Merge pull request #21045 from taosdata/fix/block-check-to-async-check
fix/block-check-to-async-check
|
2023-04-24 15:41:17 +08:00 |
cadem
|
a781d43577
|
fix/block-check-to-async-check
|
2023-04-24 10:23:43 +08:00 |
Benguang Zhao
|
104781124a
|
fix: update commit index from heartbeat on learner in the same way as on follower
|
2023-04-24 09:36:25 +08:00 |
Benguang Zhao
|
7781932da2
|
fix: spool logging msg with pMsg->term in syncNodeOnHeartbeat
|
2023-04-23 17:19:01 +08:00 |
cadem
|
3b78d4382b
|
add learner
|
2023-04-18 19:03:45 +08:00 |
Xiaoyu Wang
|
933660ae8d
|
Merge remote-tracking branch 'origin/main' into fix/3.0_merge_main
|
2023-04-12 14:13:23 +08:00 |
Benguang Zhao
|
edc9fe9705
|
enh: change the error msg of INVALID_VGROUP_ID to Vnode is closed or removed
|
2023-04-12 10:12:41 +08:00 |
Xiaoyu Wang
|
4c04b155d5
|
merge main
|
2023-04-11 15:56:28 +08:00 |
Benguang Zhao
|
0a1476763a
|
enh: refactor some func names of syncLogReplMgr
|
2023-04-06 16:26:44 +08:00 |
Xiaoyu Wang
|
e9d7a099cc
|
merge main
|
2023-04-04 14:50:58 +08:00 |
Xiaoyu Wang
|
ed48713a4b
|
Merge pull request #20615 from taosdata/fix/trigger-election-by-sync-msg
Fix/trigger election by sync msg
|
2023-03-27 11:54:53 +08:00 |
Xiaoyu Wang
|
d2b8c5e433
|
Merge pull request #20524 from taosdata/fix/clusterid-isolation
fix: clusterid isolation
|
2023-03-25 09:19:49 +08:00 |
cadem
|
86ca5ce210
|
fix/trigger election by sync msg
|
2023-03-24 09:13:20 +08:00 |
Shengliang Guan
|
8d1224ce22
|
refactor: format code
|
2023-03-23 22:31:20 +08:00 |
dapan1121
|
5b02af6a91
|
fix: merge main to 3.0
|
2023-03-22 16:08:16 +08:00 |
cadem
|
ea35f0ae11
|
feat/balance vgroup leader
|
2023-03-22 09:36:59 +08:00 |
cadem
|
39f6ce1694
|
remove memory leak and syncNodeInRaftGroup
|
2023-03-20 18:34:20 +08:00 |
cadem
|
7c970d1847
|
fix/clusterid isolation
|
2023-03-18 11:16:52 +08:00 |
Benguang Zhao
|
9f97162ef7
|
enh: separate election timer events
|
2023-03-14 21:02:06 +08:00 |
Benguang Zhao
|
e350f71396
|
enh: reset elect timer at the end of callbacks
|
2023-03-14 19:45:31 +08:00 |
Shengliang Guan
|
bf03965931
|
Merge pull request #20413 from taosdata/FIX/TD-22564-main
enh: not allow to propose if fsm applying progress lagging behind too far
|
2023-03-14 09:36:04 +08:00 |
Benguang Zhao
|
552d0bc8a0
|
enh: not allow to insert if Tsdb applied lagging behind too far
|
2023-03-09 18:56:12 +08:00 |
Shengliang Guan
|
a8dbfe9595
|
Merge pull request #20346 from taosdata/FIX/TD-22572-main
enh: no need to wait for emptying apply queue in syncNodePreClose
|
2023-03-09 15:17:10 +08:00 |
Benguang Zhao
|
24ebb2f547
|
enh: no need to wait for emptying apply queue in syncNodePreClose
|
2023-03-08 19:35:05 +08:00 |
Benguang Zhao
|
eca97bf5b4
|
enh: keep extra raft Logs before minimum match index
|
2023-03-07 16:44:47 +08:00 |
Benguang Zhao
|
b91734cf91
|
enh: sync log retention of mnode configurable with mndLogRetention
|
2023-03-04 09:51:34 +08:00 |
Xiaoyu Wang
|
d6dd087f84
|
merge main
|
2023-02-25 10:29:20 +08:00 |
Xiaoyu Wang
|
58fc265b80
|
merge main
|
2023-02-24 13:26:45 +08:00 |
Xiaoyu Wang
|
d04d610a85
|
Merge pull request #20061 from taosdata/FIX/TD-22611-main
enh: refactor syncBeginSnapshot and walBeginSnapshot for logRetention
|
2023-02-24 13:12:06 +08:00 |
Xiaoyu Wang
|
1ab144609e
|
merge main
|
2023-02-23 14:58:22 +08:00 |
Benguang Zhao
|
e45367f924
|
fix: resolve coverity scan issues in sync and wal
|
2023-02-23 14:16:21 +08:00 |
Benguang Zhao
|
3b47dd753e
|
enh: update pSyncNode->minMatchIndex in sncNodeEqPeerHeartbeatTimer
|
2023-02-21 20:01:54 +08:00 |
Benguang Zhao
|
b0b9877265
|
fix: check if log buffer is empty in syncNodeOnLocalCmd
|
2023-02-21 19:00:47 +08:00 |
Benguang Zhao
|
0c7a4bfad9
|
enh: refactor syncBeginSnapshot and walBeginSnapshot for logRetention
|
2023-02-20 19:19:49 +08:00 |
Xiaoyu Wang
|
c597de099f
|
merge main
|
2023-02-20 13:41:27 +08:00 |
Benguang Zhao
|
d51c3c36fb
|
fix: not allow to read if sync is restoring
|
2023-02-17 19:47:52 +08:00 |
Benguang Zhao
|
99bfc95d54
|
fix: synchronize access to raftStore
|
2023-02-13 19:00:10 +08:00 |
Xiaoyu Wang
|
09925437e3
|
merge main
|
2023-02-08 09:51:52 +08:00 |
Shengliang Guan
|
4d20469e2b
|
fix: adjust log formats
|
2023-02-07 00:12:05 +08:00 |