Commit Graph

18240 Commits

Author SHA1 Message Date
54liuyao 715489e22d Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-27 09:14:50 +08:00
54liuyao 93edc9d1ff read preversion data of primary key 2024-03-26 17:36:37 +08:00
Haojun Liao fd57ded11e Merge remote-tracking branch 'origin/feat/TS-4243-3.0' into feat/TS-4243-3.0 2024-03-26 17:34:43 +08:00
Haojun Liao f61596706d fix(tsdb): add attributes for cache scan optr. 2024-03-26 17:34:30 +08:00
Hongze Cheng ab093d80bd
Merge pull request #25150 from taosdata/fix/rpc_portMainTo30
Fix/rpc port main to30
2024-03-26 17:11:36 +08:00
slzhou 595ae2c5b8 fix: irate on super table merge phase and translate 2024-03-26 17:05:40 +08:00
54liuyao 135bdb37a0 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-26 16:38:51 +08:00
54liuyao aa9962318f read preversion data of primary key 2024-03-26 16:38:24 +08:00
slzhou 47410db46a fix: set hasPk and pkBytes for partial func and merge func 2024-03-26 16:31:16 +08:00
wangmm0220 8e45bebd66 fix:decode task error if task version is smaller than 2 2024-03-26 15:16:09 +08:00
Hongze Cheng 93ca55954f more code change 2024-03-26 15:11:15 +08:00
slzhou f778dce52d fix: add pk for merge generated during merge scan node split 2024-03-26 14:13:10 +08:00
Haojun Liao 765546585a
Merge pull request #25184 from taosdata/fix/3_liaohj
fix(stream): not return error when failing to load stream task meta.
2024-03-26 10:29:42 +08:00
Hongze Cheng 4793e1d0eb
Merge pull request #25176 from taosdata/FIX/TD-29238-3.0
enh: not to start snap replication if too many open files already
2024-03-26 09:26:00 +08:00
slzhou 5fe03fe3f4 feat: irate support pk 2024-03-26 09:18:45 +08:00
Haojun Liao a11b2c614e fix(stream): not return error when failing to load stream task meta. 2024-03-25 23:49:26 +08:00
kailixu e5abe34c84 fix: replace strdup for release build 2024-03-25 21:34:31 +08:00
wangmm0220 6aaac7c0dc fix:decode task error if task version is smaller than 2 2024-03-25 17:57:13 +08:00
Benguang Zhao ced7c19943 enh: not to start snap replication if too many open files already 2024-03-25 17:01:23 +08:00
54liuyao aad3a43530 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-25 16:30:47 +08:00
slzhou a5ba546bd4 fix: add pk to funcInputGetNextRow 2024-03-25 15:12:34 +08:00
slzhou 4d3eb6824c feat: add pk support for last/first/last_row dynDataRequired 2024-03-25 13:38:34 +08:00
54liuyao d1b974228f add stream check 2024-03-25 11:16:28 +08:00
54liuyao a02535c3ab Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-25 11:15:21 +08:00
slzhou 9d2c310616 fix: remove the extract space after column type for none pk column 2024-03-25 10:16:22 +08:00
slzhou f9a6243859 fix: add pk col after ts col to make operator of show table distributed super_table work 2024-03-25 09:38:50 +08:00
Haojun Liao ef6ea16d64 other: merge 3.0 2024-03-22 17:57:25 +08:00
Haojun Liao 9f492a8962 other: merge 3.0 2024-03-22 17:53:11 +08:00
Haojun Liao bd52416af9
Merge pull request #25149 from taosdata/fix/3_liaohj
enh: meta pause/resume for sys table scan
2024-03-22 17:32:35 +08:00
slzhou 3426bb2870 fix: free the supplementy blocks array of merge tree 2024-03-22 15:58:39 +08:00
slzhou 4231b87158 feat: para_tables_sort table merge scan support ordering by ts and pk 2024-03-22 15:49:05 +08:00
slzhou fdff529860 feat: the table merge scan operator supports order by ts and pk 2024-03-22 14:19:43 +08:00
kailixu fb2667d92d fix: sys table scan and meta query 2024-03-22 10:33:46 +08:00
Haojun Liao ecd09059f5 fix(tsdb): fix error in reading data from file block 2024-03-22 10:16:56 +08:00
Hongze Cheng 6f174fdb7a
Merge pull request #25126 from taosdata/fix/TD-29180
fix: arb alter database check
2024-03-22 09:54:08 +08:00
54liuyao 680f96156f Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-22 08:37:42 +08:00
kailixu 61b680241d Merge branch 'fix/3_liaohj' of https://github.com/taosdata/TDengine into fix/3_liaohj 2024-03-21 19:03:56 +08:00
Shungang Li acf42a3d7a fix: arb append noop after become assigned 2024-03-21 18:13:25 +08:00
Shungang Li 4180eea091 enh: arb add more log 2024-03-21 18:13:04 +08:00
Haojun Liao 1e88193e57 Merge remote-tracking branch 'origin/feat/TS-4243-3.0' into feat/TS-4243-3.0 2024-03-21 17:47:53 +08:00
Haojun Liao 8bdd12c3a8 refactor: do some internal refactor. 2024-03-21 17:47:40 +08:00
yihaoDeng 89b9f87b7d port main to 3.0 2024-03-21 09:01:13 +00:00
yihaoDeng f853272d77 port main to 3.0 2024-03-21 08:54:13 +00:00
Haojun Liao f58902180a fix(query): fix syntax error. 2024-03-21 15:51:39 +08:00
Haojun Liao 6b2821cd28 fix(query): not lock when reading meta, and do some internal refactor. 2024-03-21 15:45:28 +08:00
slzhou 8d5bed5076 feat: diff/derivate/irate/twa do not support desc order 2024-03-21 15:11:54 +08:00
Hongze Cheng 9429c9d04c
Merge pull request #25048 from taosdata/enh/TS-4531-3.0
enh: logs and show grants
2024-03-21 11:03:28 +08:00
kailixu bbc219c7ab Merge branch '3.0' into fix/3_liaohj 2024-03-21 10:55:45 +08:00
kailixu e18f056c9f enh: meta pause/resume for sys table scan 2024-03-21 10:52:00 +08:00
54liuyao 7a0ec25912 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-21 10:50:29 +08:00
54liuyao a60f390cdc stream primary key 2024-03-21 10:50:07 +08:00
slzhou 100bc2de4b fix: add the tableHasPk and isPk for created default col 2024-03-21 09:49:28 +08:00
Haojun Liao b12e65d144 fix(tsdb): set pk column index. 2024-03-21 09:37:46 +08:00
54liuyao 81f0ff341c Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-20 16:13:11 +08:00
54liuyao 623afe3dc8 fix issue 2024-03-20 16:12:25 +08:00
slzhou bb24a8e3ca feat: add pk as default col and add pk as sortinfo for table merge scan 2024-03-20 15:46:54 +08:00
slzhou 1da0def82d fix: add isPk to SColumnNode 2024-03-20 13:09:59 +08:00
54liuyao a0346aad2e adjust project optimize rule 2024-03-20 11:26:33 +08:00
Shungang Li 701ac8b865 fix: arb alter database check 2024-03-20 11:05:57 +08:00
slzhou d96547f03c fix: last transfer info 2024-03-20 10:00:01 +08:00
slzhou 61f91b57fa fix: column node and function node util copy/json/msg 2024-03-19 17:19:14 +08:00
Cary Xu 861528fb6c
Merge branch '3.0' into enh/TS-4531-3.0 2024-03-19 17:03:41 +08:00
Haojun Liao 7ff383cb1f
Merge pull request #25116 from taosdata/fix/3_liaohj
fix(stream):adjust current offset by using the scanning version, not …
2024-03-19 16:44:58 +08:00
slzhou c7f108181d feat:show create table and desc table 2024-03-19 16:33:05 +08:00
Haojun Liao 65e4048f5d Merge branch '3.0' into fix/3_liaohj 2024-03-19 15:36:07 +08:00
shenglian zhou cee96e2048 feat: begin coding function 2024-03-19 13:57:12 +08:00
Shungang Li d0df927dfa feat: arb add version in sarbgroup 2024-03-19 09:31:05 +08:00
Shungang Li 3a656c3595 feat: support 2 replica with arbitrator 2024-03-19 09:30:35 +08:00
kailixu 0b15e3415d enh: machine id persistence 2024-03-18 18:06:18 +08:00
Haojun Liao 7bdabc309b Merge branch '3.0' into fix/3_liaohj 2024-03-18 14:16:15 +08:00
Haojun Liao 6763ac9110 fix(stream):adjust current offset by using the scanning version, not the processed version in WAL. 2024-03-18 09:12:53 +08:00
kailixu 12a111d7dd Merge branch '3.0' into fix/TS-4421-3.0 2024-03-18 00:24:33 +08:00
dapan1121 062bdf686e
Merge pull request #25102 from taosdata/fix/TS-4563
fix:[TS-4563]retrieve data error from wal if colid is bigger in tmq
2024-03-17 16:52:29 +08:00
Haojun Liao 74d7a0bd3e
Merge pull request #25112 from taosdata/fix/3_liaohj
fix(meta): fix repeatly reader lock for tsdb meta.
2024-03-16 23:57:55 +08:00
Haojun Liao 93c808326b fix(meta): fix repeatly reader lock for tsdb meta. 2024-03-16 22:03:46 +08:00
kailixu dcbb92e817 fix: memory leak when alter json tag to NULL 2024-03-15 16:31:01 +08:00
kailixu d02a125f34 fix: memory leak when alter json tag to NULL 2024-03-15 16:29:10 +08:00
wangmm0220 5f687f0d88 fix:[TS-4563]retrieve data error from wal if colid is bigger in tmq 2024-03-15 15:59:03 +08:00
kailixu a5f06114fd Merge branch '3.0' into fix/TS-4421-3.0 2024-03-15 13:17:32 +08:00
kailixu 0e3c97b573 test: tag/col insert syntax 2024-03-15 13:16:42 +08:00
Haojun Liao f4d01bcab6
Merge pull request #24811 from taosdata/fix/TD-28627
mid agg operator
2024-03-15 12:46:54 +08:00
kailixu 33405b67b6 fix: show tags for varbinary 2024-03-15 07:02:11 +08:00
kailixu 569d8e6d33 chore: test case for insert syntax and fix of show tags for varbinary/geometry 2024-03-15 02:18:19 +08:00
factosea c472bf6b08 feat: tag supported with group/partition 2024-03-14 19:00:31 +08:00
Haojun Liao f28e994409
Merge pull request #25091 from taosdata/fix/3_liaohj
fix(stream): transfer state before do checkpoint
2024-03-14 17:59:13 +08:00
Haojun Liao cc0b32b1f8 fix(stream): transfer state before do checkpoint, to avoid the retrieve and deadlock by using waiting . 2024-03-14 16:13:41 +08:00
kailixu b3db823767 enh: expand syntax for bool 2024-03-14 11:16:17 +08:00
Haojun Liao 15663ab450
Merge pull request #25084 from taosdata/fix/3_liaohj
fix(tsdb): set strict varchar length check.
2024-03-14 11:16:03 +08:00
Haojun Liao 8e2d6d52f9
Merge pull request #25080 from taosdata/fix/ly_event_mem_leak
stream event window mem leak
2024-03-14 10:16:28 +08:00
Haojun Liao 190b02dd1a fix(stream):set correct version for sink/agg tasks. 2024-03-14 10:04:43 +08:00
54liuyao 9de0643566 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-28627 2024-03-14 09:56:16 +08:00
kailixu d0f825e1f5 Merge branch '3.0' into fix/TS-4421-3.0 2024-03-14 08:41:55 +08:00
Haojun Liao 818c444010
Merge pull request #25082 from taosdata/fix/3_liaohj
fix(query): handle the calculation of logic expression with different…
2024-03-14 01:14:25 +08:00
Haojun Liao 3a0df8be8d fix(query): handle the calculation of logic expression with different result rows, when constant expression exists. 2024-03-13 23:13:24 +08:00
54liuyao ef32863f07 stream event window mem leak 2024-03-13 19:44:59 +08:00
Haojun Liao 2466e169a0
Merge pull request #25067 from taosdata/fix/TD-29073
open operator after resume stream
2024-03-13 17:43:13 +08:00
54liuyao c13338d965 stream event window mem leak 2024-03-13 16:16:44 +08:00
kailixu af2c522308 fix: bool string judgement 2024-03-13 15:32:36 +08:00
kailixu 9901825bb0 enh: support binary/hex integer 2024-03-13 15:12:21 +08:00
Hongze Cheng d9db5b015c Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-13 13:31:59 +08:00
dapan1121 b96cfab82f
Merge pull request #24998 from taosdata/szhou/tms/region-block
feat: tms region block
2024-03-13 09:12:35 +08:00
kailixu da0254b49b fix: unify tag value parsing syntax 2024-03-12 19:24:07 +08:00
Hongze Cheng 17689c464b
Merge pull request #25060 from taosdata/fix/TD-29074
fix invalid free
2024-03-12 18:12:24 +08:00
slzhou 5c691685ba fix: review comments 2024-03-12 16:53:56 +08:00
dapan1121 ceb96856f8
Merge pull request #25038 from taosdata/fix/TD-28961
ignore ouput group id for project
2024-03-12 16:38:25 +08:00
54liuyao 3835e0c156 open operator after resume stream 2024-03-12 16:35:55 +08:00
Hongze Cheng 6189ebabef Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-12 15:19:02 +08:00
yihaoDeng e25024cca3 fix invalid free 2024-03-12 07:09:50 +00:00
54liuyao 9ba7221910 use non sort merge 2024-03-12 15:05:54 +08:00
Haojun Liao 2f6304d71e
Merge pull request #25057 from taosdata/fix/TD-29073
add some log
2024-03-12 14:00:22 +08:00
54liuyao 7429096cb6 use non sort merge 2024-03-12 13:39:01 +08:00
54liuyao 14c6dbd2af use non sort merge 2024-03-12 11:45:54 +08:00
yihaoDeng efefc205e6 fix invalid free 2024-03-12 03:21:49 +00:00
yihaoDeng 31b6d15240 fix invalid free 2024-03-12 03:08:20 +00:00
Hongze Cheng 3d64b10350 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-12 09:48:47 +08:00
Hongze Cheng 4b791d67ba more fix 2024-03-12 09:48:28 +08:00
kailixu 28e7aef816 fix: unify tag value parsing syntax 2024-03-11 19:54:42 +08:00
54liuyao 4b9d74cf45 add some log 2024-03-11 19:12:29 +08:00
wangmm0220 9e5ac49538 fix:[TS-4551] vgroplist is null in subscribe 2024-03-11 09:53:47 +08:00
kailixu 7cb244a067 fix: unify tag value parsing syntax 2024-03-11 00:09:52 +08:00
kailixu 433179af0d fix: unify tag value parsing syntax 2024-03-10 22:14:57 +08:00
kailixu a083f45ac1 Merge branch '3.0' into fix/TS-4421-3.0 2024-03-10 09:52:45 +08:00
shenglian zhou 3db2c1edf5 feat: add hint smalldata_ts_sort to disable row id sort 2024-03-08 14:36:55 +08:00
Hongze Cheng fbc52d2a9c Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-08 13:15:11 +08:00
Haojun Liao 2431634d78
Merge pull request #25035 from taosdata/fix/nullcheck
fix(stream): add one more status for check.
2024-03-08 10:54:50 +08:00
slzhou a42a897c85 enhance: assert the region offset is keep increasing 2024-03-08 10:47:32 +08:00
Haojun Liao 7ab1197ca8
Merge pull request #25033 from taosdata/fix/TD-28469
do some stream fill refactor
2024-03-08 10:23:47 +08:00
Haojun Liao aef11bf3a8 fix(stream): add one more status for check. 2024-03-08 00:25:08 +08:00
dapan1121 ae6b16d809
Merge pull request #25031 from taosdata/fix/TS-4544
fix:[TS-4544]do not get vgroup if subscribe query
2024-03-07 19:19:19 +08:00
54liuyao 37071e0cfb do some stream fill refactor 2024-03-07 18:43:35 +08:00
wangmm0220 7c319adf46 fix:[TS-4544]do not get vgroup if subscribe query 2024-03-07 17:59:02 +08:00
Hongze Cheng d060deff9c
Merge pull request #25004 from taosdata/fix/TD-28954-3.0
fix mem leak
2024-03-07 17:21:06 +08:00
Hongze Cheng a060e7c512
Merge pull request #25010 from taosdata/fix/TD-29013-30
fix count error
2024-03-07 17:20:24 +08:00
Hongze Cheng 1089bd0ca2
Merge pull request #25013 from taosdata/fix/TD-28116-coverity
add coverity scan
2024-03-07 17:19:57 +08:00
Haojun Liao 61017761e5
Merge pull request #25026 from taosdata/fix/TS-4543
calc stream  tag size
2024-03-07 15:53:39 +08:00
Hongze Cheng 8853522131 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-07 14:41:03 +08:00
slzhou f690e5cfb9 fix: add error processing 2024-03-07 14:26:46 +08:00
54liuyao f26b7f78f5 calc stream tag size 2024-03-07 14:23:30 +08:00
slzhou 53aa45e225 Revert "feat: use tdfile api"
This reverts commit ffc8c8d148.
2024-03-07 11:31:02 +08:00
Haojun Liao f4265092ce
Merge pull request #25012 from taosdata/fix/TD-28997
load operator checkpoint
2024-03-07 11:06:55 +08:00
slzhou ffc8c8d148 feat: use tdfile api 2024-03-07 09:52:56 +08:00
Hongze Cheng 57d065e380 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-07 09:07:14 +08:00
dapan1121 3afec5e224 fix: join table fetch error 2024-03-06 10:46:38 +08:00
slzhou 4f8ff5b1a6 feat: remove seek when write to file and use a small write buf 2024-03-06 09:44:14 +08:00
Hongze Cheng dd155a52fa Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-06 08:57:51 +08:00
yihaoDeng 3416d68433 add coverity scan 2024-03-05 21:02:20 +08:00
yihaoDeng 7d3bfb0da9 fix mem leak 2024-03-05 12:05:31 +00:00
Haojun Liao 3aa2e24d78
Merge pull request #25006 from taosdata/fix/nullcheck
fix(stream): set the dest epset from mnode, and set the retry error
2024-03-05 19:46:41 +08:00
54liuyao bd430a031a load operator checkpoint 2024-03-05 19:37:54 +08:00
54liuyao 57baceeeaf load operator checkpoint 2024-03-05 19:14:20 +08:00