Benguang Zhao
|
70e261f662
|
enh: terminate snap replication on timeout
|
2023-10-30 10:14:26 +08:00 |
Benguang Zhao
|
c3f9cae36b
|
refact: improve code of syncNodeOnSnapshot
|
2023-10-27 18:55:30 +08:00 |
Benguang Zhao
|
4163a3be7c
|
feat: resend snap replication of data on timeout
|
2023-10-27 17:58:26 +08:00 |
Benguang Zhao
|
fe553352b8
|
enh: cache snap blocks sent in snapshotSend for resending
|
2023-10-25 20:26:11 +08:00 |
Benguang Zhao
|
ec5b1f2ec1
|
enh: logging buf info for snapshot reader and sender
|
2023-10-25 15:04:14 +08:00 |
Benguang Zhao
|
7d9d1c6877
|
enh: terminate snap replication on timeout
|
2023-10-25 14:50:53 +08:00 |
Benguang Zhao
|
4e3a8b893d
|
enh: restore wal log from snapshot after finish
|
2023-10-24 20:03:48 +08:00 |
Benguang Zhao
|
374217ceff
|
fixup: adjust a logging msg in syncNodeStartSnapshot
|
2023-10-24 19:29:09 +08:00 |
Benguang Zhao
|
95188ab8c3
|
enh: adjust some logging msgs for sync log replication mgr
|
2023-10-24 19:11:27 +08:00 |
Benguang Zhao
|
4d61e87c0f
|
enh: add signature info in logging msgs of snap replication
|
2023-10-24 17:28:46 +08:00 |
Benguang Zhao
|
811f1bbbea
|
enh: tidy up logging msg in syncNodeOnSnapshotRsp
|
2023-10-24 15:47:47 +08:00 |
Benguang Zhao
|
1c60e67a83
|
enh: send the END snap msg at last
|
2023-10-24 14:16:46 +08:00 |
Benguang Zhao
|
f444cd7a6d
|
enh: log signature of snap sender/receiver while started or stopped
|
2023-10-24 11:11:11 +08:00 |
Benguang Zhao
|
e34da43e38
|
feat: support pipelining of snap replication
|
2023-10-23 19:32:44 +08:00 |
Benguang Zhao
|
a2e0480839
|
refact: rename as SYNC_FSM_STATE_COMPLETE
|
2023-10-19 11:18:57 +08:00 |
Benguang Zhao
|
d671283b8b
|
refact: adjust logging msg for incomplete fsm state
|
2023-10-19 11:18:57 +08:00 |
Benguang Zhao
|
9643799dc5
|
fixup: compiler error at labels since allowed only at statements
|
2023-10-19 11:04:39 +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
|
810678ebcb
|
enh: tidy up debugging msgs of snapshot replication
|
2023-10-19 11:04:39 +08:00 |
Benguang Zhao
|
c89c69f951
|
enh: use waitTime to prevent from starting snapshot too frequently
|
2023-10-19 11:04:39 +08:00 |
Benguang Zhao
|
be6411ebbe
|
fixup: set lastSendTime with taosGetTimestampMs
|
2023-10-19 11:04:39 +08:00 |
Benguang Zhao
|
a53ba24118
|
fix: set startTime in snapshotReSend
|
2023-10-19 11:04:39 +08:00 |
Benguang Zhao
|
e901adfdf3
|
enh: check snapshot receiver and sender by signature
|
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
|
e1c03118ab
|
enh: extract snapshot info for both of snap reader and writer
|
2023-10-19 10:51:13 +08:00 |
Benguang Zhao
|
410ced8320
|
feat: use TLV format to encode data of snapshot info
|
2023-10-19 10:51:13 +08:00 |
Benguang Zhao
|
517f1f7e40
|
fixup: fix syncNodeOnSnapshotPrep
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
083dd148be
|
feat: exchange difference of snapshot info for replication
|
2023-10-19 10:37:34 +08:00 |
Benguang Zhao
|
4ca897246c
|
enh: proceed sync log buffer on failure of appending too
|
2023-10-17 14:56:07 +08:00 |
Benguang Zhao
|
be3ba000a1
|
enh: reserve half a buffer size at syncLogBufferInit
|
2023-10-07 14:17:46 +08:00 |
Haojun Liao
|
372747cc23
|
Merge pull request #22818 from taosdata/fix/3_liaohj
fix(stream): fix error in fill history and check quit status of vnode.
|
2023-09-10 20:47:06 +08:00 |
Haojun Liao
|
aa8909b267
|
other: add some logs.
|
2023-09-09 15:18:54 +08:00 |
xsren
|
e5302b1677
|
stack overflow
|
2023-09-07 11:00:52 +08:00 |
dapan1121
|
cc17848b78
|
fix: merge 3.0 to main
|
2023-09-01 13:24:47 +08:00 |
dm chen
|
e393a98ee9
|
Merge branch '3.0' into feat/TD-22970
|
2023-08-18 13:37:18 +08:00 |
Benguang Zhao
|
7735e6f388
|
Merge branch 3.0 to FEAT/TD-25699-3.0
|
2023-08-17 16:04:23 +08:00 |
dmchen
|
fee4b875d1
|
error code
|
2023-08-16 17:49:17 +08:00 |
dm chen
|
e020c4e8c5
|
Merge pull request #22456 from taosdata/3.0
merge 3.0 to feat/TD-22970
|
2023-08-16 16:49:43 +08:00 |
dmchen
|
de5aedd8f3
|
vnode.json
|
2023-08-16 10:20:48 +08:00 |
Haojun Liao
|
ad9f3cbc43
|
other: merge main.
|
2023-08-16 09:14:10 +08:00 |
Benguang Zhao
|
239a79d405
|
enh: add some vnode info in SStatusReq
|
2023-08-15 17:06:33 +08:00 |
Minglei Jin
|
fac7e521e9
|
s3/evict: fetch atime from stat file
|
2023-08-07 15:59:37 +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 |
dmchen
|
8a0e9ff0e0
|
fix/retry_resolve_fqdn
|
2023-08-01 14:24:28 +08:00 |
wade zhang
|
cc3cc73cfc
|
Merge pull request #22199 from taosdata/fix/TS-3708
fix/TS-3708: check term for role time
|
2023-07-27 15:43:23 +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 |
Benguang Zhao
|
f5fced5ab9
|
fix: not to walEndSnapshot in syncNodeTimerRoutine
|
2023-07-26 20:06:51 +08:00 |
dmchen
|
7d480cf3ac
|
compatible old sync config
|
2023-07-21 10:31:53 +08:00 |
dmchen
|
154bc177a7
|
memory leak
|
2023-07-19 17:33:55 +08:00 |
dmchen
|
7468749666
|
memory leak
|
2023-07-19 10:48:04 +08:00 |
dmchen
|
e7dfb8c26d
|
memory leak
|
2023-07-19 10:36:55 +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 |
yihaoDeng
|
79f01ad655
|
add version check in rpc
|
2023-07-05 08:16:25 +00:00 |
wade zhang
|
f523eba5ce
|
Merge pull request #21795 from taosdata/FIX/TD-24892-3.0
enh: adjust logging level of sync heartbeat
|
2023-06-27 11:57:11 +08:00 |
dapan1121
|
4dae9f4eff
|
merge main to 3.0
|
2023-06-26 18:43:00 +08:00 |
Benguang Zhao
|
d31ee66d63
|
enh: taosMsleep 1 on syncLogStorePersist failure
|
2023-06-20 19:52:29 +08:00 |
Benguang Zhao
|
1f21e769e5
|
enh: adjust logging level of sync-heartbeat to TRACE
|
2023-06-20 19:49:53 +08:00 |
Benguang Zhao
|
3689b41f3a
|
Merge branch '3.0' into FIX/TD-24182-3.0
|
2023-06-12 09:39:49 +08:00 |
Benguang Zhao
|
267cbfbc1c
|
enh: update syncNodePropose
|
2023-05-29 19:49:28 +08:00 |
wade zhang
|
8d679d7686
|
Merge pull request #21299 from taosdata/FIX/TD-22970-3.0
enh: refactor some func names for syncLogReplProcessReply
|
2023-05-29 10:59:56 +08:00 |
dmchen
|
0fdeb5fbae
|
restore learner stuck
|
2023-05-17 17:28:20 +08:00 |
Benguang Zhao
|
47a1d64125
|
enh: refactor some func names for syncLogReplProcessReply
|
2023-05-15 11:32:08 +08:00 |
Haojun Liao
|
7ef16e1922
|
other: merge main.
|
2023-05-12 11:49:53 +08:00 |
Benguang Zhao
|
bd5372c378
|
fix: protect against nullptr in syncRespCleanRsp
|
2023-05-08 17:08:24 +08:00 |
Benguang Zhao
|
fee4050d79
|
enh: rename error code TSDB_CODE_SYN_NEGO_WIN_EXCEEDED
|
2023-04-25 18:05:36 +08:00 |
Benguang Zhao
|
693bc09f19
|
enh: comment off unused error codes in sync and wal
|
2023-04-25 17:36:13 +08:00 |
Xiaoyu Wang
|
90b3f0093b
|
Merge pull request #21069 from taosdata/fix/change-learner-config-format
change learner config format
|
2023-04-25 16:42:43 +08:00 |
cadem
|
7e2dee8a0f
|
filter voter when agree upon
|
2023-04-25 15:49:17 +08:00 |
cadem
|
2fd9640a39
|
change learner config format
|
2023-04-25 15:15:28 +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 |
dm chen
|
d594e4963f
|
Merge branch '3.0' into feat/learner
|
2023-04-20 19:11:06 +08:00 |
Benguang Zhao
|
a1ca9466cd
|
enh: adjust size limit of appyQ and negotiationWin
|
2023-04-20 14:28:56 +08:00 |
Benguang Zhao
|
55c6f115b0
|
enh: add applied-index in sync node logging msg
|
2023-04-20 14:28:56 +08:00 |
cadem
|
66bacdb165
|
vnode config compitible
|
2023-04-19 20:13:32 +08:00 |
cadem
|
3b78d4382b
|
add learner
|
2023-04-18 19:03:45 +08:00 |
Benguang Zhao
|
b958030b0c
|
enh: remove unused functions in sync
|
2023-04-17 18:52:09 +08:00 |
Xiaoyu Wang
|
c218e7c55b
|
Merge pull request #20897 from taosdata/FIX/TD-23509-main
enh: refactor some vars in syncLogReplProcessReplyAsNormal
|
2023-04-13 17:41:06 +08:00 |
Benguang Zhao
|
2a0493f40c
|
enh: refactor some vars in syncLogReplProcessReplyAsNormal
|
2023-04-13 09:53:25 +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
|
3efa36ca51
|
enh: refactor func name syncLogIsReplicationBarrier to syncLogReplBarrier
|
2023-04-12 10:13:17 +08:00 |
Benguang Zhao
|
09786a127d
|
enh: refactor func names doOnce, attempt, probe, and sendTo of syncLogRepl
|
2023-04-12 10:13:06 +08:00 |
Benguang Zhao
|
f6be5f2c0e
|
enh: change sync log repl mgr to sync log repl in logging msg
|
2023-04-12 10:12:57 +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 |