Commit Graph

3573 Commits

Author SHA1 Message Date
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
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
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 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 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
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
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
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
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 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
Hongze Cheng 341ff02624 more code 2022-08-26 13:33:16 +08:00
Hongze Cheng c677d5494b make it compile 2022-08-26 13:03:12 +08:00
Hongze Cheng b833c3ef89 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-08-26 13:01:15 +08:00
Hongze Cheng 61cfacd8c2 more code 2022-08-26 12:58:13 +08:00
Hongze Cheng e3701fdcb1
Merge pull request #16427 from taosdata/fix/TD-18643
fix: return -1 if child table's uid not exist
2022-08-26 12:37:14 +08:00
Hongze Cheng 2acfc81c8b more code 2022-08-26 11:08:21 +08:00
Haojun Liao 13563f1733
Merge pull request #16412 from taosdata/feature/3_liaohj
refactor(query): check table in uid order when handling the last block, and some internal refactor.
2022-08-26 10:44:27 +08:00
Hongze Cheng 039e4a0505 more code 2022-08-26 10:44:02 +08:00
Minglei Jin 2eacdf51fa fix: return -1 if child table's uid not exist 2022-08-26 10:30:07 +08:00
Hongze Cheng 4a1447b666 make it compile 2022-08-26 10:12:36 +08:00
Hongze Cheng 5bbfc54504 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-08-26 10:08:12 +08:00
Hongze Cheng 34abb83796 more code 2022-08-25 23:07:59 +08:00
Haojun Liao 5ea4c0a7c8 fix(query): update the uid list when tablemap is changed. 2022-08-25 23:04:07 +08:00
Hongze Cheng 2876f597f0 more code 2022-08-25 19:00:44 +08:00
Hongze Cheng eb2fb724b1 more code 2022-08-25 18:15:20 +08:00
Haojun Liao 755176d28f fix(query): add the null ptr check. 2022-08-25 17:32:27 +08:00
Hongze Cheng f0be446e03
Merge pull request #16413 from taosdata/fix/TD-18112-2
fix: stats normal tables' timeseries
2022-08-25 17:13:47 +08:00
Hongze Cheng cfa666f247 more code 2022-08-25 17:04:42 +08:00
wangmm0220 6b61d3c23b fix:conflicts from 3.0 2022-08-25 16:57:19 +08:00
wangmm0220 4cc2d361e1 fix:error in getting snapshot for taosX 2022-08-25 16:55:12 +08:00
Shengliang Guan 6dc8d005fe
Merge pull request #16406 from taosdata/enh/updateTbMeta
enh: update table meta after auto creating table
2022-08-25 16:39:32 +08:00
Haojun Liao 0ec1c52a19 fix(query): set ascending order of check last block. 2022-08-25 16:34:00 +08:00
Minglei Jin 85da71460e fix: stats normal tables' timeseries 2022-08-25 16:22:55 +08:00
Haojun Liao 739457ad28 refactor: do some internal refactor. 2022-08-25 16:22:22 +08:00
Haojun Liao 0d14fa9aad fix(query): reset the table accesss index. 2022-08-25 16:06:54 +08:00
Hongze Cheng c1462d726a more code 2022-08-25 15:35:55 +08:00
Haojun Liao b09ee742d5 refactor(query): check table in uid order when handling the last block, and some internal refactor. 2022-08-25 15:31:48 +08:00
dapan1121 a0ae0c78d9 enh: update table meta after auto creating table 2022-08-25 15:16:14 +08:00
Hongze Cheng c3304c48bf more code 2022-08-25 14:43:54 +08:00
Shengliang Guan 4c280dc236
Merge pull request #16386 from taosdata/enh/updateTbMeta
enh: update table meta cache after creating table
2022-08-25 14:32:43 +08:00
Shengliang Guan 2b3a760ae1
Merge pull request #16372 from taosdata/main
release: merge from main to 3.0
2022-08-25 13:33:24 +08:00
dapan1121 4ab25b856f Merge remote-tracking branch 'origin/3.0' into enh/updateTbMeta 2022-08-25 13:23:16 +08:00
Hongze Cheng beab5f1fe3 more code 2022-08-25 11:55:43 +08:00
Haojun Liao 1c06206000 other:merge 3.0 2022-08-25 11:01:36 +08:00
Hongze Cheng b8a70bc5b0 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-08-25 10:05:50 +08:00
Cary Xu 23098a08cf other: revert to 3.0 2022-08-24 18:18:53 +08:00
Cary Xu 39cd95d825 fix: while condition 2022-08-24 18:15:37 +08:00
Cary Xu 0e094b3811 other: merge 3.0 2022-08-24 18:12:21 +08:00
wangmm0220 c7bf08d5af feat: get snapshot data for taosX 2022-08-24 17:42:33 +08:00
Cary Xu a6fa87fb6a enh: add specific threads for rsma task 2022-08-24 17:36:22 +08:00
Hongze Cheng 6003158b22 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-08-24 17:29:39 +08:00
Hongze Cheng f95c0013ef more code 2022-08-24 17:29:28 +08:00
Haojun Liao a23f5f59ea refactor(query): do some internal refactor. 2022-08-24 17:09:33 +08:00
Hongze Cheng 66177fb9f1 more code 2022-08-24 16:41:09 +08:00
Shengliang Guan e0ac102795
Merge pull request #16376 from taosdata/feature/stream
refactor(stream): refine stream backend interface
2022-08-24 16:40:20 +08:00
Hongze Cheng 602a48abf2 more code 2022-08-24 16:21:16 +08:00
Hongze Cheng 9f72a715bf fix: typo coredump 2022-08-24 16:00:15 +08:00
Liu Jicong 24261cc90b refactor(stream): refine stream backend interface 2022-08-24 15:53:29 +08:00
Hongze Cheng 5bce5c6935 more code 2022-08-24 14:59:55 +08:00
Hongze Cheng e39a08f763 fix some bug 2022-08-24 14:26:53 +08:00
Hongze Cheng aa08b76479 more work 2022-08-24 14:05:20 +08:00
wangmm0220 2afc23a120 fix:conflicts from 3.0 2022-08-24 13:59:51 +08:00
wangmm0220 632c8b4a1a fix:error in snapshot for taosX 2022-08-24 13:58:18 +08:00
Hongze Cheng cab6bb1be2 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-08-24 13:35:58 +08:00
Shengliang Guan 4c287f602d
Merge pull request #16352 from taosdata/feature/stream
feat(stream): support tdb state backend
2022-08-24 13:24:09 +08:00
dapan1121 2ea802a23e Merge remote-tracking branch 'origin/3.0' into enh/updateTbMeta 2022-08-24 13:20:43 +08:00
dapan1121 150956ffd3 enh: update tbMeta after creating table 2022-08-24 13:19:52 +08:00
Hongze Cheng fd2fccd7d7 fix: data loss 2022-08-24 13:12:13 +08:00
Hongze Cheng ee36ea82ee Merge branch 'main' of https://github.com/taosdata/TDengine into fix/td_18604 2022-08-24 13:10:35 +08:00
Hongze Cheng a4d4b10404 make it compile 2022-08-24 11:58:10 +08:00
Hongze Cheng 0920cb911a Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-08-24 11:52:40 +08:00
Hongze Cheng 1c182684c4 more code 2022-08-24 11:51:34 +08:00
Shengliang Guan a56699386f
Merge pull request #16365 from taosdata/feature/3_liaohj
fix(query): fix the last block check condition.
2022-08-24 11:48:49 +08:00
Hongze Cheng 16dd4a9899 fix: commit coredump 2022-08-24 11:13:11 +08:00
Cary Xu 3f96e41691 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-24 10:57:30 +08:00
Cary Xu bd02bfe58d enh: assign specific threads for rsma 2022-08-24 10:57:06 +08:00