Commit Graph

169 Commits

Author SHA1 Message Date
Hongze Cheng 851dba5166 refact code 2023-01-10 09:56:38 +08:00
Hongze Cheng 1dfeaf8b18 refact code 2023-01-10 09:53:38 +08:00
Hongze Cheng f848324d54 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-10 09:42:45 +08:00
Hongze Cheng ad9e8a9aa3 more code 2023-01-09 19:03:09 +08:00
Hongze Cheng f8c9ae50b8 more code 2023-01-09 16:06:07 +08:00
Hongze Cheng 15995e7631 more code 2023-01-09 14:54:49 +08:00
Hongze Cheng 375545435c adjust more code 2023-01-09 10:09:31 +08:00
Benguang Zhao a2085703bf Merge branch main into FIX/TD-21812-main 2023-01-09 10:08:28 +08:00
Shengliang Guan 398161eb5f Merge branch 'main' into merge/mainto3.0_0108 2023-01-09 10:00:53 +08:00
Hongze Cheng fda6fccac8 more code 2023-01-09 09:24:26 +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
Hongze Cheng d7ec7ed936 more code 2023-01-06 15:24:27 +08:00
Hongze Cheng e710802f1f more code 2023-01-05 15:40:15 +08:00
Xiaoyu Wang 9df6f69371 merge 3.0 2023-01-04 15:02:31 +08:00
Xiaoyu Wang fdde287ca9 merge main 2023-01-04 11:43:20 +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
Hongze Cheng de6be90cb5 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-29 10:00:47 +08:00
Shengliang Guan 78c14a2c88 Merge remote-tracking branch 'origin/3.0' into merge/mainto3.0_1228 2022-12-28 14:59:02 +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
Hongze Cheng d15453eb4e more code 2022-12-26 13:28:23 +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
kailixu 6d01e18f31 chore: rsma fs and vnode commit optimization 2022-12-24 23:37:58 +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
Minglei Jin d44bce1c6f fix: update vnode's commitTerm 2022-08-06 17:20:15 +08:00
Shengliang Guan d5aea7dac2 refactor: adjust sync log 2022-08-02 16:39:12 +08:00
Hongze Cheng 1840d8d812 fix: replica coredump debug 2022-07-28 06:35:56 +00:00
Minglei Jin a05def413d fix: more error log to debug vnode info file 2022-07-22 15:53:45 +08:00
Hongze Cheng 706b081f70 fix: r/w concurrency 2022-07-19 08:30:49 +00:00
Cary Xu 16750e1401 enh: rsma async commit support 2022-07-16 17:12:45 +08:00
Cary Xu ed34f490ca enh: async commit api for rsma 2022-07-15 16:06:41 +08:00
Minghao Li 2dd7abd47e refactor(sync): add vnode snapshot case 2022-07-11 10:34:02 +08:00
Hongze Cheng 0901640ba2 make snapshot compile 2022-07-06 09:46:14 +00:00
Hongze Cheng ddb198de23 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-07-04 03:42:50 +00:00
Cary Xu a8a0aa9223 refactor: rsma commit and restore 2022-07-02 15:17:41 +08:00
Cary Xu 1aa45f73f4 feat: rsma recovery 2022-07-01 20:54:57 +08:00
Cary Xu 3a159de7e2 refactor: assign the committed version 2022-06-30 15:28:03 +08:00
Haojun Liao 4a59e1300b other: merge 3.0. 2022-06-28 15:22:32 +08:00
Cary Xu 0597f3b9cd refactor: rsma resource release 2022-06-26 18:44:49 +08:00
Hongze Cheng e0deddc817 more work 2022-06-25 03:46:05 +00:00
Hongze Cheng 4d8d1df2e5 more work 2022-06-23 03:54:20 +00:00
Hongze Cheng cae57255be more work 2022-06-23 03:08:19 +00:00
Hongze Cheng 29e65ce767 more tsdb fs work 2022-06-21 07:13:12 +00:00
Shengliang Guan 27c1687a05 refactor: adjust some logs 2022-06-02 14:30:26 +08:00
Cary Xu 15b25eeec5 feat: tsma/rsma refactor 2022-06-01 15:06:12 +08:00
Cary Xu 069ce051f0 feat: move sma module from tsdb to vnode 2022-05-15 20:17:20 +08:00
afwerar 0815843e94 fix(os): make taosd.exe taos.exe run on windows. 2022-05-13 21:42:16 +08:00
Cary Xu 4ca81bec89 feat: rollup data query 2022-05-02 18:16:43 +08:00
Cary Xu c7ca57f557 feat: rollup data submit 2022-05-02 00:30:47 +08:00
Shengliang Guan e3170a1325 Merge remote-tracking branch 'origin/3.0' into feature/dnode 2022-04-29 18:57:02 +08:00
Hongze Cheng 48207a166e refact vnode and add tdb api 2022-04-29 07:55:52 +00:00
Shengliang Guan 80cc66f607 fix: uninitialised while encode vnode info 2022-04-29 15:08:17 +08:00
Hongze Cheng 42c6f01980 refact vnode includes 2022-04-26 11:04:26 +00:00
Hongze Cheng 6fe299cdcd Merge branch '3.0' of https://github.com/taosdata/TDengine into vnode_refact_merge 2022-04-26 05:49:42 +00:00
Hongze Cheng 98fc272ac8 more refact 2022-04-24 09:14:37 +00:00
Hongze Cheng d08e55762f more refact meta 2022-04-24 07:36:26 +00:00
Hongze Cheng 7516ecae42 refact more vnode 2022-04-24 07:34:53 +00:00