Commit graph

187 commits

Author SHA1 Message Date
Xiaoyu Wang
1ab144609e merge main 2023-02-23 14:58:22 +08:00
Benguang Zhao
a78556a3e6 fix: synchronize access to pVnode->inUse 2023-02-21 16:52:24 +08:00
Hongze Cheng
039a0d2270 fix: compile issue 2023-02-10 18:01:22 +08:00
Hongze Cheng
9694933ec8 fix: compact issue 2023-02-10 16:24:29 +08:00
Hongze Cheng
d9e8b3c047 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-08 10:20:22 +08:00
kailixu
9598fe684e Merge branch '3.0' into fix/TD-22047-3.0 2023-02-07 10:42:16 +08:00
Xiaoyu Wang
f2ff17dace merge 3.0 2023-02-06 14:18:13 +08:00
Hongze Cheng
579f65115d add debug info 2023-01-31 15:23:21 +08:00
Hongze Cheng
11bc53bbd7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-01-31 14:07:58 +08:00
Shengliang Guan
141fcdd49b enh: alter vnode hashrange in cfg file 2023-01-30 17:54:54 +08:00
kailixu
1fb2df0385 fix: rsma close and commit refactor 2023-01-28 17:00:53 +08:00
Xiaoyu Wang
f487c4e63f
Merge pull request #19524 from taosdata/fix/long_query
fix(query): switch buffer pool recycle on
2023-01-28 08:51:51 +08:00
Xiaoyu Wang
9a0c2805f4 merge main 2023-01-13 13:54:04 +08:00
Minglei Jin
086253b413 Revert "vnode: disable buffer pool recycling for 3.0 merging"
This reverts commit ba68d5d7b3.
2023-01-12 09:52:03 +08:00
Minglei Jin
ba68d5d7b3 vnode: disable buffer pool recycling for 3.0 merging 2023-01-11 14:03:51 +08:00
Hongze Cheng
020b79a094 little fix 2023-01-10 17:04:23 +08:00
Hongze Cheng
1154f90aa0 fix: cond wait EINVAL 2023-01-10 17:00:25 +08:00
Hongze Cheng
f26f661f47 more code 2023-01-10 11:01:41 +08:00
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