Commit Graph

102 Commits

Author SHA1 Message Date
Benguang Zhao a2085703bf Merge branch main into FIX/TD-21812-main 2023-01-09 10:08:28 +08:00
Benguang Zhao 90830e5410 fix: use pInfo->info.state.committed instead of the current one for async vnodeCommit 2023-01-09 09:08:59 +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 ed43aeaa9b enh: add vndCommitMaxInterval cfg param 2022-12-29 19:47:28 +08:00
Benguang Zhao 92e05b8ece enh: schedule vnodeCommit uniformly distributed 2022-12-27 16:28:44 +08:00
Benguang Zhao fda2f55fe5 Merge branch main to FIX/TD-21043-main 2022-12-26 14:26:25 +08:00
Minglei Jin 516cfe5caf Merge branch 'main' into fix/TD-21498 2022-12-26 11:05:00 +08:00
Minglei Jin 3ea9fadfc8 fix(vnd): save vnode info at the begining of vnode prepare commit 2022-12-26 10:10:49 +08:00
Benguang Zhao 5159d60f56 enh: vnodeCommit on consensus only 2022-12-23 20:16:32 +08:00
Shengliang Guan 48b6bd438d fix: restart snapshot sender on receiver is restart 2022-12-22 17:30:02 +08:00
Shengliang Guan 41dcd32b8e refact: adjust some logs 2022-12-20 15:01:03 +08:00
Minglei Jin 5f2b393c0c meta/snapshot: use nil heap and abort tdb when rollback 2022-12-09 16:23:43 +08:00
Hongze Cheng 63cc4e27b1 more code 2022-12-09 15:50:22 +08:00
Minglei Jin 35b958a1c4 fix: commit tdb in write thread 2022-12-05 11:17:14 +08:00
kailixu cf0995f749 feat: async commit for rsma 2022-12-04 20:26:58 +08:00
Minglei Jin a4adcbbe0d vnode/async-commit: adapter vnode-commit to use txn commit 2022-12-04 18:13:51 +08:00
Hongze Cheng 2a20347210 add more code 2022-12-04 15:14:04 +08:00
Hongze Cheng 8aad71c928 more code 2022-12-04 10:07:08 +08:00
Hongze Cheng 129c692f3e more async commit 2022-12-02 15:44:24 +08:00
Hongze Cheng 043cc1104e more code 2022-12-01 20:26:56 +08:00
Benguang Zhao 3cbe109e4b fix: initialize vnode state applyTerm with commitTerm in vnodeOpen 2022-11-30 22:41:33 +08:00
benguang.zhao 07db554fab enh: persist wal at the beginning of vnodeCommit 2022-11-01 00:00:18 +08:00
Shengliang Guan ec786b9d78 fix: alter replica one by one 2022-10-24 11:57:26 +08:00
Shengliang Guan f5d1b3f8f1 Merge remote-tracking branch 'origin/3.0' into feature/sync2-merge 2022-10-21 19:12:06 +08:00
Shengliang Guan 780e4a489c
Merge pull request #17528 from taosdata/fix/TD-19682-D
fix: commit txn for rsma
2022-10-21 14:15:59 +08:00
Shengliang Guan 6c3cd3e19e test: adjust log 2022-10-21 10:39:29 +08:00
Minghao Li 5965629b2e refactor(sync): refacotr sync 2022-10-20 16:05:14 +08:00
Cary Xu af4957f672 chore: code optimization for rsma 2022-10-20 16:02:51 +08:00
Cary Xu 706aa1da1e chore: code optimization for rsma 2022-10-19 19:59:35 +08:00
Cary Xu e997780044 chore: code optimization for rsma 2022-10-19 19:52:09 +08:00
Cary Xu 8573fb56c8 chore: code optimization for rsma 2022-10-19 17:48:56 +08:00
Cary Xu 54526adcc3 fix: commit txn for rsma 2022-10-19 17:18:41 +08:00
Hongze Cheng 20b3e2168b Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-19 11:56:15 +08:00
Cary Xu a6e3da8045 chore: code optimization for sma commit 2022-10-19 09:37:38 +08:00
Minglei Jin 82132cdfdd meta: new metaFinishCommit api & rollback parameter with metaOpen 2022-10-18 18:34:39 +08:00
Hongze Cheng 0706f2dea2 more code 2022-10-18 16:54:53 +08:00
Hongze Cheng b7342525c7 more code 2022-10-18 13:38:26 +08:00
Minghao Li 092a07475d refactor(sync): process hb and appendentries 2022-10-17 16:38:44 +08:00
Benguang Zhao 34ea8996a0 fix: check disk availability for committing vnode 2022-10-15 23:57:37 +08:00
Benguang Zhao 36bf800e15 fix: improve fault tolerance on disk space full with error handling enhanced 2022-10-14 22:02:27 +08:00
Hongze Cheng 8fbf4af35f more code 2022-10-10 21:30:23 +08:00
Hongze Cheng 6825d2a143 alter vnode buffer 2022-10-09 13:55:14 +08:00
Cary Xu f9e0aad827 enh: rsma batch process 2022-08-20 23:28:48 +08:00
Cary Xu 64747cb029 other: code optimization 2022-08-18 10:02:27 +08:00
Cary Xu c5d3440b84 other: code optimization 2022-08-18 09:58:24 +08:00
Cary Xu d65b75514a fix: remove obsoleted codes 2022-08-17 20:38:34 +08:00
Cary Xu ea891dc793 other: code optimization 2022-08-17 20:30:42 +08:00
Cary Xu d170adf214 enh: rsma batch process 2022-08-16 20:22:45 +08:00
Minglei Jin d0416f312f fix: tdb use sys memory when snapshot writing 2022-08-09 19:07:07 +08:00