Commit Graph

451 Commits

Author SHA1 Message Date
Haojun Liao f9801ba9c5 enh(stream): stop stream asap. 2023-04-20 18:58:07 +08:00
Haojun Liao c654f1145d enh(stream): add new msg for seek, and do some internal refactor. 2023-04-20 10:59:16 +08:00
cadem ca6ee940f7 typo 2023-04-19 18:59:40 +08:00
wangmm0220 1061eef144 fix:move consumer msg from fetch thread to query thread 2023-04-19 10:49:18 +08:00
cadem 3b78d4382b add learner 2023-04-18 19:03:45 +08:00
Xiaoyu Wang 96d2c5b9e3
Merge pull request #20927 from taosdata/FIX/TD-23552-main
enh: try to propose vnode commit at vnode closing
2023-04-14 09:14:10 +08:00
Benguang Zhao d8386754ee enh: try to propose vnode commit at vnode closing 2023-04-13 19:45:24 +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
Xiaoyu Wang 9c0027cb2a
Merge pull request #20880 from taosdata/FIX/TD-23509-main
enh: refactor some sync func names
2023-04-12 14:01:55 +08:00
Xiaoyu Wang 8b8ac0cd77 merge main 2023-04-12 10:43:28 +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
wangmm0220 c40c695ea7 fix:optimize log & change the length of tag if tag is null in schemaless 2023-04-11 13:49:18 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Benguang Zhao 78ab9d3bf9 fix: process appendLog replies in vnode-sync thread 2023-03-28 17:57:08 +08:00
cadem 86ca5ce210 fix/trigger election by sync msg 2023-03-24 09:13:20 +08:00
cadem ea35f0ae11 feat/balance vgroup leader 2023-03-22 09:36:59 +08:00
Benguang Zhao 9f97162ef7 enh: separate election timer events 2023-03-14 21:02:06 +08:00
Benguang Zhao cc76d78673 enh: separate sync read and write events 2023-03-14 20:35:39 +08:00
Benguang Zhao 24ebb2f547 enh: no need to wait for emptying apply queue in syncNodePreClose 2023-03-08 19:35:05 +08:00
kailixu a03d9778a6 fix: update tfs storage size every 1 second by default 2023-03-08 11:03:29 +08:00
Benguang Zhao c3ef678da5 enh: not allow to insert when insufficient diskspace left 2023-03-01 15:55:06 +08:00
Xiaoyu Wang 5856a39827
Merge pull request #20123 from taosdata/fix/3.0_merge_main
merge main
2023-02-25 10:01:26 +08:00
Haojun Liao 22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
Xiaoyu Wang 1ab144609e merge main 2023-02-23 14:58:22 +08:00
yihaoDeng 27c12787f7 fix: fix double send resp 2023-02-22 16:40:13 +08:00
yihaoDeng a929aa22d8 merge 3.0 2023-02-12 10:48:18 +08:00
Shengliang Guan 7fdeaf19be Merge remote-tracking branch 'origin/3.0' into enh/TD-18702 2023-02-07 20:29:14 +08:00
Xiaoyu Wang 5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
Shengliang Guan 3b475d4c0d fix: adjust some log while split 2023-02-03 14:40:19 +08:00
Shengliang Guan e32d24ab1f enh: save vnodes list file 2023-01-31 16:49:28 +08:00
Shengliang Guan 9f2078ae0d enh: rename tsdb file 2023-01-31 16:28:37 +08:00
Shengliang Guan fbc4513ee3 enh: call vnodeBegin after vnodeSyncCommit 2023-01-31 15:01:10 +08:00
Shengliang Guan f6248d21df fix: coredump if no data while vnode commit 2023-01-31 13:32:08 +08:00
Benguang Zhao a84e990c4e fix: not try to propose commit on vmCloseVnode 2023-01-31 11:29:46 +08:00
Shengliang Guan 53ac9c7229 enh: commit tsdb after split 2023-01-31 10:59:34 +08:00
Shengliang Guan 141fcdd49b enh: alter vnode hashrange in cfg file 2023-01-30 17:54:54 +08:00
Shengliang Guan 8bc0d4ba74 enh: add alter vnode hashrange request 2023-01-30 16:33:17 +08:00
Shengliang Guan 03dc6e55b5 enh: add disable vnode write request 2023-01-30 13:54:15 +08:00
yihaoDeng bfd711c08f Merge remote-tracking branch 'origin/3.0' into dynamicIdx 2023-01-18 22:01:49 +08:00
kailixu 8f0f060410 Merge branch '3.0' into fix/TD-21873-3.0 2023-01-13 15:14:11 +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
kailixu e571ddf37e fix: tsma transaction refactor 2023-01-12 21:13:15 +08:00
Shengliang Guan cd0404bc25 refact: adjust return value of tmsgUpdateDnodeInfo 2023-01-12 17:08:33 +08:00
yihaoDeng 72b43d240d add/delete tag idx 2023-01-12 16:31:55 +08:00
Shengliang Guan cff741e4c4 fix: coverity issues 2023-01-11 16:56:14 +08:00
Shengliang Guan c5959c5b19 fix: invalid json item 2023-01-11 12:24:44 +08:00
Shengliang Guan 9a95c3d7ab enh: refact vmFile.c 2023-01-11 10:44:07 +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 7607a9788f fix: handle error while write json file 2023-01-06 15:39:56 +08:00
Shengliang Guan 03db839d4a fix: handle error while write vnodes.json 2023-01-06 15:15:54 +08:00
Shengliang Guan 129380703f fix: handle error while write vnodes.json 2023-01-06 14:25:38 +08:00
Shengliang Guan ef3e60c387 Merge branch 'fix/TD-21746' into FIX/TD-21043-main 2023-01-05 15:58:30 +08:00
yihaoDeng a64e9d53b4 updata index 2023-01-05 15:39:35 +08:00
Shengliang Guan 84ec8a7f3d Merge branch 'main' into fix/TD-21353 2023-01-05 11:53:38 +08:00
Minglei Jin 0dd9e4bdee fix(vnode): new vnodePostClose for closing sync module 2023-01-05 11:35:39 +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
Minglei Jin c28ba32c93 fix(vnode/mgmt): pre close vnode after queue's empty 2023-01-04 18:08:33 +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
Liu Jicong 617d8d4013 fix mem leak 2023-01-03 11:18:48 +08:00
Benguang Zhao 4031dc1af4 Merge branch main into FIX/TD-21043-main 2023-01-02 16:41:46 +08:00
Shengliang Guan 929be865f1 Merge branch 'main' into fix/TS-2349 2022-12-30 17:42:56 +08:00
Shengliang Guan c2323db00d fix: allow the ip resolved by fqdn different between dnodes 2022-12-30 17:04:14 +08:00
Haojun Liao 8ca981b3f0 Merge branch 'main' into feature/3_liaohj 2022-12-29 10:26:07 +08:00
Benguang Zhao d307413c36 Merge branch 'main' into FIX/TD-21043-main 2022-12-29 10:03:17 +08:00
Shengliang Guan ed98fddf74 enh: adjusting the operation mode of the stream thread pool 2022-12-28 14:37:56 +08:00
Shengliang Guan 024a7a58a1 fix: add some logs to detect vnodes.json emptyed 2022-12-27 18:46:32 +08:00
Benguang Zhao 8916722dd7 Merge branch main to FIX/TD-21043-main 2022-12-27 14:50:39 +08:00
Benguang Zhao ab8efc828d enh: check existence of msg head at SRpcMsg pCont in vmPutMsgToQueue 2022-12-27 14:26:15 +08:00
Benguang Zhao a7bfeb5fbe fix: check existence of SMsgHead in SSyncRaftEntry data or SRpcMsg pCont 2022-12-26 23:10:46 +08:00
Benguang Zhao 5159d60f56 enh: vnodeCommit on consensus only 2022-12-23 20:16:32 +08:00
Shengliang Guan 9af36669ad refact: post sem in vnode while sync timeout 2022-12-14 11:56:08 +08:00
Shengliang Guan 2b256542a5 refact: add vnode timer 2022-12-14 09:14:40 +08:00
Shengliang Guan b89877b4c1 refact: add vnode timer 2022-12-13 13:41:06 +08:00
Shengliang Guan 652f51fec5 fix: control rpc qitem memory 2022-12-10 15:09:55 +08:00
Shengliang Guan 50b66df39f fix: control rpc qitem memory 2022-12-10 14:02:57 +08:00
Shengliang Guan 13f36ec20a refact: remove TSDB_CODE_APP_NOT_READY and TSDB_CODE_NODE_NOT_DEPLOYED 2022-12-02 16:06:10 +08:00
Shengliang Guan 9f90467b68
Merge pull request #18614 from taosdata/feature/3.0_mhli
refactor(sync): put heartbeat-reply msg into sync-ctrl-queue
2022-12-01 17:25:54 +08:00
Minghao Li 0b3d749228 refactor(sync): put heartbeat-reply msg into sync-ctrl-queue 2022-12-01 16:12:22 +08:00
Benguang Zhao 4edef438ea enh: transfer ownership of msgs while committing sync log entries 2022-11-26 21:57:23 +08:00
Minghao Li 2b411912d9 refactor(sync): can not propose when heartbeat timeout 2022-11-23 14:17:13 +08:00
Shengliang Guan ae0bd036a0 fix: more log 2022-11-21 23:11:00 +08:00
Shengliang Guan 201ce10fbc fix: restore wal info changes 2022-11-16 15:45:40 +08:00
Shengliang Guan 278cf9d327 refact: remove sync ping and pingreply 2022-11-11 17:48:15 +08:00
Shengliang Guan 6c0f46ff03 fix: the vnode was created to the wrong dnode when network was misconfigured 2022-11-08 18:10:26 +08:00
dapan1121 f7fa81ee2c fix: fix error handling for query msg preprocessing 2022-11-07 18:51:13 +08:00
dapan1121 5ab6166efe enh: support grant check in vnode query 2022-11-07 16:23:40 +08:00
dapan1121 7081ebe9e6
Merge pull request #17877 from taosdata/enh/TD-19920
enh: add show rewrite mask in query msg
2022-11-05 15:35:51 +08:00
Shengliang Guan 2e6f75107d enh: adjust the number of vnode threads so that one vnode has one write thread 2022-11-04 17:38:35 +08:00
Shengliang Guan 4fc0e3bd55 enh: adjust the number of vnode threads so that one vnode has one write thread 2022-11-04 17:21:00 +08:00
Shengliang Guan fc41f43c9d fix: deadlock while drop db 2022-11-04 16:15:37 +08:00
Shengliang Guan a0983cf8c1 enh: adjust tqueue and tworker log 2022-11-04 10:58:23 +08:00
dapan1121 ae5f6ef175 enh: add show rewrite mask in query msg 2022-11-03 16:28:48 +08:00
Liu Jicong 31f574359d fix:log empty msg 2022-11-03 14:29:51 +08:00
Liu Jicong 15ad147c40 Merge branch '3.0' into feature/stream 2022-11-03 13:37:59 +08:00
Liu Jicong 2fbc8e6306 refactor(stream): stream deploy and state transfer 2022-11-03 13:22:23 +08:00
Shengliang Guan 0d60817268
Merge pull request #17837 from taosdata/feature/3.0_mhli
refactor(sync): add pre snapshot
2022-11-02 21:11:22 +08:00
Minghao Li 70aff8451f refactor(sync): add pre snapshot 2022-11-02 15:38:30 +08:00
Shengliang Guan b5f0041af1 refact: adjust error code in vnode 2022-11-02 15:28:32 +08:00