Commit graph

702 commits

Author SHA1 Message Date
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