Commit Graph

22184 Commits

Author SHA1 Message Date
Haojun Liao 4d83118ff7 fix(stream): fix memory leak. 2023-04-13 23:49:14 +08:00
Haojun Liao 70b45a4cf0 fix(stream): all data should be extracted from wal. 2023-04-13 23:22:09 +08:00
Benguang Zhao d8386754ee enh: try to propose vnode commit at vnode closing 2023-04-13 19:45:24 +08:00
Xiaoyu Wang 06d9a74bcc fix: optimizing 'alter table drop tag' error reporting 2023-04-13 19:38:47 +08:00
Xiaoyu Wang 7e51190bc8
Merge pull request #20914 from taosdata/fix/TD-22941-1
fix(tsdb/read): release bi cache entry before returning
2023-04-13 19:24:06 +08:00
Xiaoyu Wang db8a6ce60b
Merge pull request #20891 from taosdata/FIX/TD-23613-main
test: add flush database in some testcases
2023-04-13 19:03:34 +08:00
Xiaoyu Wang c218e7c55b
Merge pull request #20897 from taosdata/FIX/TD-23509-main
enh: refactor some vars in syncLogReplProcessReplyAsNormal
2023-04-13 17:41:06 +08:00
Xiaoyu Wang 17b5669555 fix: optimizing 'alter table drop tag' error reporting 2023-04-13 17:32:31 +08:00
Alex Duan eb03a0bb48 fix: adjust format 2023-04-13 16:55:22 +08:00
Alex Duan 73d5bdf01f fix: build error fix 2023-04-13 16:45:06 +08:00
Alex Duan a0be0c1d06 fix: add client option tsEnableScience 2023-04-13 16:40:38 +08:00
Xiaoyu Wang d3642c84a2 Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-13 16:36:30 +08:00
dapan1121 1b7ad36ecf
Merge pull request #20915 from taosdata/fix/TD-23593
fix: fix illegal usage of _isfilled/_irowts
2023-04-13 15:54:12 +08:00
Ganlin Zhao b51477343d fix crash 2023-04-13 15:50:30 +08:00
Xiaoyu Wang 1266d8c84a Merge remote-tracking branch 'origin/main' into fix/main_wxy 2023-04-13 15:25:40 +08:00
Xiaoyu Wang a4d818c982 fix: alter table check 2023-04-13 15:25:36 +08:00
Benguang ZHAO d772fd06dd
Merge branch 'main' into FIX/TD-23613-main 2023-04-13 15:02:59 +08:00
Ganlin Zhao c7dd22ad1c fix spread timestmap column reading sma issue 2023-04-13 14:58:13 +08:00
Minglei Jin ab372d501a fix(tsdb/read): release bi cache entry before returning 2023-04-13 14:33:37 +08:00
Ganlin Zhao fbbd3e4bdd fix: fix illegal usage of _isfilled/_irowts 2023-04-13 14:33:06 +08:00
Xiaoyu Wang a44d455e56 merge 3.0 2023-04-13 14:32:05 +08:00
Ganlin Zhao d1544e8859 fix: fix illegal usage of _isfilled/_irowts 2023-04-13 14:05:04 +08:00
cadem b405855ba8 balance leader to enterprise 2023-04-13 13:40:42 +08:00
Xiaoyu Wang 3d962cd950
Merge pull request #20905 from taosdata/fix/TD-22941
fix(tsdb/cache): fix block index ref releasing
2023-04-13 13:37:20 +08:00
Xiaoyu Wang 1eae60c3f4
Merge pull request #20899 from taosdata/fix/TS-3025-2
fix(tsdb/read): remove duplicate schema fetching
2023-04-13 13:36:30 +08:00
Minglei Jin 589ed9d0ce fix(tsdb/cache): fix block index ref releasing 2023-04-13 12:09:44 +08:00
Ganlin Zhao 7414f28d17 fix translatefunc not getting precision issue 2023-04-13 11:22:15 +08:00
Minglei Jin ef219095cf fix(tsdb/read): remove duplicat schema fetching 2023-04-13 10:06:49 +08:00
wangmm0220 7648e03e31 fix:doBitmapMerge error if remaind bytes is not 0 2023-04-13 10:03:30 +08:00
dapan1121 3493fffa2f
Merge pull request #20863 from taosdata/fix/TD-23556
fix: fix max/min(tag) random result
2023-04-13 09:57:18 +08:00
Benguang Zhao 2a0493f40c enh: refactor some vars in syncLogReplProcessReplyAsNormal 2023-04-13 09:53:25 +08:00
dapan1121 9ad17dddaf
Merge pull request #20890 from taosdata/fix/TS-3137-M
fix: the precision of delete statement
2023-04-12 19:41:29 +08:00
Xiaoyu Wang 5005731630
Merge pull request #20889 from taosdata/fix/main_bugfix_wxy
fix: error querying after setting permissions for varchar type tags
2023-04-12 18:56:58 +08:00
Ganlin Zhao 81610773c5 add test cases 2023-04-12 18:40:56 +08:00
kailixu 4ac4b4f0c8 chore: revert the extra line 2023-04-12 17:45:12 +08:00
kailixu 3bd721518d chore: revert the extra line 2023-04-12 17:43:44 +08:00
kailixu 1ed3149c39 fix: the precision of delete statement 2023-04-12 17:41:43 +08:00
Xiaoyu Wang 5ea2ba0a38 fix: error querying after setting permissions for varchar type tags 2023-04-12 17:39:23 +08:00
Xiaoyu Wang c35e6aa382
Merge pull request #20842 from taosdata/fix/hash-ref-count-high
add cancel in fetch cluster
2023-04-12 16:53:43 +08:00
huolibo 2690fd4e9a
fix(driver): return error code to java (#20869) 2023-04-12 15:14:07 +08:00
Ganlin Zhao dcf77f2529 fix: fix constant comparision precision error 2023-04-12 14:24:34 +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
wangmm0220 50022faf87 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3081 2023-04-12 13:57:37 +08:00
Xiaoyu Wang ff0697fa0a
Merge pull request #20879 from taosdata/fix/main_bugfix_wxy
fix: show user privileges invalid write
2023-04-12 11:05:38 +08:00
wangmm0220 bb22d9ee5e fix:open test cases for tmq & add log if rebalance error 2023-04-12 10:56:19 +08:00
Xiaoyu Wang 9fb6ddf77f
Merge pull request #20870 from taosdata/fix/TD-23560-1
fix(udf1): use 1 as luck number to make new gcc happy
2023-04-12 10:48:48 +08:00
Xiaoyu Wang 813591f993
Merge pull request #20872 from taosdata/fix/TD-23474
fix(tsdb/cache): skip schema updating for non ts row
2023-04-12 10:47:02 +08:00
Xiaoyu Wang 5d9f3c4133 merge main 2023-04-12 10:44:04 +08:00
Xiaoyu Wang 8b8ac0cd77 merge main 2023-04-12 10:43:28 +08:00
Xiaoyu Wang 19f09a10e6 fix: show user privileges invalid write 2023-04-12 10:14:45 +08:00
Benguang Zhao 3efa36ca51 enh: refactor func name syncLogIsReplicationBarrier to syncLogReplBarrier 2023-04-12 10:13:17 +08:00
Benguang Zhao 09786a127d enh: refactor func names doOnce, attempt, probe, and sendTo of syncLogRepl 2023-04-12 10:13:06 +08:00
Benguang Zhao f6be5f2c0e enh: change sync log repl mgr to sync log repl in logging msg 2023-04-12 10:12:57 +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
Haojun Liao f6315af0c9 other: merge main. 2023-04-11 19:41:17 +08:00
Xiaoyu Wang 9578c4538a Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-11 19:33:23 +08:00
Haojun Liao 5ab54481f0 refactor: do some internal refactor. 2023-04-11 19:24:34 +08:00
Haojun Liao f083697dba refactor(tq): do some internal refactor. 2023-04-11 19:04:33 +08:00
Haojun Liao 24c9495772
Merge pull request #20857 from taosdata/fix/TS-3081
fix:optimize log & change the length of tag if tag is null in schemaless
2023-04-11 19:01:07 +08:00
Minglei Jin 3ac5b35f4b fix(tsdb/cache): skip schema updating for non ts row 2023-04-11 18:57:11 +08:00
Ganlin Zhao 0201348bbe add test cases 2023-04-11 17:58:55 +08:00
Xiaoyu Wang 2a887dc55e merge main 2023-04-11 17:55:11 +08:00
Xiaoyu Wang 5ce6220106
Merge pull request #20781 from taosdata/szhou/replace-function
feature: udf replace function
2023-04-11 17:25:21 +08:00
dapan1121 81da6cd4a4
Merge pull request #20844 from taosdata/feat/TS-2815
feat(query): INTERP support boolean type
2023-04-11 17:15:05 +08:00
Haojun Liao aae2758863 fix(stream): disable the deploy msg when restart taosd. 2023-04-11 16:58:51 +08:00
Minglei Jin 9961f82479 fix(udf1): use 1 as luck number to make new gcc happy 2023-04-11 16:52:56 +08:00
Xiaoyu Wang e3c6f0da24
Merge pull request #20854 from taosdata/fix/TD-23560
fix(udf): make strncat working for release building
2023-04-11 16:47:29 +08:00
dapan1121 6d27154803
Merge pull request #20858 from taosdata/enh/ignoreGetFieldsErrors
enh: stmt ignore get fields errors
2023-04-11 16:01:31 +08:00
Xiaoyu Wang 4d696741b0
Merge pull request #20860 from taosdata/feat/table_level_privilege
feat: table level privilege
2023-04-11 15:56:36 +08:00
Xiaoyu Wang 4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
Ganlin Zhao d163a16f3a fix: fix max/min(tag) random result 2023-04-11 15:46:32 +08:00
Haojun Liao 18479d8115 refactor: do some internall refactor. 2023-04-11 15:42:24 +08:00
Xiaoyu Wang 42a5a87e96 fix: table level privilege 2023-04-11 15:08:42 +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
slzhou 41f7d79f2c fix: fix compilation error 2023-04-11 13:42:17 +08:00
shenglian zhou 74f2ba76a4 fix: check uv_is_closing before uv_close 2023-04-11 13:24:20 +08:00
Haojun Liao 15cceb5a5a refactor: do some internal refactors. 2023-04-11 11:53:10 +08:00
shenglian zhou 6b68a373e9 fix: when update func, set createdtime to original time 2023-04-11 11:37:41 +08:00
dapan1121 28ea375fe1
Merge pull request #20850 from taosdata/enh/ts-3112
enh: add queryMaxConcurrentTables configuration
2023-04-11 11:21:30 +08:00
Ganlin Zhao ea6c96df32 fix memory leak 2023-04-11 11:13:23 +08:00
Xiaoyu Wang 40448c3e70
Merge pull request #20853 from taosdata/feat/table_level_privilege
feat: table level privilege
2023-04-11 11:01:51 +08:00
dapan1121 d99a849956 fix: ignore stmt get fields error 2023-04-11 10:47:15 +08:00
Minglei Jin 8060e77be3 fix(udf): make strncat working for release building 2023-04-11 10:41:35 +08:00
liuyao 74da3c05bc feat:set check point id 2023-04-11 10:33:10 +08:00
dapan1121 e2b5d27c2a enh: stmt ignore get fields errors 2023-04-11 10:22:47 +08:00
Xiaoyu Wang 416af9a58d feat: table level privilege 2023-04-11 10:11:25 +08:00
Haojun Liao a4ba5401f9 enh(stream): set the start version of all operators. 2023-04-11 10:01:36 +08:00
xinsheng Ren 965af6cc82
fix: handle leak (#20836)
* fix: handle leak

* fix: del unused code

---------

Co-authored-by: facetosea <25808407@qq.com>
2023-04-11 09:46:06 +08:00
dapan1121 453f6946fb
Merge pull request #20838 from taosdata/szhou/fix-ts3110
fix: select * from (select * from t order by ts desc) order by ts
2023-04-11 09:15:14 +08:00
dapan1121 d2f9f2d755 Merge remote-tracking branch 'origin/main' into enh/ts-3112 2023-04-11 09:02:36 +08:00
dapan1121 38231fc48e enh: add queryMaxConcurrentTables configuration 2023-04-11 09:01:19 +08:00
xinsheng Ren bf53345f9d
fix: windows gettime negative value (#20800) 2023-04-11 08:47:31 +08:00
Shuduo Sang 9b6f4e3497
fix: tglobal cus prompt support for windows (#20845)
* chore: refactor cus prompt

* fix: client name in install.sh

* fix: -Wno-reserved-user-defined-literal

* fix: update taos-tools commit

* fix: include/os/osDir.h

* fix: check cus name

* fix: makepkg.sh

* chore: update taos-tools d194dc9

* fix: cus name

* fix: change adapter prefix

* fix: tools/*.sh

* fix: scripts

* fix: ../../packaging/tools/install_client.sh

* chore: cus domain in script

* fix: cus name in packaging/tools/install.sh

* fix: cus name in ../../packaging/tools/remove.sh

* fix: don't edit origin file

* fix: remove brand name

* fix: update taos-tools

* fix: cus name in log

* fix: compile error without cuc name

* fix: source/common/src/tglobal.c

---------

Co-authored-by: chenhaoran <haoran920c@163.com>
2023-04-10 19:44:45 +08:00
“happyguoxy” adf25d3300 null pointer 2023-04-10 19:12:13 +08:00
Ganlin Zhao 3078e2d487 feat(query): INTERP support boolean type 2023-04-10 18:35:35 +08:00
Haojun Liao 497c9ea9c8 Merge branch 'main' into feature/3_liaohj 2023-04-10 17:57:26 +08:00
Xiaoyu Wang 910aba27c0
Merge pull request #20831 from taosdata/feat/table_level_privilege
feat: table level privilege
2023-04-10 17:24:53 +08:00
Haojun Liao 7419c0bfe9 enh(stream): the stream will start after vnode restore being completed. 2023-04-10 16:56:14 +08:00
“happyguoxy” bfc279835c add cancel in fetch cluster 2023-04-10 16:52:41 +08:00
“happyguoxy” 765c09d59e update function 2023-04-10 16:40:16 +08:00
Xiaoyu Wang 7984dd93f1 Merge branch 'feat/table_level_privilege_wxy' of github.com:taosdata/TDengine into feat/table_level_privilege_wxy 2023-04-10 15:25:04 +08:00
Xiaoyu Wang e40b978d30 fix: catalog memory leak 2023-04-10 15:24:26 +08:00
shenglian zhou 71d59281ff fix: select * from (select * from t order by ts desc) order by ts 2023-04-10 14:03:56 +08:00
slzhou b2de711a84 fix: change orReplace logic in mnode 2023-04-10 11:33:25 +08:00
Haojun Liao 0dd1721e57
Merge pull request #20820 from taosdata/fix/TS-3081
fix:add tools to checkout tmq offset & add error log for tmq
2023-04-10 11:02:39 +08:00
Xiaoyu Wang 637bf33c51 fix: catalog unit test 2023-04-10 10:53:29 +08:00
Xiaoyu Wang 4dff8950c2
Merge pull request #20812 from taosdata/fix/TS-3025
fix(tsdb/read): use the correct schema with multilevel merging
2023-04-10 10:30:37 +08:00
Xiaoyu Wang e2f82f4423 merge main 2023-04-10 09:56:03 +08:00
shenglian zhou 65f117822c fix: windows ci error 2023-04-10 06:45:26 +08:00
slzhou b725c9e192 enhance: change udf func body dir to tsDataDir/.udf 2023-04-09 20:31:25 +08:00
Haojun Liao f5b52749c2 refactor: do some internal refactor. 2023-04-09 01:39:09 +08:00
slzhou dc86bf9671 fix: remove code size checking 2023-04-08 13:26:15 +08:00
dapan1121 a560d10761
Merge pull request #20814 from taosdata/fix/TS-3085
fix: fix nullbitmap shift error when trimming data blocks.
2023-04-08 11:53:25 +08:00
slzhou 55ffb0bc6d fix: correct udf body file name and correct createdtime 2023-04-08 11:36:09 +08:00
shenglian zhou 0be6bb735a fix: remove rename file 2023-04-08 10:42:27 +08:00
shenglian zhou 32523d72f9 fix: add created time to file name and keep file reuse 2023-04-08 10:11:57 +08:00
Shuduo Sang 7dbe4f6ca1
fix: cfg name release script community main (#20818)
* chore: cus name support in script

* chore: merge with 3.0

* fix: source/common/src/tglobal.c

* fix: source/common/src/tglobal.c
2023-04-08 00:50:43 +08:00
wangmm0220 4f23578a79 fix:add err log 2023-04-07 19:53:11 +08:00
Ganlin Zhao 2d0dad7a37 fix: fix nullbitmap shift error when trimming data blocks. 2023-04-07 19:35:46 +08:00
slzhou af5a16b129 fix: set block allocated to false for each call to downstream operator 2023-04-07 18:54:37 +08:00
Xiaoyu Wang d1decca07e fix: table level privilege 2023-04-07 18:22:07 +08:00
Ganlin Zhao 1c6bf2d1d3 fix: fix nullbitmap shift error when trimming data blocks. 2023-04-07 18:08:49 +08:00
Shuduo Sang 4fb5390c6f
chore: release script community main (#20808)
* chore: cus name support in script

* chore: merge with 3.0
2023-04-07 17:10:39 +08:00
Xiaoyu Wang 0f2c753103 feat: table level privilege 2023-04-07 16:39:40 +08:00
Haojun Liao 5de76e4b72
Merge pull request #20809 from taosdata/fix/TD-23517
fix:[TD-23517] set offset type to wal if only meta & check if tag is …
2023-04-07 16:35:08 +08:00
slzhou 26f1e91ddb fix: change binarylib/script dir to tsdatadir 2023-04-07 16:12:29 +08:00
Xiaoyu Wang 8d7eb07e7f
Merge pull request #20798 from taosdata/fix/TS-3025
fix(tsdb/row merger): rewrite row merger and fix tsdb read crash with schemaless
2023-04-07 15:51:08 +08:00
Minglei Jin 8ae43fe6cb fix(tsdb/read): use the correct schema for mem/imem rows 2023-04-07 15:28:23 +08:00
Minglei Jin f262ac8230 fix(tsdb/read): use irow's schema instead of NULL 2023-04-07 14:37:56 +08:00
wangmm0220 05ec2b0928 fix:[TD-23517] set offset type to wal if only meta & check if tag is the same type in schemaless 2023-04-07 14:24:29 +08:00
Minglei Jin 1ff8511eb3 tsdb/row merger: comment init out 2023-04-07 13:43:07 +08:00
Minglei Jin 55f7e41f3b tsdb/row merger: remove tsdbRowMerge 2023-04-07 13:31:33 +08:00
Xiaoyu Wang f44c219360 feat: table level privilege 2023-04-07 11:15:05 +08:00
slzhou 596764479f fix: no more fetch when it is already fetching 2023-04-07 10:30:36 +08:00
Xiaoyu Wang db1cb4a8a8
Merge pull request #20793 from taosdata/FIX/TD-23509-main
enh: refactor some func names of syncLogReplMgr
2023-04-07 10:27:50 +08:00
Minglei Jin 360113115f fix(tsdb/row merger): remove unused code 2023-04-07 09:49:48 +08:00
Haojun Liao 8a21888f98
Merge pull request #20795 from taosdata/fix/TD-23495
fix:time_wait in doAskEp
2023-04-07 09:34:10 +08:00
Haojun Liao 076509235e
Merge pull request #20792 from taosdata/fix/TD-23508
fix:remove smlChildTableName from tag
2023-04-07 09:33:20 +08:00
dapan1121 062a3dc97d
Merge pull request #20758 from taosdata/szhou/fix-td23454
fix: interp pseudo column can not be used without interp function
2023-04-07 08:50:51 +08:00
wangmm0220 7a58f448a5 fix:time_wait in doAskEp 2023-04-06 19:16:31 +08:00
wangmm0220 fa154172b4 fix:time_wait in doAskEp 2023-04-06 18:15:03 +08:00
shenglian zhou 455719befa fix: use us time unit for last fetch time 2023-04-06 18:09:29 +08:00
Benguang Zhao 0a1476763a enh: refactor some func names of syncLogReplMgr 2023-04-06 16:26:44 +08:00
wangmm0220 f8bcdcecea fix:remove smlChildTableName from tag 2023-04-06 16:24:04 +08:00
shenglian zhou 66c86a60d5 fix: add func_version to systable 2023-04-06 15:58:53 +08:00
Xiaoyu Wang 54f13f6f55
Merge pull request #20756 from taosdata/fix/3.0_merge_main
merge main
2023-04-06 15:44:23 +08:00
shenglian zhou 4612d6d14b fix: catalog not processing version 2023-04-06 15:37:19 +08:00
Haojun Liao 7e734e3088 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2023-04-06 15:09:06 +08:00
Haojun Liao 665ba407cf fix: fix syntax error. 2023-04-06 15:08:35 +08:00