Commit Graph

6301 Commits

Author SHA1 Message Date
Shengliang Guan c09e6f6236 Merge branch '3.0' into feature/TD-14761 2022-09-04 09:01:43 +08:00
Shengliang Guan 97b802ad77 fix: compile error 2022-09-04 09:01:26 +08:00
Shengliang Guan 0528fff7e0 Merge branch '3.0' into refact/tsdb_optimize 2022-09-04 08:56:58 +08:00
Haojun Liao 280bb37270 fix(query): reset fileIter when reset tsdb reader. 2022-09-03 23:06:39 +08:00
Haojun Liao 450173a66a Merge branch '3.0' into refact/tsdb_optimize 2022-09-03 22:20:05 +08:00
Haojun Liao 8e37698430 other: merge 2022-09-03 22:15:04 +08:00
Haojun Liao 66528912c3
Merge pull request #16646 from taosdata/feature/3_liaohj
fix(query): check the ts before merge file block.
2022-09-03 22:06:49 +08:00
Haojun Liao 1c89972fc6 fix(query): add multiple blockdata structure. 2022-09-03 22:00:24 +08:00
Haojun Liao 04c360dfcf fix(query): check the ts before merge file block. 2022-09-03 20:30:53 +08:00
Shengliang Guan 7cdf41a7e5
Merge pull request #16629 from taosdata/fix/TD-18781
fix: default #time series to 2 if schema's gone
2022-09-03 20:23:52 +08:00
Xiaoyu Wang 9cb0a3bd8c fix: user with sysinfo=0 query ins_database.precision error 2022-09-03 18:35:50 +08:00
Hongze Cheng 8e9f5cd9cc Merge branch 'refact/tsdb_optimize' of https://github.com/taosdata/TDengine into refact/tsdb_new_format 2022-09-03 17:20:43 +08:00
Hongze Cheng 82f0ba3655 fix: windows compile error 2022-09-03 14:18:29 +08:00
Hongze Cheng bbbbebab89 fix: windows compile 2022-09-03 13:37:48 +08:00
Haojun Liao d9d7c81872
Merge branch '3.0' into refact/tsdb_optimize 2022-09-03 10:14:48 +08:00
Shengliang Guan 0d8c9fb9d6
Merge pull request #16632 from taosdata/fix/dnode
enh: add hash prefix and suffix option to db
2022-09-02 23:05:33 +08:00
Shengliang Guan 25c67f6ebb enh: add hash prefix and suffix option to db 2022-09-02 19:00:11 +08:00
Minglei Jin 37035a374d fix: default #time series to 2 if schema's gone 2022-09-02 18:08:42 +08:00
Liu Jicong 3c470634a9
Merge pull request #16617 from taosdata/feature/stream
feat(stream): support delete data
2022-09-02 17:57:28 +08:00
Hongze Cheng 88bc40527b
Merge pull request #16618 from taosdata/fix/TD-18854
fix: rlock for meta uid index querying from query related threads
2022-09-02 17:39:28 +08:00
Haojun Liao 86348e7439 fix(query): initialize the last block reader successfully. 2022-09-02 17:27:47 +08:00
Hongze Cheng 173a8366e3 fix: compile warning 2022-09-02 17:20:50 +08:00
Hongze Cheng 696df47f05 more 2022-09-02 17:17:46 +08:00
Hongze Cheng 8329284a45 refact for further dev 2022-09-02 17:15:45 +08:00
Hongze Cheng 7fe743d00f refact code for further change 2022-09-02 17:04:49 +08:00
Hongze Cheng f963f5bfcc more code 2022-09-02 17:02:13 +08:00
Hongze Cheng d959ccb617 Merge branch 'refact/tsdb_optimize' of https://github.com/taosdata/TDengine into refact/tsdb_new_format 2022-09-02 16:49:32 +08:00
Liu Jicong 004a84ac81 fix memory leak 2022-09-02 16:41:32 +08:00
Hongze Cheng 1cba6138b8 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-09-02 16:39:15 +08:00
wangmm0220 796342dabb fix:<TD-18803> taosX core dump if schema is null 2022-09-02 16:05:22 +08:00
Hongze Cheng 305b6e70c0 Merge branch 'refact/tsdb_optimize' of https://github.com/taosdata/TDengine into refact/tsdb_new_format 2022-09-02 16:01:18 +08:00
Hongze Cheng fc538f436a Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-09-02 15:59:03 +08:00
Hongze Cheng a71be005ae fix: another fail CI case 2022-09-02 15:58:55 +08:00
Liu Jicong d653da7971 feat(stream): support delete data 2022-09-02 15:46:41 +08:00
Minglei Jin df76d0ade2 fix: rlock for meta uid index querying from query related threads 2022-09-02 15:34:44 +08:00
Shengliang Guan acab522494 enh: let create database SST_TRIGGER 2 worker 2022-09-02 15:19:50 +08:00
Hongze Cheng eafad954a1 fix: one little bug 2022-09-02 14:56:57 +08:00
Haojun Liao a170796f66 fix(query): fix invalid read/write. 2022-09-02 14:34:30 +08:00
Hongze Cheng 687dd81c44 refact more code 2022-09-02 14:26:57 +08:00
Shengliang Guan ae54c4a50b enh: let show vnodes works 2022-09-02 14:24:45 +08:00
Hongze Cheng ecbca97ca4 more code 2022-09-02 13:55:05 +08:00
Hongze Cheng d14a928307 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_new_format 2022-09-02 13:53:00 +08:00
Liu Jicong 48036e83c8
Merge pull request #16596 from taosdata/feature/stream
refactor(taosx): filter meta
2022-09-02 11:54:42 +08:00
Haojun Liao cac1fd36b7 Merge remote-tracking branch 'origin/refact/tsdb_optimize' into refact/tsdb_optimize
# Conflicts:
#	source/dnode/vnode/src/inc/tsdb.h
#	source/dnode/vnode/src/tsdb/tsdbMergeTree.c
#	source/dnode/vnode/src/tsdb/tsdbRead.c
2022-09-02 11:23:01 +08:00
Haojun Liao 720f3b2482 refactor: do some internal refactor. 2022-09-02 11:20:12 +08:00
Hongze Cheng 0eb29455ae refact code 2022-09-02 11:19:34 +08:00
Hongze Cheng aec4297eb4 refact code 2022-09-02 11:16:23 +08:00
Liu Jicong 739e7ae76f Merge branch '3.0' into feature/stream 2022-09-02 11:10:38 +08:00
Hongze Cheng ff4fda8442 refact code 2022-09-02 10:43:49 +08:00
Hongze Cheng 7d23c83091 refact code 2022-09-02 10:22:38 +08:00
Hongze Cheng 1132a7f719 refact code 2022-09-02 10:17:40 +08:00
Hongze Cheng 3286ab2a9e refact 2022-09-02 10:09:38 +08:00
Liu Jicong 502d75302e refactor(taosx): filter meta 2022-09-02 10:00:15 +08:00
Haojun Liao 52c5992c87 other:merge 3.0 2022-09-02 09:58:16 +08:00
Haojun Liao d1b7d07790 refactor:do some internal refactor. 2022-09-02 09:54:22 +08:00
Shengliang Guan 8686b228ee
Merge pull request #16582 from taosdata/feature/3_liaohj
fix(query): check node type when extract column info.
2022-09-01 19:24:34 +08:00
Haojun Liao fed9efa840 fix(query): check memory malloc failure. 2022-09-01 18:46:50 +08:00
Haojun Liao b2cf2818eb refactor(query): do some internal refactor. 2022-09-01 18:23:44 +08:00
dapan1121 b4ae5fadbe fix: fix create table rsp free issue 2022-09-01 18:00:41 +08:00
Haojun Liao c7350ef24d Merge remote-tracking branch 'origin/refact/tsdb_optimize' into refact/tsdb_optimize 2022-09-01 17:52:08 +08:00
Haojun Liao a3011a0194 refactor(query): do some internal refactor. 2022-09-01 17:51:26 +08:00
Hongze Cheng f8c0c0ca6d Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-09-01 17:41:48 +08:00
Cary Xu c0fd55f755 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-01 16:51:42 +08:00
Cary Xu 9ae0e15d6b refactor: rsma code refactor and use ref for qtaskf 2022-09-01 16:51:23 +08:00
Shengliang Guan c49bb4533f
Merge pull request #16575 from taosdata/enh/3.0_planner_optimize
enh: the default values of wal related parameters are different in si…
2022-09-01 16:50:19 +08:00
Minglei Jin e8cae58f8d Merge branch 'refact/tsdb_optimize' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-09-01 16:42:45 +08:00
Minglei Jin 97d533d520 tsdbCache/usage: new cacheload column for db.vgroups to check usage 2022-09-01 16:41:08 +08:00
Xiaoyu Wang c06503d865 enh: the default values of wal related parameters are different in single-replica and multi-replica 2022-09-01 15:52:03 +08:00
Haojun Liao 72e0f09dd2 refactor(query): do some internal refactor. 2022-09-01 15:50:41 +08:00
Minglei Jin bd0523ddb9 tsdbCache/last: add DCLP to last lookup 2022-09-01 15:48:49 +08:00
Minglei Jin ceb2948421 Merge branch 'refact/tsdb_optimize' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-09-01 15:33:52 +08:00
Minglei Jin 94f4d746b4 tsdbCache: support multi-last data reading 2022-09-01 15:33:01 +08:00
Hongze Cheng 88e3096b58 fix: empry var-len data coredump 2022-09-01 15:25:38 +08:00
Haojun Liao cdeca85e31 refactor: do some internal refactor. 2022-09-01 15:19:59 +08:00
Haojun Liao e65927bc5b fix(query): fix bug in merge multiple last files. 2022-09-01 15:11:40 +08:00
Shengliang Guan 900f5cf534
Merge pull request #16557 from taosdata/feature/stream
feat(taox): support auto create sub table
2022-09-01 14:47:34 +08:00
Hongze Cheng 12cbd1c8bb refact 2022-09-01 14:25:24 +08:00
Hongze Cheng 28e520656b fix: commit bug 2022-09-01 14:24:47 +08:00
Liu Jicong 47eb2a3fb8 fix iterate msg 2022-09-01 13:15:29 +08:00
Haojun Liao 1cfd3e74f9 enh(query): support merge multiple last files. 2022-09-01 11:56:56 +08:00
Liu Jicong 1fe4ab2341 feat(taox): support auto create sub table 2022-09-01 11:45:00 +08:00
Hongze Cheng 4271911b50 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-09-01 09:51:33 +08:00
Shengliang Guan fca65df5fa
Merge pull request #16537 from taosdata/feature/3.0_interval_hash_optimize
other: adjust rsma duration for data files
2022-09-01 08:59:50 +08:00
Hongze Cheng 03992f770b more code 2022-08-31 22:04:14 +08:00
Shengliang Guan 7509db4d81
Merge pull request #16535 from taosdata/fix/dnode
enh: make cmake .. -DCMAKE_BUILD_TYPE=Release  work
2022-08-31 19:31:43 +08:00
Shengliang Guan 8652074fad
Merge pull request #16536 from taosdata/feature/TD-14761
fix: add filter logic for tmq in stable wal
2022-08-31 19:22:11 +08:00
Cary Xu f3e2bef13e other: adjust max duration for rsma 2022-08-31 19:12:06 +08:00
Cary Xu c4bcb4e1e3 other: adjust rsma duration for data files 2022-08-31 19:06:03 +08:00
wangmm0220 c5874ca892 fix: add filter logic for tmq in stable wal 2022-08-31 18:32:28 +08:00
Shengliang Guan 4401080328 enh: make cmake .. -DCMAKE_BUILD_TYPE=Release work 2022-08-31 18:06:17 +08:00
Shengliang Guan b89b2df2a6
Merge pull request #16524 from taosdata/feature/stream
feat(tmq): support taosx
2022-08-31 17:09:31 +08:00
Liu Jicong 1c99eb1d4d fix set schema and tbname 2022-08-31 15:27:41 +08:00
Liu Jicong e9d1733e8c fix tbname 2022-08-31 14:37:18 +08:00
Liu Jicong c4dcc994fb remove queue scan 2022-08-31 11:35:25 +08:00
Shengliang Guan 5712d95260
Merge pull request #16506 from taosdata/enh/mvTables2Ins
enh: move some tables from perf to ins
2022-08-31 11:12:00 +08:00
Cary Xu 2ddfca5149 other: code optimization for assert condition 2022-08-30 19:29:26 +08:00
Hongze Cheng 97699559b6 fix a coredump 2022-08-30 17:55:53 +08:00
Cary Xu 753b725300 other: simplify qtaskinfo file naming 2022-08-30 17:29:02 +08:00
dapan1121 39569cbd9a enh: move some tables from perf to ins 2022-08-30 13:49:35 +08:00
Shengliang Guan c6fe02cff1
Merge pull request #16505 from taosdata/feature/3.0_interval_hash_optimize
enh: rsma fetch all logic optimization
2022-08-30 13:22:27 +08:00
Shengliang Guan ce0eb89465
Merge pull request #16503 from taosdata/feature/stream
feat(tmq): support taosx
2022-08-30 13:21:54 +08:00
Cary Xu e257bd3986 other: code optimization 2022-08-30 11:50:50 +08:00
Cary Xu 3b3abbc293 other: revert the code 2022-08-30 11:47:23 +08:00
Cary Xu 7a67a9be4b enh: rsma fetch all logic optimization 2022-08-30 11:44:28 +08:00
Hongze Cheng e73b4a68bb refact some code 2022-08-30 11:31:35 +08:00
Hongze Cheng 4c847cde6b Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-08-30 11:28:19 +08:00
Hongze Cheng 43f03d9eef fix compile error 2022-08-30 11:28:06 +08:00
Hongze Cheng 3111fad1f9 more code 2022-08-30 11:27:38 +08:00
Hongze Cheng f19b0f050f more code 2022-08-30 11:21:09 +08:00
Hongze Cheng e2f99ba072 more code 2022-08-30 11:19:25 +08:00
Liu Jicong 8b3489760c feat(tmq): support taosx 2022-08-30 11:12:20 +08:00
Shengliang Guan 847926555b
Merge pull request #16500 from taosdata/fix/TD-18726
fix: stat timeseries every minute to avoid dnode offline caused by ma…
2022-08-30 10:56:59 +08:00
Shengliang Guan beb08d4cea
Merge pull request #16478 from taosdata/feature/3.0_interval_hash_optimize
fix: race condition between fetch all and optr serialize
2022-08-30 10:40:24 +08:00
Hongze Cheng 5a636ae577 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-08-30 10:33:34 +08:00
Minglei Jin 01aca9ffc7 fix: stat timeseries every minute to avoid dnode offline caused by massive tables 2022-08-30 10:07:33 +08:00
Haojun Liao fdea9db9d3 fix(query): fix macro definition error. 2022-08-30 09:58:30 +08:00
Cary Xu 2a45862946 other: code format 2022-08-30 09:55:47 +08:00
Cary Xu 9600840aad fix: race condition between fetch all and commit 2022-08-30 08:14:32 +08:00
Cary Xu c8d6960291 other: adjust sma log level 2022-08-29 17:53:02 +08:00
wangmm0220 bf3231ab9f fix: cols num error in tmq for query 2022-08-29 17:30:50 +08:00
Cary Xu 8f6e87594f enh: not fetch all during commit 2022-08-29 16:33:08 +08:00
Cary Xu 12a01a88dd fix: race condition between fetch all and optr serialize 2022-08-29 16:15:12 +08:00
Hongze Cheng 90d7ba0f4f Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-08-29 11:02:53 +08:00
wade zhang 2ad31384f6
Merge pull request #15818 from taosdata/feature/TD-14761
feat: get meta and data from tmq using snapshot
2022-08-29 09:49:35 +08:00
Shengliang Guan fa0f6b50dc
Merge pull request #16424 from taosdata/fix/dnode
refactor: change mnode log level
2022-08-28 23:31:49 +08:00
Shengliang Guan c581212712
Merge pull request #16439 from taosdata/feature/3_liaohj
feature(query): support last function cache and retrieve data.
2022-08-28 21:27:13 +08:00
Hongze Cheng 1852c21b40 refact code 2022-08-28 16:30:37 +08:00
Hongze Cheng 2d3762a546 more code 2022-08-28 01:00:23 +08:00
Hongze Cheng 6a5423d08d more 2022-08-28 00:25:44 +08:00
Hongze Cheng 0e50a96668 refact code 2022-08-28 00:24:11 +08:00
Hongze Cheng de8944b62c more code 2022-08-28 00:19:24 +08:00
Hongze Cheng 92ca817b99 more code 2022-08-28 00:00:48 +08:00
Hongze Cheng d31459dc08 more code 2022-08-27 17:11:00 +08:00
Hongze Cheng f310c2cfcc more code 2022-08-27 15:34:01 +08:00
Hongze Cheng 8b58508e2e more code 2022-08-26 22:23:03 +08:00
Hongze Cheng 8ed246bdd3 more code 2022-08-26 21:57:02 +08:00
Haojun Liao 655dbb47c1 refactor(query): do some internal refactor. 2022-08-26 19:19:48 +08:00
Hongze Cheng 7de0fc7dae more code 2022-08-26 19:07:51 +08:00
Hongze Cheng efbbaa4120 more code 2022-08-26 18:25:02 +08:00
Hongze Cheng a224abef7e more code 2022-08-26 18:06:27 +08:00
Hongze Cheng 71e1049377 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-08-26 17:53:06 +08:00
Hongze Cheng 712bc9a0ba more code 2022-08-26 17:47:37 +08:00
Hongze Cheng daf5d42394 more code 2022-08-26 17:05:17 +08:00
Hongze Cheng 3b9e03ba17 more code 2022-08-26 16:56:42 +08:00
wangmm0220 6dfbe30d6b fix:test case if drop table in snapshot for create topic as database 2022-08-26 15:52:12 +08:00
Hongze Cheng 90b32809c5 more code 2022-08-26 15:48:44 +08:00
Minglei Jin 083ce4e67d fix: use sizeof(SBlockL) from aBlockL array's element size 2022-08-26 15:43:20 +08:00
Hongze Cheng 393ab4de7c more code 2022-08-26 15:35:43 +08:00
Haojun Liao 60d9acb7b4 feature(query): support last function cache and retrieve data. 2022-08-26 15:27:19 +08:00
Hongze Cheng 01fe1fc80c more code 2022-08-26 13:36:42 +08:00