Commit Graph

11953 Commits

Author SHA1 Message Date
Shengliang Guan c844922aef
Merge pull request #19172 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-12-27 16:07:23 +08:00
Liu Jicong 39eb62d80d enh: set scan limit 2022-12-27 14:52:41 +08:00
Benguang Zhao 8916722dd7 Merge branch main to FIX/TD-21043-main 2022-12-27 14:50:39 +08:00
dapan1121 5ae6829a83 fix: add sem free and init log 2022-12-27 13:28:28 +08:00
Liu Jicong 5826e40aa7 enh: drop stream eagerly 2022-12-27 11:20:35 +08:00
Shengliang Guan 09fbb8ebc4 Merge branch 'main' into FIX/TD-21535-main 2022-12-27 10:47:12 +08:00
Shengliang Guan 56cf886356
Merge pull request #19160 from taosdata/enh/TD-21536
fix: handle error if sync buffer is full
2022-12-27 10:41:54 +08:00
slzhou ceea74ee7a enhance: remove assert 2022-12-27 09:58:22 +08:00
slzhou fb4a6f508c fix: revert planner.c 2022-12-27 09:54:57 +08:00
dapan1121 80a04d4a02
Merge pull request #19158 from taosdata/fix/TD-21438-M
fix: ctg lock/unlock logic
2022-12-27 08:54:50 +08:00
Benguang Zhao a7bfeb5fbe fix: check existence of SMsgHead in SSyncRaftEntry data or SRpcMsg pCont 2022-12-26 23:10:46 +08:00
Shengliang Guan 4e8ed70fa4
Merge pull request #19153 from taosdata/fix/TD-21217
fix:remove window operator assert
2022-12-26 20:46:03 +08:00
Shengliang Guan 794fb5d1b5 fix: handle error if sync buffer is full 2022-12-26 20:40:33 +08:00
kailixu 5e6230fac6 fix: ctg lock/unlock logic 2022-12-26 19:46:39 +08:00
kailixu e08797ac0a fix: ctg lock/unlock logic 2022-12-26 19:43:37 +08:00
dapan1121 66cece62de
Merge pull request #19046 from taosdata/fix/TD-21180-3.0
feat(rpc):  return new error code TSDB_CODE_RPC_VGROUP_NOT_CONNECTED
2022-12-26 18:08:48 +08:00
54liuyao 962fab4ff3 fix:remove assert 2022-12-26 17:32:41 +08:00
Shengliang Guan 668a26c1b0 enh: handle error while transfer snapshot 2022-12-26 15:03:18 +08:00
slzhou 0bef5fdc38 fix: rename symbol 2022-12-26 14:42:36 +08:00
slzhou 5aec2f3ba8 Merge branch 'main' into szhou/fixbugs 2022-12-26 14:39:13 +08:00
slzhou e1b1ae575b fix: select tbname from system tables 2022-12-26 14:39:00 +08:00
Benguang Zhao fda2f55fe5 Merge branch main to FIX/TD-21043-main 2022-12-26 14:26:25 +08:00
Benguang Zhao 7227e53b98 fix: set restore finish only after reaching the current term 2022-12-26 14:22:54 +08:00
Haojun Liao 8a4fb244fb fix(query): fix coverity issues. 2022-12-26 14:20:05 +08:00
Haojun Liao f54f6201be fix(query): fix coverity issues. 2022-12-26 14:07:22 +08:00
Haojun Liao 1a07451bc3 refactor: do some internal refactor. 2022-12-26 13:45:25 +08:00
dapan1121 fb0ccdcd00
Merge pull request #19143 from taosdata/fix/TD-21217
fix:remove assert
2022-12-26 13:17:26 +08:00
Shengliang Guan 43561bfb8c
Merge pull request #19103 from taosdata/fix/TD-21446
fix: restart snapshot sender on receiver is restart
2022-12-26 10:58:55 +08:00
Shengliang Guan 45fff1476a
Merge pull request #19097 from taosdata/fix/TD-21451
fix(tdb/restore): seek jfd to begin
2022-12-26 10:58:33 +08:00
Haojun Liao a5165ab5e7 refactor: do some internal refactor. 2022-12-26 10:58:17 +08:00
54liuyao 70ffbabcbf fix:remove assert 2022-12-26 10:15:14 +08:00
Minglei Jin c4f40874c1 tdb/pager: debug logs for pager restore 2022-12-26 09:28:00 +08:00
Shengliang Guan 028cc52846
Merge pull request #19116 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-12-26 09:12:35 +08:00
Shengliang Guan 54f297f6bf
Merge pull request #19127 from taosdata/enh/enhChartsetConvert
enh: enh chartset convert
2022-12-26 09:12:19 +08:00
dapan1121 8ea246e549
Merge pull request #19120 from taosdata/fix/TD-21448
fix: interval + fill desc order result different issue
2022-12-25 15:29:10 +08:00
dapan1121 ac08d13340
Merge pull request #19104 from taosdata/fix/TS-2324
fix: duplicated groups result in group by
2022-12-25 15:19:53 +08:00
dapan1121 2e0903a9f2
Merge pull request #19089 from taosdata/fix/TS-2286
fix: fill null value issue
2022-12-25 15:16:48 +08:00
dapan1121 a6e7f0f2d5
Merge pull request #18960 from taosdata/fix/TD-20621-3.0
fix(query): avg function support overflow sum value calculate
2022-12-25 15:12:28 +08:00
yihaoDeng bc693f374c opt index write 2022-12-23 22:42:32 +08:00
yihaoDeng 71bbc4fdd0 update charset conv 2022-12-23 22:21:28 +08:00
Benguang Zhao 5159d60f56 enh: vnodeCommit on consensus only 2022-12-23 20:16:32 +08:00
dapan1121 94677762f6 fix: interval + fill desc order result different issue 2022-12-23 18:19:29 +08:00
Haojun Liao 224f5a72c2 refactor: do some internal refactor. 2022-12-23 17:45:12 +08:00
Haojun Liao a4213aedf0 refactor: do some internal refactor. 2022-12-23 17:23:31 +08:00
Shengliang Guan 292bf01902
Merge pull request #19108 from taosdata/fix/main_bugfix_wxy
fix: keepColumnName parameter changes the user alias
2022-12-23 17:19:10 +08:00
dapan1121 1858b8ec36 Merge branch 'fix/TS-2286' into fix/TS-2324 2022-12-23 16:09:12 +08:00
dapan1121 1ae71a858b fix: fix none fill column value issue 2022-12-23 16:01:13 +08:00
Xiaoyu Wang e62315c244 fix: keepColumnName parameter changes the user alias 2022-12-23 15:12:53 +08:00
Shengliang Guan e1fc9fe5b6 fix: compile error 2022-12-23 13:58:50 +08:00
dapan1121 c318be9214 fix: duplicated groups result in group by 2022-12-23 12:04:20 +08:00
dapan1121 d39e34ce7c
Merge pull request #19071 from taosdata/fix/TS-2276-main
Fix(tsdb): table block distributed totalSize is zero
2022-12-23 11:54:13 +08:00
Shengliang Guan bc6300a146 Merge remote-tracking branch 'origin/fix/TD-21451' into fix/TD-21446 2022-12-23 11:04:19 +08:00
Shengliang Guan 3e4125ae07 Merge remote-tracking branch 'origin/main' into fix/TD-21446 2022-12-23 11:04:03 +08:00
Shengliang Guan b59bee6696 fix: restart snapshot sender on receiver is restart 2022-12-23 11:03:50 +08:00
Minglei Jin 0c64cfc309 tdb/pager: debug logs for pager restore 2022-12-23 10:13:05 +08:00
dapan1121 2c63901782
Merge pull request #19090 from taosdata/fix/TD-21439
fix: invalid interval query result
2022-12-23 09:58:27 +08:00
dapan1121 5aa7c51ab2
Merge pull request #19099 from taosdata/fix/TD-21377
fix: fix time related function inconsistent result in nested queries
2022-12-23 09:58:06 +08:00
Shengliang Guan 773423a6b6 fix: remove some logs 2022-12-23 09:11:45 +08:00
Shengliang Guan 014f76955e Merge remote-tracking branch 'origin/fix/TD-21451' into fix/TD-21446 2022-12-23 09:11:17 +08:00
Minglei Jin 7a38465c76 tdb/pager: debug logs for pager restore 2022-12-22 22:04:06 +08:00
Shengliang Guan 5c431dda98 Merge branch 'fix/TD-21451' into fix/TD-21446 2022-12-22 21:51:37 +08:00
Minglei Jin 78af4f54a3 tdb/pager: debug logs for pager restore 2022-12-22 21:45:09 +08:00
dapan1121 9ab98f0230 fix: fill value issue 2022-12-22 20:56:23 +08:00
Shengliang Guan 32a49cc7b0 Merge branch 'fix/TD-21451' into fix/TD-21446 2022-12-22 20:33:45 +08:00
Minglei Jin 99bc54dfd9 tdb/pager: debug logs for pager restore 2022-12-22 20:29:42 +08:00
dapan1121 d83883d20e fix: get ts column when data loaded 2022-12-22 20:02:43 +08:00
Ganlin Zhao 65921f6b2d fix: fix time related function inconsistent result in nested queries 2022-12-22 19:05:13 +08:00
Shengliang Guan a5b2c03e28 Merge remote-tracking branch 'origin/fix/TD-21451' into fix/TD-21446 2022-12-22 18:11:06 +08:00
Minglei Jin 336ee146e6 fix(tdb/restore): seek jfd to begin 2022-12-22 17:56:56 +08:00
Shengliang Guan 48b6bd438d fix: restart snapshot sender on receiver is restart 2022-12-22 17:30:02 +08:00
54liuyao 7c84ddd46d fix:timestampe is out of order 2022-12-22 16:48:33 +08:00
dapan1121 98b2307eb3 fix: invalid interval query result 2022-12-22 16:31:16 +08:00
Shengliang Guan 053f48e33a
Merge pull request #19087 from taosdata/FIX/TD-21394-main
fix: change log level to trace on missing entries in syncRespMgr
2022-12-22 15:26:04 +08:00
dapan1121 dacb2cd533 fix: fill null value issue 2022-12-22 14:59:41 +08:00
Benguang Zhao 738c233a22 fix: change log level to trace on missing entries in syncRespMgr 2022-12-22 14:42:55 +08:00
Minglei Jin 25e3f653ee fix(tdb/abort): invalidate flushed pages in cache not on dirty tree 2022-12-22 10:50:16 +08:00
Alex Duan cd1b87031a fix(query): modify error describe 2022-12-22 10:22:51 +08:00
dapan1121 6b8a603d27
Merge pull request #19060 from taosdata/fix/TD-21404
fix: interp takes too much time issue
2022-12-22 09:14:46 +08:00
Alex Duan 8aa615c623 fix(query): show distributed table modify average calc error 2022-12-21 17:34:02 +08:00
Shengliang Guan 6e7e3139b1 fix: heap-use-after-free while alter vnode replicas 2022-12-21 17:33:34 +08:00
Shengliang Guan 510ad2e39e fix: heap-use-after-free while transfer snapshot between vnode replicas 2022-12-21 17:15:34 +08:00
Alex Duan 15160544c5 feat(rpc): move the check msgType to client 2022-12-21 11:48:24 +08:00
dapan1121 be4361c872 fix: interp takes too much time issue 2022-12-21 11:41:18 +08:00
Xiaoyu Wang 9dc84bb748 fix: show tables/stables privilege error 2022-12-21 10:16:38 +08:00
dapan1121 5441dae3ba
Merge pull request #19045 from taosdata/enh/authReadOrWrite
enh: support auth read or write
2022-12-21 09:21:44 +08:00
dapan1121 b77a1ed5e3
Merge pull request #19032 from taosdata/fix/TD-21001
enh: optimize converting timestamp at client side
2022-12-21 09:21:35 +08:00
dapan1121 80ea662b50
Merge pull request #19048 from taosdata/fix/TS-2310
fix: fix percentile + interval res error
2022-12-21 09:21:02 +08:00
Shengliang Guan 93c9b2a490
Merge pull request #19050 from taosdata/fix/TD-21176
refact: update sync log
2022-12-20 22:50:26 +08:00
Shengliang Guan a4301cc962
Merge pull request #19044 from taosdata/feature/3_liaohj
fix(query): check for buffer in first/last merge.
2022-12-20 21:53:07 +08:00
Shengliang Guan d674c8370b refact: update sync log 2022-12-20 21:30:46 +08:00
Alex Duan 37ea86f8ed fix(rpc): add msgType condition 2022-12-20 21:13:33 +08:00
dapan1121 294a437657 fix: fix percentile + interval res error 2022-12-20 19:50:09 +08:00
Alex Duan 8774d2c17b feat(rpc): fixed build error 2022-12-20 19:14:57 +08:00
dapan1121 05580340d8 fix: invalid node list node issue 2022-12-20 18:25:33 +08:00
Haojun Liao 5c534d77d9 fix(query): check for buffer in first/last merge. 2022-12-20 18:23:15 +08:00
dapan1121 b9e3f01c7c fix: empty node in operator node 2022-12-20 18:15:25 +08:00
Alex Duan df6102f66e fix(query): TSDB_CODE_RPC_VGROUP_NOT_CONNECTED same condition check with TSDB_CODE_RPC_NETWORK_UNAVAIL 2022-12-20 18:14:24 +08:00
Alex Duan 7d9e5924fa fix(query): remove check msgType 2022-12-20 18:06:04 +08:00
Haojun Liao 7059d71e1f fix(query): check for buffer in first/last merge. 2022-12-20 17:31:36 +08:00
dapan1121 65913f6ad9 enh: support auth read or write 2022-12-20 17:14:10 +08:00
Alex Duan 02dbf35354 fix(query): return TSDB_CODE_RPC_VGROUP_NOT_CONNECTED if all nodes in vgroups is offline 2022-12-20 16:57:16 +08:00
Shengliang Guan 9c8b194c34 refact: set FpSnapshotStopRead return type to void 2022-12-20 15:07:27 +08:00
Shengliang Guan 41dcd32b8e refact: adjust some logs 2022-12-20 15:01:03 +08:00
Shengliang Guan 12b6cf15a0 refact: set FpGetSnapshotInfo return type to void 2022-12-20 14:57:04 +08:00
Liu Jicong c734d040f1 fix(query): projection for null input 2022-12-20 10:24:44 +08:00
Shengliang Guan f316cc12bf
Merge pull request #19010 from taosdata/fix/TD-21344-main
fix(tdb): rollback in-memory pages
2022-12-20 00:08:47 +08:00
Minglei Jin b6caecea28 tdb/pager: seek jfd to file begin when abort 2022-12-19 17:11:08 +08:00
Xiaoyu Wang f6d953e62d fix: disable insert csv statements on cloud services 2022-12-19 16:40:40 +08:00
Minglei Jin 1eea4101f1 tdb/pager: new trace log for abort operation 2022-12-19 16:40:08 +08:00
Minglei Jin 8369fef53c fix(tdb): zero page if ncells is zero when init page 2022-12-19 15:34:03 +08:00
Minglei Jin 30db4f9582 fix(tdb): rollback befor commit btree root page 2022-12-19 14:45:22 +08:00
Shengliang Guan b74e0b0715
Merge pull request #19004 from taosdata/FIX/TD-21169-main
fix: allow to rollback sync log buffer beyond startIndex with refill
2022-12-19 12:57:17 +08:00
Shengliang Guan 6e64951c3f
Merge pull request #18995 from taosdata/fix/main_bugfix_wxy
fix: user auth error
2022-12-19 11:53:15 +08:00
Minglei Jin 4e4b3661ea fix(tdb): rollback in-memory pages 2022-12-19 11:39:41 +08:00
Benguang Zhao a218108140 fix: allow to rollback sync log buffer beyond startIndex with refill 2022-12-19 11:15:03 +08:00
Xiaoyu Wang 6868e57351 fix: user auth error 2022-12-19 10:25:14 +08:00
Alex Duan 0a5fd77b17 feat(query): avg function overflow mac build 2022-12-18 19:04:38 +08:00
Alex Duan 1a75e9bb58 feat(query): avg function overflow add big check 2022-12-18 15:15:13 +08:00
yihaoDeng 11e7c94134 modify test case and memleak while client quit 2022-12-18 13:11:30 +08:00
Shengliang Guan 1c0c651b03 Merge branch 'main' into fix/TD-21163-2 2022-12-17 22:36:39 +08:00
Shengliang Guan 7cd76335fe
Merge pull request #18951 from taosdata/enh/td-21144
enh: ignore head line in cvs file
2022-12-17 22:29:56 +08:00
Alex Duan 1b8199d98d fix(query): avg function check overflow mac build 2022-12-17 20:38:03 +08:00
Shengliang Guan ead5d8edf2 fix: reduce drop dnode speed makes data more secure 2022-12-17 18:34:29 +08:00
Alex Duan ea5bf3d31e fix(query): fix(query): avg check overflow 2022-12-17 17:15:44 +08:00
Alex Duan ba31ce8070 feat(query): avg function check range overflow 2022-12-17 10:46:13 +08:00
yihaoDeng 9542b95d62 fix mem leak 2022-12-16 22:32:44 +08:00
Shengliang Guan 4f9cd55a75
Merge pull request #18963 from taosdata/fix/TD-21074
fix: change err msg while vnode is stoped
2022-12-16 16:17:40 +08:00
Shengliang Guan 31c75345cb
Merge pull request #18955 from taosdata/FIX/TD-21249-main
enh: adjust batchSize dynamically on retryBackoff
2022-12-15 19:17:15 +08:00
yihaoDeng 93dc0aff07 change err msg while vnode is stoped 2022-12-15 17:08:03 +08:00
dapan1121 978d45ffc1 enh: optimize converting timestamp at client side 2022-12-15 16:56:35 +08:00
Xiaoyu Wang c21911fdbf fix: user auth error 2022-12-15 16:18:48 +08:00
Alex Duan 0130950170 fix(query): avg sum operation check range merge two SAvgRes pointer 2022-12-15 15:32:53 +08:00
Alex Duan 1ac428ff61 fix(query): avg sum operation check range build error 2022-12-15 14:54:22 +08:00
Alex Duan e9f7572a54 fix(query): avg sum operation check range 2022-12-15 14:52:53 +08:00
Alex Duan 500ee304a6 fix(query): avg sum over range replace with macro 2022-12-15 12:43:28 +08:00
Shengliang Guan 0a5ee50ed5
Merge pull request #18948 from taosdata/fix/TD-21092
fix: remove sch status on timeout
2022-12-14 21:39:25 +08:00
Benguang Zhao 8af1cf15a7 enh: adjust batchSize dynamically on retryBackoff 2022-12-14 21:37:16 +08:00
Alex Duan 74cf776439 fix(query): avg function sum overflow 2022-12-14 21:34:50 +08:00
Alex Duan a4e0bbd34f fix(query): fixed avg function sum over range 2022-12-14 20:30:18 +08:00
Shengliang Guan 6a7c1d6bea
Merge pull request #18940 from taosdata/enh/TD-21127
refact: post sem in vnode while sync timeout
2022-12-14 18:55:52 +08:00
dapan1121 2aad923b59
Merge pull request #18927 from taosdata/fix/TD-21101
fix: refact some example files
2022-12-14 16:35:52 +08:00
dapan1121 49bcb15fab enh: ignore head line in cvs file 2022-12-14 16:34:56 +08:00
yihaoDeng e6709caafb remove sch status on timeout 2022-12-14 16:14:39 +08:00
Shengliang Guan 60bab9ae55 refact: post sem in vnode while sync timeout 2022-12-14 16:09:28 +08:00
Shengliang Guan 9af36669ad refact: post sem in vnode while sync timeout 2022-12-14 11:56:08 +08:00
Shengliang Guan 2b256542a5 refact: add vnode timer 2022-12-14 09:14:40 +08:00
dapan1121 473338cf86
Merge pull request #18929 from taosdata/fix/percentile_crash
fix: fix invalid retrieved buffer page causing crash
2022-12-14 08:52:15 +08:00
dapan1121 d6f6c6495b
Merge pull request #18917 from taosdata/szhou/cenc
fix: udfd pipe close before send response
2022-12-14 08:51:28 +08:00
Shengliang Guan 0866a74944
Merge pull request #18936 from taosdata/fix/rmUnusedParam
fix: remove unused param
2022-12-14 08:02:33 +08:00
Shengliang Guan 04750d9078
Merge pull request #18905 from taosdata/feature/3_liaohj
refactor: do multiple refactor and improve some query perf.
2022-12-14 08:01:42 +08:00
Haojun Liao 8b1f452312 fix(query): set data load flag for multi-way merge . 2022-12-13 22:37:29 +08:00
yihaoDeng 581a041ddd remove unused param 2022-12-13 20:39:36 +08:00
yihaoDeng 6fb45a5f47 remove unused param 2022-12-13 20:16:45 +08:00
Ganlin Zhao 08375a523d fix: fix invalid retrieved buf page 2022-12-13 15:44:26 +08:00
slzhou c14c1b9ae2 fix: add test case 2022-12-13 15:30:18 +08:00
dapan1121 186384dda3 fix: refact some example files 2022-12-13 15:26:16 +08:00
Shengliang Guan 3f97f41861
Merge pull request #18920 from taosdata/fix/main_bugfix_wxy
enh: shielding database option 'strict'
2022-12-13 14:52:45 +08:00
slzhou 3108e658e6 fix: expand scalar param column data to fill the udf datablock 2022-12-13 14:51:11 +08:00
Shengliang Guan b0c336cf05
Merge pull request #18906 from taosdata/fix/percentile_crash
fix: fix error in getting pageIdList from group page hash map
2022-12-13 11:23:20 +08:00
slzhou 4a0b44d6d6 Merge branch 'szhou/fixbugs' of github.com:taosdata/TDengine into szhou/fixbugs 2022-12-13 11:03:52 +08:00
shenglian zhou bd99fc5ceb fix: expand scalar input number of rows with the max num of rows 2022-12-13 11:00:13 +08:00
Xiaoyu Wang b69725adaa enh: shielding database option 'strict' 2022-12-13 10:00:24 +08:00
shenglian zhou 4f87ff3409 Merge branch 'szhou/cenc' of github.com:taosdata/TDengine into szhou/cenc 2022-12-13 08:24:16 +08:00
shenglian zhou f95856be9d Merge branch 'main' of github.com:taosdata/TDengine into szhou/cenc 2022-12-13 08:16:07 +08:00
Shengliang Guan 998b45efeb
Merge pull request #18911 from taosdata/fix/setCompressRange
fix: set compressMsg range
2022-12-13 08:10:47 +08:00
Haojun Liao 9afdee5fd3 fix(query): set data load flag. 2022-12-13 01:30:10 +08:00
Haojun Liao e3e42cdfbd fix(query): set update ts flag for stream. 2022-12-13 00:16:40 +08:00
shenglian zhou 3aa13025c2 fix: udfd without copy buf again and udfd read eof not log with error 2022-12-12 21:57:52 +08:00
yihaoDeng 63f546e5d6 release unused handle 2022-12-12 21:47:19 +08:00
Shengliang Guan 5122a7e964
Merge pull request #18902 from taosdata/fix/main_bugfix_wxy
fix: create stream error
2022-12-12 20:24:18 +08:00
shenglian zhou 190fbe849e fix: udfd pipe can close before sending response 2022-12-12 20:20:24 +08:00
shenglian zhou cf6508c756 Merge branch 'main' of github.com:taosdata/TDengine into szhou/cenc 2022-12-12 19:39:11 +08:00
yihaoDeng 113355e45e release unused handle 2022-12-12 19:10:40 +08:00
Haojun Liao d7edcfd207 fix(query): set dataload flag. 2022-12-12 18:33:44 +08:00
yihaoDeng 8cc54650fc set compressMsg range 2022-12-12 18:14:54 +08:00
Haojun Liao 8f02297890 refactor: do some internal refactor. 2022-12-12 17:53:04 +08:00
Ganlin Zhao 159088267b fix: fix error in getting pageIdList from group page hash map 2022-12-12 17:23:53 +08:00
Xiaoyu Wang 6d28232189 fix: create stream error 2022-12-12 17:14:08 +08:00
Xiaoyu Wang 903804883d fix: create stream error 2022-12-12 15:35:50 +08:00
wade zhang 1b6d196e40
Merge pull request #18900 from taosdata/fix/main_bugfix_wxy
enh: shielding sql command 'alter database strict'
2022-12-12 15:26:49 +08:00
Haojun Liao c31f36d841 fix(query): set data load flag for multi-way merge . 2022-12-12 15:06:40 +08:00
Haojun Liao 2bf21e6a17 fix(query): set flag for merged block. 2022-12-12 14:33:39 +08:00
slzhou f4ef8dc7e7 Merge branch 'main' of github.com:taosdata/TDengine into szhou/cenc 2022-12-12 06:33:03 +00:00
Haojun Liao 1d9514d6d8 refactor(query): add an assert. 2022-12-12 14:28:08 +08:00
Xiaoyu Wang dc64bb5110 enh: shielding sql command 'alter database strict' 2022-12-12 13:22:23 +08:00
Haojun Liao 6283581cb8 fix(query): remove invalid update block timestamp range. 2022-12-12 13:19:59 +08:00
Haojun Liao 4b5f4e5175 fix(query): fix error in check if load block is needed 2022-12-12 13:07:30 +08:00
Ganlin Zhao 3c777c492d fix: fix taosd crash caused by assert 2022-12-12 10:20:03 +08:00
Shengliang Guan aa512f1d55
Merge pull request #18874 from taosdata/fix/TD-21117
fix: control rpc qitem memory
2022-12-10 15:58:31 +08:00
shenglian zhou 25029a2e7a fix: restore stream code 2022-12-10 15:53:32 +08:00
shenglian zhou 3024e91a8d fix: restore stream code 2022-12-10 15:45:59 +08:00
shenglian zhou 8e8b7d1014 Merge branch 'main' of github.com:taosdata/TDengine into szhou/cenc 2022-12-10 15:37:12 +08:00
Shengliang Guan 066cb34a2d Merge branch 'fix/liao_cov' of https://github.com/taosdata/TDengine into fix/liao_cov 2022-12-10 15:34:30 +08:00
Shengliang Guan 093a59eede
Merge pull request #18872 from taosdata/fix/liao_cov
fix(query): remove invalid assert and fix the error in memcpy data.
2022-12-10 15:31:45 +08:00
Haojun Liao 7563ba2dfc fix(query): keep the correct value. 2022-12-10 14:07:34 +08:00
Shengliang Guan 50b66df39f fix: control rpc qitem memory 2022-12-10 14:02:57 +08:00
shenglian zhou 0486d82b92 fix: fix stream core 2022-12-10 13:24:47 +08:00
Shengliang Guan 3a00bf2aa6
Merge pull request #18870 from taosdata/fix/TD-21115-main
fix: shell crash TD-21115
2022-12-10 12:57:14 +08:00
Shengliang Guan f866f5d294
Merge pull request #18871 from taosdata/main
release: build 3.0.2.0
2022-12-10 12:56:59 +08:00
Shengliang Guan 0c6abb71c8
Merge pull request #18873 from taosdata/fix/liao_cov
fix(query): remove invalid assert and fix the error in memcpy data.
2022-12-10 12:27:41 +08:00
Haojun Liao c1a68f7f3b fix(query): remove invalid assert and fix the error in memcpy data. 2022-12-10 12:09:07 +08:00
shenglian zhou c5abada99e fix: fix gpd error 2022-12-10 11:46:47 +08:00
Shengliang Guan 585efa1ffd
Merge pull request #18864 from taosdata/fix/metaCacheMemLeak
fix:fix mem leak
2022-12-10 11:28:29 +08:00
yihaoDeng 3bce02438f TD-21115 2022-12-10 11:12:54 +08:00
yihaoDeng e7e34456fb fix mem leak 2022-12-09 22:25:26 +08:00
Shengliang Guan 016f7642de
Merge pull request #18854 from taosdata/feature/stream
fix: mem leak
2022-12-09 21:48:20 +08:00
Shengliang Guan b4ca6c84da
Merge pull request #18857 from taosdata/enh/changeDefaultValue
fix: change default sch value
2022-12-09 21:46:30 +08:00
Liu Jicong a6fff95795 fix: close wal ref 2022-12-09 17:18:21 +08:00
yihaoDeng e150913c7b change default sch value 2022-12-09 17:08:51 +08:00
Shengliang Guan 5adf21b68f
Merge pull request #18850 from taosdata/fix/udfdCrash
fix: fix udfd crash
2022-12-09 15:15:44 +08:00
Shengliang Guan 70f74c3f37
Merge pull request #18848 from taosdata/fix/exHandleMemleak
fix: exhandle mem leak
2022-12-09 14:54:59 +08:00
yihaoDeng 52045c43ab compile error 2022-12-09 13:30:25 +08:00
yihaoDeng 77829e2676 exhandle mem leak 2022-12-09 13:23:52 +08:00
Shengliang Guan a2adbfcbd1 Merge branch 'main' into feat/TD-21045-main 2022-12-09 13:05:45 +08:00
Shengliang Guan 8e05106c62
Merge pull request #18837 from taosdata/fix/TD-19250-8
fix: release lock and memory in exceptional cases
2022-12-09 12:29:02 +08:00
dapan1121 4efa7c2b47
Merge pull request #18815 from taosdata/enh/insertOptimize
enh: insert multi tables optimize
2022-12-09 12:22:59 +08:00
54liuyao 8caca97568 feat:add delete mark for sma 2022-12-09 11:34:58 +08:00
yihaoDeng 0b1cef9b51 fix udfd crash 2022-12-09 11:29:04 +08:00
Shengliang Guan 783460b2d9
Merge pull request #18835 from taosdata/feature/stream
enh: tolerate exec error
2022-12-09 11:04:08 +08:00
Minglei Jin c22fa53bc4 fix: release lock and memory in exceptional cases 2022-12-09 10:22:43 +08:00
dapan1121 bb0c337e43 fix: client retry issue 2022-12-09 10:06:07 +08:00
Liu Jicong ecbc09663f enh: tolerate exec error 2022-12-09 09:35:53 +08:00
dapan1121 61ad2588cc fix: db release issue 2022-12-09 08:56:01 +08:00
dapan1121 43a349bc1e fix: fix crash caused by null pointer 2022-12-09 07:12:57 +08:00
Shengliang Guan acd3372a3c
Merge pull request #18829 from taosdata/fix/TD-20975
enh: TD-20975
2022-12-09 00:06:10 +08:00
Minghao Li 291750b9c3 fix(sync): snapshot problem 2022-12-08 22:34:08 +08:00
dapan1121 617cd40541 fix: fix ut case issue and crash issue 2022-12-08 22:22:04 +08:00
yihaoDeng ed6f542a3e TD-20975 2022-12-08 21:18:36 +08:00
Shengliang Guan bff8047835
Merge pull request #18805 from taosdata/fix/TD-19250-7
fix: dismiss coverity issues
2022-12-08 21:17:24 +08:00
Shengliang Guan 932d7a7ac6
Merge pull request #18808 from taosdata/fix/sync
fix(sync): checkout NULL pointer
2022-12-08 17:16:12 +08:00
Xiaoyu Wang 23a3a69ddd enh: merge getmetafromcache and getvgroupfromcache interface 2022-12-08 16:19:48 +08:00
yihaoDeng b2b1eb748a update epset 2022-12-08 15:31:20 +08:00
Xiaoyu Wang 44b2cd1b73 enh: merge getmetafromcache and getvgroupfromcache interface 2022-12-08 15:24:34 +08:00
Minghao Li abd5c696f0 fix(sync): checkout NULL pointer 2022-12-08 15:21:41 +08:00
Xiaoyu Wang 0a075cb57a Merge remote-tracking branch 'origin/3.0' into enh/insertOptimize_wxy 2022-12-08 14:20:34 +08:00
Shengliang Guan b798fbefa0
Merge pull request #18790 from taosdata/fix/TD-20305-3.0
fix: keep option of database with ns precision
2022-12-08 13:59:38 +08:00
Minglei Jin da31f5e588 fix: dismiss coverity issues 2022-12-08 13:54:41 +08:00
dapan1121 39d35538a3 fix: fix compile error 2022-12-08 13:53:16 +08:00
dapan1121 35fdfad623
Merge pull request #18758 from taosdata/fix/TD-19481
fix(query): fix percentile crash when input has more than 10 million records
2022-12-08 13:44:44 +08:00
dapan1121 8656633c91 Merge branch 'enh/insertOptimize' of github.com:taosdata/TDengine into enh/insertOptimize 2022-12-08 13:19:07 +08:00
dapan1121 89a6180a7c enh: add retrieve cached table vgroup and meta api 2022-12-08 13:18:11 +08:00
kailixu 4a6f41f7f1 fix: keep option of database with precision ns 2022-12-08 11:56:29 +08:00
kailixu 8d247f3f7a Merge branch '3.0' into fix/TD-20305-3.0 2022-12-08 11:51:50 +08:00
54liuyao 942152947b fix:stream update data 2022-12-08 11:36:34 +08:00
Xiaoyu Wang d5e3d750d1 enh: merge getmetafromcache and getvgroupfromcache interface 2022-12-08 11:14:06 +08:00
Ganlin Zhao fa8cf8686a Merge branch '3.0' into fix/TD-19481 2022-12-08 10:57:39 +08:00
Ganlin Zhao ad69067a01 fix asan stack-scope-after-use errror 2022-12-08 10:57:21 +08:00
dapan1121 1138d8abb2 enh: add table cached meta and vg new api 2022-12-08 10:33:26 +08:00
dapan1121 5b21a2394c
Merge pull request #18779 from taosdata/fix/TD-20958-3.0
fix(query): ensure the SMA  SArray*  capacity is enough big to save all the columns for scanning
2022-12-08 09:13:04 +08:00
Shengliang Guan e505bd50b5
Merge pull request #18727 from taosdata/szhou/fixbugs
fix: add default command line to start udfd when taosd is started directly from command line
2022-12-08 08:54:58 +08:00
shenglian zhou 9789adc439 fix: fix windows compilation error 2022-12-08 07:36:10 +08:00
kailixu 3a3bf89cb8 fix: keep option of database with ns precision 2022-12-08 01:39:01 +08:00
Shengliang Guan 1bb1025f7d enh: add tassert 2022-12-07 22:24:47 +08:00
Shengliang Guan 6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan 297ba7f7d4
Merge pull request #18775 from taosdata/fix/TD-20045
refact: adjust some assert cases
2022-12-07 21:44:34 +08:00
Shengliang Guan be227bd6f6
Merge pull request #18783 from taosdata/feature/3.0_mhli
refactor(sync): re send snapshot in timer-routine when response timeout
2022-12-07 21:26:15 +08:00
Minghao Li c29401edf2 refactor(sync): re send snapshot in timer-routine 2022-12-07 19:46:26 +08:00
Shengliang Guan 4172acf95d git lo 2022-12-07 19:39:53 +08:00
Shengliang Guan cc87f99854
Merge pull request #18778 from taosdata/feature/3_liaohj
fix(query):fix the invalid write operation.
2022-12-07 19:34:33 +08:00
Shengliang Guan 960bcaa22f
Merge pull request #18777 from taosdata/fix/fixMemleakOnExit
fix: fix mem leak
2022-12-07 19:34:12 +08:00
Shengliang Guan b286959aed
Merge pull request #18769 from taosdata/FIX/TD-21043-3.0
enh: check contiguousness of indexes applied to vnode
2022-12-07 19:32:31 +08:00
Shengliang Guan 6ef608f7af fix: complie error 2022-12-07 19:02:43 +08:00
Shengliang Guan d5126d469a refact: replcase ASSERT with tAssert 2022-12-07 18:42:48 +08:00
Shengliang Guan f69a188f7e refact: replcase ASSERT with tAssert 2022-12-07 18:37:40 +08:00
Haojun Liao 0c8bbf5496 fix(query):add an assert. 2022-12-07 18:16:12 +08:00
dapan1121 b9447601fe
Merge pull request #18768 from taosdata/fix/TD-20978
fix: client retry insert based on some error code
2022-12-07 17:59:05 +08:00
Alex Duan 15b8b28972 fix(query): SMA ensure support info pColAgg capacity over column numfor this table 2022-12-07 17:52:49 +08:00
Benguang Zhao 50883689e7 enh: check contiguousness of indexes applied to vnode tsdb 2022-12-07 17:30:22 +08:00
yihaoDeng 3710dbe2e0 fix mem leak 2022-12-07 16:57:45 +08:00
slzhou 56f0d06919 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-12-07 15:30:09 +08:00
dapan1121 217694fd13 fix: client retry insert based on some error code 2022-12-07 15:28:07 +08:00
Ganlin Zhao de4571fbf7 Merge branch '3.0' into fix/TD-19481 2022-12-07 14:17:47 +08:00
Ganlin Zhao 387983f6f4 fix(query): fix percentile crash when input has more than 10
million records
2022-12-07 11:44:39 +08:00
dapan1121 f56916cff9
Merge pull request #18743 from taosdata/fix/TD-20802.2
fix: fix task redirect not finished issue
2022-12-07 11:06:40 +08:00
yihaoDeng 6635691f52 add msg type 2022-12-06 22:21:47 +08:00
Shengliang Guan 24619fef78
Merge pull request #18747 from taosdata/fix/TD-21017
fix: fix tbnameIn bug on normal table
2022-12-06 19:38:11 +08:00
dapan1121 2eb496e9d0
Merge pull request #18741 from taosdata/fix/TD-20929
fix:read data and compute group id
2022-12-06 19:04:47 +08:00
dapan1121 a6d540f289
Merge pull request #18725 from taosdata/enh/failFast
enh: add fail-fast
2022-12-06 19:03:44 +08:00
dapan1121 5b8294122a
Merge pull request #18742 from taosdata/fix/TD-20906
fix: fix count VAR type column error cause of reading incorrect sma results
2022-12-06 18:41:24 +08:00
Shengliang Guan a1d0433898
Merge pull request #18746 from taosdata/fix/add_reserved
refactor(sync): add reserved field in message
2022-12-06 18:34:28 +08:00
Shengliang Guan 5e17b74cb4
Merge pull request #18708 from taosdata/feature/3_liaohj
fix(query): check null ptr before dereferencing it.
2022-12-06 18:24:03 +08:00
Shengliang Guan 996ecb4431
Merge pull request #18745 from taosdata/FIX/TD-20903-3.0
enh: enable timeout checking of sync Resp with ttl as 30s
2022-12-06 18:02:25 +08:00
Shengliang Guan 5f6254fd93
Merge pull request #18740 from taosdata/enh/3.0_planner_optimize
feat: add stream option 'delete_mark'
2022-12-06 17:24:34 +08:00
yihaoDeng 2af319ac0a fix tbnameIn bug on normal table 2022-12-06 17:16:34 +08:00
Minghao Li 20e2acbacf refactor(sync): add reserved field in message 2022-12-06 16:59:19 +08:00
Benguang Zhao 529d8cc800 enh: enable timeout checking of sync Resp with ttl as 30s 2022-12-06 16:46:53 +08:00
Ganlin Zhao 2cc58eebd3 fix: fix count VAR type column error cause of reading
incoorect sma results
2022-12-06 00:29:38 -08:00
54liuyao 99975ae524 fix:read data and compute group id 2022-12-06 16:26:33 +08:00
Xiaoyu Wang bc413b8fff feat: add stream option 'delete_mark' 2022-12-06 16:07:11 +08:00
dapan1121 78c5cc2b6b fix: fix task redirect issue 2022-12-06 15:49:57 +08:00
yihaoDeng 0254e90ce6 avoid null pointer 2022-12-06 13:42:59 +08:00
Benguang Zhao 577a203541 fix: synchronize access of pWalHandle with mutex in raftLogGetEntry 2022-12-06 12:50:59 +08:00
shenglian zhou cf3ec5ad40 fix: add default command line to start udfd when taosd is started directly from command line 2022-12-06 11:42:53 +08:00
yihaoDeng 4e87bcc97a support fail fast 2022-12-06 10:53:31 +08:00
Haojun Liao 68273aef52 Merge branch '3.0' into feature/3_liaohj 2022-12-06 10:36:32 +08:00
yihaoDeng 9ce9d21507 support fail fast 2022-12-06 10:30:14 +08:00
dapan1121 283ef0d056
Merge pull request #18717 from taosdata/fix/TD-20976
fix: add redirect error code and fix no error msg issue
2022-12-06 10:00:06 +08:00
Shengliang Guan aad8469e86
Merge pull request #18716 from taosdata/feature/3.0_sync_pipeline
fix(sync): close snapshot receiver in pre-close
2022-12-06 09:47:00 +08:00
Shengliang Guan a860e72f00
Merge pull request #18701 from taosdata/FIX/TD-20390-3.0
fix: walSaveMeta ahead of deleting WAL files as gc in walEndSnapshot
2022-12-06 09:45:42 +08:00
Benguang Zhao 3f1a0cefbb fix: walSaveMeta ahead of deleting WAL files as gc in walEndSnapshot
delete WAL files in descending order during walRollback
2022-12-06 00:51:45 +08:00