Commit Graph

530 Commits

Author SHA1 Message Date
Shengliang Guan 9e803332fc refact: adjust error codes 2022-12-02 23:10:12 +08:00
Shengliang Guan f3e980de14 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:45:11 +08:00
Shengliang Guan 524de026a5 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:24:35 +08:00
Shengliang Guan 16cd6ede5f enh: adjust error codes 2022-12-02 16:49:10 +08:00
Shengliang Guan 24ee4b4289 Merge branch '3.0' into enh/TD-20891 2022-12-02 16:44:46 +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
dapan1121 55e544793c
Merge pull request #18599 from taosdata/fix/TD-20802
enh: support query retry cause of dnode stopped
2022-12-02 14:01:16 +08:00
Shengliang Guan db42ec46bf refact: adust error code while dnode startup 2022-12-02 10:05:52 +08:00
dapan1121 b430f653b9 Merge remote-tracking branch 'origin/3.0' into fix/TD-20802 2022-12-01 09:22:31 +08:00
dapan1121 8ee170bef1 enh: add retry for vnode closed case 2022-11-29 16:17:05 +08:00
yihaoDeng d463f05b3f change paramter 2022-11-29 10:28:32 +08:00
yihaoDeng 963d56cfc1 retry code 2022-11-22 11:10:28 +08:00
Minglei Jin cdaafb7b89 fix(meta): new error for creating sub tb already exist in other stables 2022-11-19 08:19:03 +08:00
dapan1121 2fbf082f7d enh: support client redirect processing 2022-11-18 19:55:15 +08:00
dapan1121 f60441e2dd fix: fix query thread quitting issue 2022-11-11 18:44:59 +08:00
Shengliang Guan 30058f7619 enh: optimize the error code when create and delete a database in a dropping state 2022-11-08 10:46:32 +08:00
Shengliang Guan 46e55ba9fb refact: remove config change codes 2022-11-07 20:19:55 +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
dapan1121 2bf5b0405d
Merge pull request #17851 from taosdata/enh/TD-19956
enh: optimize submit response message
2022-11-03 10:19:39 +08:00
Shengliang Guan b5f0041af1 refact: adjust error code in vnode 2022-11-02 15:28:32 +08:00
dapan1121 ecfcf7054c enh: optimize submit response msg 2022-11-02 15:18:32 +08:00
Benguang Zhao 31a0421878 enh: check completeness of WAL log entries after repairing 2022-10-27 15:55:22 +08:00
Benguang Zhao 7fb827debd fix: refactor walScanLogGetLastVer, walCheckAndRepairMeta, and walCheckAndRepairIdx.
* search for the last entry in the contiguous range of valid WAL from the last pos fsynced as firstTrial
    * find the last entry before the last pos fsynced backwards as second trial
    * reserve sufficient space for computing CRC32 checksum, esp. of WAL record body
    * rebuild meta info to resolve potential misalignment between lists of meta and actual log files
    * retract commitIndex and appliedIndex to lastLogIndex if needed
    * put an upper size limit on possibly corrupted WAL range to be recovered
2022-10-15 23:56:31 +08:00
Xiaoyu Wang 947e9d6458 fix: some problems of parser 2022-10-12 10:16:29 +08:00
Hongze Cheng 579af54c49 more code 2022-10-10 17:45:10 +08:00
Xiaoyu Wang 73642ac3a2 feat: sql command 'show table tags from table_name' 2022-09-29 16:16:49 +08:00
Xiaoyu Wang 9f45f81aa0 fix: join validity check 2022-09-22 16:54:39 +08:00
Cary Xu 777fadee25 feat: stream state optimization for rsma 2022-09-19 19:27:23 +08:00
Liu Jicong 3bedc3fa3b
Merge pull request #16836 from taosdata/feature/stream
feat(stream): stream state support tuple
2022-09-14 17:47:47 +08:00
Liu Jicong c7f986a656 refactor(tmq): add error code 2022-09-14 17:11:50 +08:00
Ganlin Zhao 64226e5e55 fix error code number 2022-09-14 15:01:14 +08:00
Ganlin Zhao 6b2bf42f68 fix(query): twa function output NULL if input has overlap timestamps
TD-18224
2022-09-13 18:05:54 +08:00
Cary Xu 9ae0e15d6b refactor: rsma code refactor and use ref for qtaskf 2022-09-01 16:51:23 +08:00
Ganlin Zhao 00b2db50b4 fix(query): restrict fill(none) in interp
TD-18531
2022-08-23 10:40:01 +08:00
Hui Li 35af88cbaa
Merge pull request #16195 from taosdata/feature/3.0_interval_hash_optimize
enh: rsma batch process
2022-08-18 16:07:14 +08:00
Liu Jicong 853e6e2988 refactor(mnode): drop stream task 2022-08-17 19:19:58 +08:00
Cary Xu 7216384d2f Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-16 13:44:52 +08:00
Liu Jicong c4df4431cd refactor(tmq): put write logic into taosx.c 2022-08-15 18:50:28 +08:00
Cary Xu dab6c81769 enh: rsma batch process 2022-08-15 00:16:44 +08:00
Liu Jicong 95f696b30d enh(tmq): prevent drop db when topic exists 2022-08-10 17:24:47 +08:00
Liu Jicong e5e82f0cf2 merge 3.0 2022-08-10 16:31:23 +08:00
Liu Jicong 18f6fb6123 enh(tmq): speed up consumer recover 2022-08-10 16:04:03 +08:00
Cary Xu 875eabdbf5 fix: send rsma fetch msg to designated vg 2022-08-08 16:18:05 +08:00
yihaoDeng ecd560ccb0 start timer for particular msg 2022-08-06 15:30:11 +08:00
Cary Xu 2f19c2d0a5 other: rsma replica restore and memory leak 2022-08-03 10:58:01 +08:00
Zhiqiang Wang 8ea865fe5c
Merge pull request #15659 from taosdata/fix/ZhiqiangWang/TD-17383-add-cloud-grant-cfg
feat: add cloud grant cfg
2022-08-02 09:47:43 +08:00
afwerar 412d3437a8 feat: add cloud grant cfg 2022-08-01 19:54:13 +08:00
shenglian-zhou 21308d7853
Merge pull request #15639 from taosdata/szhou/fix/join
fix: fix failed case of join.sim
2022-08-01 18:54:42 +08:00
Cary Xu 45c68a1622 fix: check modifiable when drop tsma columns 2022-08-01 16:51:32 +08:00
shenglian zhou 905a07801e fix: fix errors of join test case 2022-08-01 16:19:50 +08:00
dapan1121 156567b9bc fix: fix show queries crash and error msg 2022-07-29 09:01:35 +08:00
Xiaoyu Wang f977117c6c fix: db options rename 2022-07-27 11:55:19 +08:00
yihaoDeng 1cb488dd56 refactor: add new auth code 2022-07-26 13:33:24 +08:00
Shengliang Guan 58f2fa8c82 enh: make the error codes of 2.0 and 3.0 error as same 2022-07-23 18:23:09 +08:00
Liu Jicong 2441ec22bd feat(tmq): check alter for ntb 2022-07-22 16:05:28 +08:00
Xiaoyu Wang 5988fc0e4a feat: sql command 'show tags from table_name' 2022-07-19 15:31:44 +08:00
Hongze Cheng 592c6991a0 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-16 03:13:03 +00:00
WANG MINGMING 67b1c680b3
Merge pull request #14958 from taosdata/feature/TD-14761
fix:error in schemaless
2022-07-15 18:51:35 +08:00
Hongze Cheng c9b0864e21 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-15 10:03:26 +00:00
wangmm0220 1517b69cef fix:error in schemaless 2022-07-15 17:36:33 +08:00
yihaoDeng baa21c8398 Merge branch '3.0' of https://github.com/taosdata/TDengine into dev 2022-07-15 14:58:00 +08:00
yihaoDeng 35e8ad2811 feat: add time unsynced check 2022-07-15 14:51:20 +08:00
Hongze Cheng 26509fa242 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-13 12:03:10 +00:00
dapan1121 ca754adaa6 fix: add agg processing 2022-07-13 17:14:04 +08:00
Hongze Cheng 2fd04241d6 more vnode snapshot reader 2022-07-13 06:26:13 +00:00
Xiaoyu Wang bd210bf392 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-10 16:45:14 +08:00
Shengliang Guan 998de54728 feat:write meta from tmq to taosd 2022-07-10 11:17:51 +08:00
Shengliang Guan c6591c3cd3 Merge remote-tracking branch 'origin/3.0' into feature/TD-13041 2022-07-10 10:59:47 +08:00
Shengliang Guan f2f45a1ec7 feat:write meta from tmq to taosd 2022-07-10 10:59:34 +08:00
Xiaoyu Wang f99a61a464 fix: some problem of parser and planner 2022-07-08 21:05:19 +08:00
Haojun Liao 29949a965b other: merge 3.0. 2022-07-06 13:46:24 +08:00
dapan1121 cd0cf055e5 Merge branch '3.0' into feature/insertselect 2022-07-05 16:17:04 +08:00
dapan1121 b5207239b5 enh: refactor scheduler code 2022-07-05 16:10:38 +08:00
Cary Xu 6ef9f0c9e9 fix: rsma version adjust 2022-07-05 14:57:01 +08:00
Haojun Liao 6bfe5df94a other: merge 3.0 2022-07-05 09:47:39 +08:00
Shengliang Guan 5405ac08d9
Merge pull request #14514 from taosdata/fix/tsim
enh: check available memory of dnode while creating db
2022-07-04 19:42:42 +08:00
Li Minghao c45e0d5112
Merge pull request #14513 from taosdata/feature/3.0_mhli
refactor(sync): add sync strategy
2022-07-04 18:40:41 +08:00
Shengliang Guan c58a84750e Merge remote-tracking branch 'origin/3.0' into fix/tsim 2022-07-04 17:54:25 +08:00
Shengliang Guan 630eebecd5 enh: check available memory of dnode while creating db 2022-07-04 17:50:35 +08:00
Minghao Li 59f015a121 refactor(sync): add error code sync-timeout 2022-07-04 16:22:02 +08:00
Xiaoyu Wang 2450d5982b
Merge pull request #14450 from taosdata/feature/3.0_debug_wxy
fix: some problems of parser and planner
2022-07-04 16:18:45 +08:00
Hongze Cheng 267e450a15 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-07-04 05:21:43 +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
yihaoDeng e08353f843 Merge branch 'dlp' into idx 2022-07-04 09:28:26 +08:00
Xiaoyu Wang d5d25253fb Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-02 19:34:31 +08:00
Xiaoyu Wang 988cffcce6 fix: some problems of parser and planner 2022-07-02 18:19:10 +08:00
Cary Xu 73b1101aa5
Merge pull request #14449 from taosdata/feature/TD-11274-3.0
feat: rsma recovery
2022-07-02 12:47:47 +08:00
Cary Xu 0467c0db93 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0 2022-07-01 20:55:10 +08:00
Cary Xu 1aa45f73f4 feat: rsma recovery 2022-07-01 20:54:57 +08:00
Xiaoyu Wang 7a53bae352 merge 3.0 2022-07-01 20:05:15 +08:00
wangmm0220 4e6b3d72ac Merge branch '3.0' into feature/TD-13041 2022-07-01 16:54:18 +08:00
Xiaoyu Wang a94e5f9bec fix: csum/diff/mavg support subquery 2022-07-01 15:47:07 +08:00
Minghao Li 4033e2dd34 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-07-01 09:50:43 +08:00
yihaoDeng 4b0e8a3919 feat: refactor index code 2022-06-30 20:00:46 +08:00
Minghao Li 24a3c817a4 refactor(sync): add batch propose 2022-06-30 16:44:49 +08:00
wangmm0220 3725adc861 fix:merge from 3.0 2022-06-29 18:45:34 +08:00
yihaoDeng 3501475f60 enh: add new code 2022-06-29 16:11:41 +08:00
dapan1121 7beac65a73
Merge pull request #14303 from taosdata/hotfix/resetquerycache
fix: fix reset query cache crash issue
2022-06-29 08:54:42 +08:00
Cary Xu fc55d6fb85 refactor: rsma code optimization 2022-06-28 16:24:48 +08:00
Haojun Liao 4a59e1300b other: merge 3.0. 2022-06-28 15:22:32 +08:00
Ganlin Zhao f9e80a8e2b fix(query): add mode function 2022-06-27 19:41:13 +08:00
wangmm0220 5557c2ef93 fix: add limit for json operator 2022-06-27 16:17:58 +08:00
dapan1121 4ad36f714d fix: fix reset query cache issue 2022-06-24 20:53:52 +08:00
dapan1121 be341e1daa Merge branch '3.0' into hotfix/resetquerycache 2022-06-24 15:22:24 +08:00
Cary Xu 0a24fbcdd6 feat: persistence of rsma qtaskinfo 2022-06-23 14:19:21 +08:00
dapan1121 9cee07bfca fix: fix reset query cache crash issue 2022-06-23 13:53:14 +08:00
dapan1121 88b48ec46c Merge branch '3.0' into feature/showcreate 2022-06-21 17:40:52 +08:00
Shengliang Guan 714c599fd7 fix: deadlock while set standby 2022-06-21 11:40:27 +08:00
dapan1121 be2935cba6 feat: show create table 2022-06-20 20:58:36 +08:00
Li Minghao 55a79f25a2
Merge pull request #14031 from taosdata/feature/3.0_mhli
refactor(sync): propose fail when changing
2022-06-20 20:45:57 +08:00
Minghao Li e441bd266b refactor(sync): add changing state 2022-06-20 17:48:56 +08:00
Hongze Cheng a889ac3edc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-20 05:13:12 +00:00
Xiaoyu Wang 9e8058dd5d feat: sql function 'interp' 2022-06-20 12:00:57 +08:00
Hongze Cheng c2892e4d35 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-20 01:27:02 +00:00
dapan1121 cd5578918a Merge branch '3.0' into enh/taos.ref 2022-06-18 19:49:08 +08:00
Hongze Cheng afb5be516f Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-18 10:35:57 +00:00
dapan1121 5f4614d61a qnode for policy 2/3 2022-06-18 16:30:46 +08:00
Xiaoyu Wang 3599b26526
Merge pull request #13943 from taosdata/feature/3.0_debug_wxy
feat: rollup options adjust
2022-06-18 16:26:48 +08:00
Hongze Cheng 2e590c3036 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-18 01:53:01 +00:00
Hongze Cheng a200ea85db Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-17 12:23:01 +00:00
Xiaoyu Wang 64f8a9cea8 merge 3.0 2022-06-17 18:45:17 +08:00
Shengliang Guan 98272d1434 Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-06-17 18:41:39 +08:00
Shengliang Guan fefb416213 enh: let rollback stage stage also need to be consistent 2022-06-17 18:30:40 +08:00
dapan1121 211adf20af
Merge pull request #13875 from taosdata/feature/showapps
feat: support show apps command
2022-06-17 18:20:05 +08:00
Hongze Cheng 9bc64e80b5 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-17 09:36:32 +00:00
Xiaoyu Wang aea4f9c69b feat: rollup options adjust 2022-06-17 17:27:42 +08:00
Liu Jicong e92aa57e93 feat(tmq): support commit one msg 2022-06-17 16:38:06 +08:00
Liu Jicong abc7d06305 Merge branch '3.0' into feature/stream 2022-06-17 15:35:41 +08:00
Liu Jicong d7660484cc fix(tmq): performance issue 2022-06-17 15:10:00 +08:00
dapan1121 f0c53fb982 Merge branch '3.0' into feature/showapps 2022-06-17 14:44:44 +08:00
Hongze Cheng 189f99eb74 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-17 06:41:12 +00:00
Xiaoyu Wang fe25e45e0f
Merge pull request #13899 from taosdata/feature/3.0_wxy
feat: the unique function and tail function are rewritten as the corresponding clauses
2022-06-17 14:30:23 +08:00
dapan1121 b3f9f81b61 support show apps 2022-06-16 21:06:04 +08:00
Hongze Cheng 0bdbf866c0 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-16 10:19:26 +00:00
Xiaoyu Wang e224d40480 feat: the unique function and tail function are rewritten as the corresponding clauses 2022-06-16 16:58:55 +08:00
Shengliang Guan 7aa087a48d feat: redistribute vgroup 2022-06-16 15:25:04 +08:00
Hongze Cheng 3da422fef7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-16 01:33:06 +00:00
Liu Jicong 683bc24646
Merge pull request #13876 from taosdata/feature/stream
feat(stream): drop task
2022-06-15 22:59:43 +08:00
Liu Jicong 5572abe1b4 feat(stream): drop task 2022-06-15 21:41:59 +08:00
Hongze Cheng 76a71b11ed Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-15 11:26:18 +00:00
Shengliang Guan 1b15c3439a
Merge pull request #13859 from taosdata/fix/dnode
feat: increase enable and sysinfo limits for user privilege
2022-06-15 18:24:32 +08:00
Shengliang Guan 6711d79434 feat: increase enable and sysinfo limits for user privilege 2022-06-15 17:40:02 +08:00
Minghao Li 4b18bd718e refactor(sync): adjust errno 2022-06-15 16:14:17 +08:00
Hongze Cheng 858474736d Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-15 01:20:18 +00:00
Yihao Deng 9e8c63af31
Merge pull request #13838 from taosdata/enh/log
Enh/log
2022-06-15 07:14:00 +08:00
Yihao Deng f6287282a8
Merge branch '3.0' into enh/log 2022-06-14 21:24:26 +08:00
Cary Xu c6782e9669 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0 2022-06-14 20:19:35 +08:00
Cary Xu cb7d0c2256 feat: tsma insert and query 2022-06-14 20:19:25 +08:00
Hongze Cheng c9a3a7a6c6 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-14 11:49:05 +00:00