Commit Graph

1164 Commits

Author SHA1 Message Date
Benguang Zhao bd23a36f86 fix: round lastApplyIndex up to beginIndex -1 in syncBeginSnapshot 2023-01-29 18:03:09 +08:00
Xiaoyu Wang 284286cbc4
Merge pull request #19621 from taosdata/FIX/TD-21218-main
enh: remove unused old routines in sync
2023-01-29 10:56:29 +08:00
Benguang Zhao 1f01ba7cc0 fix: not keep wal log vnodeCommit'ed for single replica db 2023-01-18 16:34:08 +08:00
Benguang Zhao e55a76e25a Merge branch main into FIX/TD-21218-main 2023-01-18 10:15:16 +08:00
Benguang Zhao d611793537 enh: remove unused old routines in sync 2023-01-18 10:07:16 +08:00
Shengliang Guan e11d57d58c
Merge pull request #19533 from taosdata/FIX/TD-21662-main
enh: skip WAL forceSync for single replica vgroup
2023-01-17 14:25:04 +08:00
Shengliang Guan bd531ccfb3
Merge pull request #19542 from taosdata/enh/TD-20047
refact: adjust return value of tmsgUpdateDnodeInfo
2023-01-13 10:54:10 +08:00
Shengliang Guan cd0404bc25 refact: adjust return value of tmsgUpdateDnodeInfo 2023-01-12 17:08:33 +08:00
Shengliang Guan 3973e0512d Merge remote-tracking branch 'origin/main' into fix/TD-21663-2 2023-01-12 13:29:35 +08:00
Benguang Zhao 5a4cc36079 enh: skip WAL forceSync for single replica vgroup 2023-01-12 09:25:55 +08:00
Benguang Zhao 871a585a61 enh: fsync each WAL log after appending when wal_level=2 and wal_fsync_period=0 2023-01-11 18:28:45 +08:00
Shengliang Guan cff741e4c4 fix: coverity issues 2023-01-11 16:56:14 +08:00
Benguang Zhao 639652314f Merge branch main to FIX/TD-21428-main 2023-01-09 16:17:00 +08:00
Shengliang Guan 9a9e93b6fe fix: compile error in mac 2023-01-09 12:06:20 +08:00
Shengliang Guan 2aeda3a941 enh: refact raft store file 2023-01-09 12:01:36 +08:00
Shengliang Guan 42d911bf8e Merge remote-tracking branch 'origin/main' into FIX/TD-21043-main 2023-01-08 09:44:07 +08:00
Shengliang Guan 71be00a811 fix: minor changes 2023-01-06 15:42:11 +08:00
Shengliang Guan 81dcb23cae fix: handle error while write raft config file 2023-01-06 14:26:43 +08:00
Benguang Zhao e66f19ab46 enh: vote for higher lastLogTerm despite commitIndex 2023-01-05 17:09:37 +08:00
Benguang Zhao 47ace00090 enh: refactor some sync func names for pipelining 2023-01-05 17:09:37 +08:00
Shengliang Guan 84bea778c9 Merge branch 'fix/TD-21746' into FIX/TD-21043-main 2023-01-05 16:15:50 +08:00
Shengliang Guan b8e1064b0f fix: compile error 2023-01-05 16:15:42 +08:00
Shengliang Guan a28398c060 fix: compile error 2023-01-05 16:11:01 +08:00
Shengliang Guan ef3e60c387 Merge branch 'fix/TD-21746' into FIX/TD-21043-main 2023-01-05 15:58:30 +08:00
Shengliang Guan ed56abd40f fix: crash if reader is already dropped 2023-01-05 15:55:33 +08:00
Shengliang Guan 7e5d97f0da fix: stop snapshot receiver on sync post close 2023-01-05 12:00:35 +08:00
Benguang Zhao 9d5e74a3ff Merge branch 'main' into FIX/TD-21043-main 2023-01-05 09:47:22 +08:00
Benguang Zhao 442902e5cb fix: send rpc response on closing sync or failing to enqueue 2023-01-04 19:18:46 +08:00
Shengliang Guan bf6dc99461 fix: adjust sync logs 2023-01-04 11:48:30 +08:00
Shengliang Guan 34260cd397 Merge branch 'main' into FIX/TD-21043-main 2023-01-04 09:29:07 +08:00
Shengliang Guan 70b513c09c fix: vnode set the wrong replica info after snapshot transfered 2023-01-03 19:47:04 +08:00
Benguang Zhao 4031dc1af4 Merge branch main into FIX/TD-21043-main 2023-01-02 16:41:46 +08:00
Benguang Zhao 2baa71883d enh: logging states of sync log repl mgrs and the ring buffer in syncPrintNodeLog 2023-01-02 11:13:53 +08:00
Benguang Zhao cb433c191b enh: reset as stagnation only when not matched in syncLogReplMgrRetryOnNeed 2023-01-02 08:58:13 +08:00
Shengliang Guan 574915a48b fix: compatbility issue 2022-12-30 20:10:49 +08:00
Benguang Zhao 03f4b12386 enh: print peer addr in hex format 2022-12-30 19:36:18 +08:00
Shengliang Guan 01209614e6 fix: compatiable for pre version 2022-12-30 19:04:18 +08:00
Benguang Zhao eb524e610a enh: reset sync log replication on stagnation for eight times maxRetryWaitMs 2022-12-30 19:02:46 +08:00
Shengliang Guan 469dfb9d4e fix: compile errors 2022-12-30 17:47:17 +08:00
Benguang Zhao 4718f4d1b6 fix: resend acked msgs on exceeding maximum retryWaitMs 2022-12-30 17:24:44 +08:00
Shengliang Guan 9c1f2997f1 fix: test compile error 2022-12-30 17:16:02 +08:00
Shengliang Guan c2323db00d fix: allow the ip resolved by fqdn different between dnodes 2022-12-30 17:04:14 +08:00
Benguang Zhao e8e189cbbb enh: add sync log buffer info in logging msg in syncLogReplMgrRetryOnNeed 2022-12-29 15:48:59 +08:00
Shengliang Guan b05c65cd47 refact: rename variables 2022-12-29 11:21:22 +08:00
Shengliang Guan 4b7ab0a839 refact: adjust log 2022-12-29 11:00:33 +08:00
Benguang Zhao e22ce2df87 fix: use pReply->lastSendIndex instead while updating commitIndex 2022-12-29 10:45:25 +08:00
Shengliang Guan 7e67dc032d refact: rename variables 2022-12-29 10:41:01 +08:00
Benguang Zhao d307413c36 Merge branch 'main' into FIX/TD-21043-main 2022-12-29 10:03:17 +08:00
Benguang Zhao 044e58b712 enh: adjust logging msgs for sync probe and rollback 2022-12-29 10:00:35 +08:00
Benguang Zhao 2890a8cb96 fix: return error on failing to truncate raft log 2022-12-28 20:34:40 +08:00