Commit Graph

11953 Commits

Author SHA1 Message Date
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
yihaoDeng 4be196491e add fail-fast 2022-12-05 22:39:18 +08:00
Minghao Li b107518b00 fix(sync): when FpApplyQueueItems return -1, break loop 2022-12-05 20:24:25 +08:00
dapan1121 79cd86d5ad
Merge pull request #18705 from taosdata/fix/TD-20907
fix:stddev\fisrt\last combine function
2022-12-05 20:15:53 +08:00
dapan1121 0c26308ae7 fix: add redirect error code and fix no error msg issue 2022-12-05 20:10:09 +08:00
Shengliang Guan 71022773eb
Merge pull request #18715 from taosdata/fix/TS-2220-3.0
fix(log): ignore create log error
2022-12-05 19:40:16 +08:00
Minghao Li a1ed4b334c fix(sync): close snapshot receiver in pre-close 2022-12-05 18:50:19 +08:00
Alex Duan f8b75e3ac1 fix(log): ignore create log error 2022-12-05 17:54:26 +08:00
54liuyao d7a38aeae9 fix:stddev\fisrt\last combine function 2022-12-05 17:21:40 +08:00
Shengliang Guan c1b8d1b2b2
Merge pull request #18695 from taosdata/feature/3.0_sync_pipeline
refactor(sync): modify/use default config value
2022-12-05 17:19:13 +08:00
dapan1121 0ecb0d26f2
Merge pull request #18694 from taosdata/fix/TS-2144
enh(query): add timetruncate function ignore timezone option for 1d
2022-12-05 17:18:18 +08:00
Shengliang Guan dffc20f9f1
Merge pull request #18684 from taosdata/fix/TD-20656
fix: use tdbTrace to reduce 135 debug log output
2022-12-05 17:17:03 +08:00
Minghao Li 3939c96a92 refactor(sync): modify/use default config value 2022-12-05 12:35:57 +08:00
Shengliang Guan 6296057ebb
Merge pull request #18685 from taosdata/feature/3.0_sync_pipeline
fix(sync): fix snapshot receiver waiting time
2022-12-05 12:00:38 +08:00
Ganlin Zhao e18da31a5d enh(query): add timetruncate function ignore timezone option for 1d 2022-12-05 12:00:12 +08:00
Minghao Li 3d3e4b6d83 fix(sync): fix snapshot receiver waiting time 2022-12-05 10:18:14 +08:00
Minglei Jin 6b7c540884 fix: use tdbTrace to reduce 135 debug log output 2022-12-05 10:14:18 +08:00
Shengliang Guan c45001744f
Merge pull request #18674 from taosdata/feat/async_commit
feat: async commit
2022-12-04 22:31:04 +08:00
Haojun Liao 7c66b80045 Merge branch '3.0' into feature/3_liaohj 2022-12-04 22:21:49 +08:00
dapan1121 9cb07360de
Merge pull request #18643 from taosdata/enh/insert_multi_table_optimize
enh: optimize multiple table insert
2022-12-04 16:48:15 +08:00
dapan1121 f9f60a8f39
Merge pull request #18646 from taosdata/fix/TD-20684-3.0
feat(api): add new api int64_t taos_affected_rows64
2022-12-04 16:47:51 +08:00
Hongze Cheng df6eb27b75 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-04 14:51:05 +08:00
Shengliang Guan df4e966136
Merge pull request #18672 from taosdata/feature/3.0_sync_pipeline
refactor(sync): add config item and default value in sync
2022-12-04 11:22:08 +08:00
Hongze Cheng f9bd8b3a51 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-04 10:08:59 +08:00
Minghao Li 575c5e89fc refactor(sync): add config item in sync 2022-12-04 09:49:27 +08:00
Hongze Cheng d977929c99 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-04 09:37:29 +08:00
Benguang Zhao 21ff35ee42 fix: truncate WAL on need while syncLogBufferRollback 2022-12-04 08:13:49 +08:00
Shengliang Guan cc8e1071ab
Merge pull request #18668 from taosdata/FIX/TD-19334-3.0
fix: synchronize syncPropose for executing blocking msgs in vnodeProposeMsg
2022-12-03 22:06:40 +08:00
Shengliang Guan 241638de33
Merge pull request #18661 from taosdata/fix/liao_cov
enh(query): improve the performance and add some todo
2022-12-03 21:41:38 +08:00
Benguang Zhao a7807d3ee4 fix: synchronize syncPropose for executing blocking msgs in vnodeProposeMsg 2022-12-03 20:53:56 +08:00
dapan1121 c3267d5294 fix: fix db release issue 2022-12-03 15:08:45 +08:00
Haojun Liao 4a121d40d6 fix(query): fix syntax error. 2022-12-03 13:47:51 +08:00
Shengliang Guan b4cb000634
Merge pull request #18659 from taosdata/refact/TD-20127
refact: remove some error codes
2022-12-03 13:00:24 +08:00
Haojun Liao 658cb393a7 enh(query): improve the performance and add some todo 2022-12-03 12:11:20 +08:00
Shengliang Guan d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
Benguang Zhao 7eca212756 Merge branch '3.0' into FIX/TD-19334-3.0 2022-12-03 10:02:59 +08:00
dapan1121 6cb65fabdc fix: fix stable not exist crash issue 2022-12-03 09:43:37 +08:00
Alex Duan 81dc25819d feat(api): add int64 affect row fix build error 2022-12-03 09:42:58 +08:00
Shengliang Guan 7ba56169a2
Merge pull request #18652 from taosdata/fix/liao_cov
refactor: add function for extract the required buffer during query.
2022-12-03 09:20:46 +08:00
Shengliang Guan 2734405a8f Merge branch '3.0' into enh/changeRpcLogLevel 2022-12-03 09:19:59 +08:00
Benguang Zhao 2ce07c6ec1 fix: get result of tmsPutToQueue for FpCommitCb 2022-12-03 09:05:50 +08:00
Benguang Zhao e97c8f637b enh: logging sync log buffer rollback events 2022-12-03 09:05:39 +08:00
Haojun Liao de0022b473 fix(query): fix error in record the created time. 2022-12-02 23:38:05 +08:00
Alex Duan 213b97b79a feat(api): taos_affected_rows64 add and modfiy tmsg.h 2022-12-02 23:20:19 +08:00
yihaoDeng 3d28255dfa change rpc log level 2022-12-02 23:19:57 +08:00
Haojun Liao 5e77b3eca3 refactor: add function for extract the required buffer during query. 2022-12-02 23:10:03 +08:00
Shengliang Guan f3e980de14 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:45:11 +08:00
Shengliang Guan 524de026a5 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:24:35 +08:00
dapan1121 94ab465b15
Merge pull request #18621 from taosdata/fix/removeInvalidTab
fix: remove invalid table
2022-12-02 21:07:43 +08:00
dapan1121 84eb77e124
Merge pull request #18590 from taosdata/szhou/table-count-scan
enhancement: table count scan
2022-12-02 21:07:28 +08:00
Shengliang Guan 6d70f48802
Merge pull request #18592 from taosdata/feature/3_liaohj
enh(query): optimize query perf.
2022-12-02 21:00:35 +08:00
Alex Duan 855b0c8cbe feat(api): add int64 affected rows modify tmsg.h struct 2022-12-02 20:57:46 +08:00
Alex Duan 9fb4fa0a7f feat(api): add int64 affected rows modify tmsg.h struct 2022-12-02 20:48:39 +08:00
dapan1121 cafcec2571 fix: make vgroup array when needed 2022-12-02 20:09:44 +08:00
dapan1121 b08ee99c4c fix: vgroup array not made in some cases 2022-12-02 18:09:38 +08:00
Alex Duan 878f2a2c19 fix(shell): reset dataDispatcher mistake modify 2022-12-02 17:01:40 +08:00
Shengliang Guan 99968ccc4f enh: adjust error code 2022-12-02 16:46:43 +08:00
Shengliang Guan 24ee4b4289 Merge branch '3.0' into enh/TD-20891 2022-12-02 16:44:46 +08:00
Alex Duan 39482b24db feat(shell): supported affected rows int64_t 2022-12-02 16:42:38 +08:00
dapan1121 3c1e52eb91 fix: fix size_t compile issue 2022-12-02 16:40:09 +08:00
dapan1121 7b18f0a842 fix: fix compile issue 2022-12-02 16:36:56 +08:00
Hongze Cheng e9356fa59d Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-02 16:28:53 +08:00
dapan1121 6593c835fe
Merge pull request #18632 from taosdata/fix/TD-20727
fix: filter memory leak cause of same const strings
2022-12-02 16:23:12 +08:00
dapan1121 76fd76cd1a enh: optimize db vgroup cache and child table meta retrieving 2022-12-02 16:22:06 +08:00
Shengliang Guan 13f36ec20a refact: remove TSDB_CODE_APP_NOT_READY and TSDB_CODE_NODE_NOT_DEPLOYED 2022-12-02 16:06:10 +08:00
Haojun Liao 42a512c39f refactor: do some internal refactor. 2022-12-02 15:52:32 +08:00
Minglei Jin 6cb65f336d Merge branch 'v3.0' into feat/async_commit 2022-12-02 14:49:58 +08:00
dapan1121 051ac7d874 Merge remote-tracking branch 'origin/3.0' into enh/insert_multi_table_optimize 2022-12-02 14:28:46 +08:00
dapan1121 7bb30150a9 fix: fix memory leak 2022-12-02 14:23:36 +08:00
Xiaoyu Wang 85ea8bbbb3 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-12-02 14:04:50 +08:00
dapan1121 55e544793c
Merge pull request #18599 from taosdata/fix/TD-20802
enh: support query retry cause of dnode stopped
2022-12-02 14:01:16 +08:00
dapan1121 1fcd99176b fix: filter memory leak cause of same const strings 2022-12-02 10:59:52 +08:00
Xiaoyu Wang 64a2bd481c fix: check subquery time series error 2022-12-02 10:30:23 +08:00
slzhou ea3944894f Merge branch 'enh/3.0_planner_optimize' of github.com:taosdata/TDengine into szhou/table-count-scan 2022-12-02 10:18:48 +08:00
dapan1121 dff4c36092
Merge branch '3.0' into fix/TD-20802 2022-12-02 10:11:39 +08:00
Haojun Liao 83782fb27b fix(query): fix invalid tag fill and clear nullbitmp 2022-12-02 10:07:48 +08:00
Xiaoyu Wang 67d6ea93b0 enh: ins_table count optimize 2022-12-02 10:02:22 +08:00
Shengliang Guan d8f72ec014
Merge pull request #18611 from taosdata/enh/refatorRetry
enh: refactor retry code
2022-12-02 08:02:33 +08:00
Shengliang Guan a366696478
Merge pull request #18596 from taosdata/feature/stream
refactor(stream): distributed checkpoint
2022-12-02 07:51:10 +08:00
Shengliang Guan 1d3cd2751a
Merge pull request #18622 from taosdata/FIX/TD-19334-3.0
fix: get prevLogTerm of index zero as 0 only when firstVer is zero
2022-12-02 07:50:48 +08:00
Liu Jicong 3424b184d3 refactor(stream): distributed checkpoint 2022-12-02 03:48:45 +08:00
Benguang Zhao 03d62e478f fix: get prevLogTerm of index zero as 0 only when firstVer is zero 2022-12-01 22:18:08 +08:00
Haojun Liao 1faf616f1d fix(query): fix null ptr access in evaluation block distribution. 2022-12-01 22:17:53 +08:00
Haojun Liao 24614d03bd fix(query): set correct sma retrieve procedure. 2022-12-01 21:35:01 +08:00
slzhou 011af4f30c Merge branch 'enh/3.0_planner_optimize' of github.com:taosdata/TDengine into szhou/table-count-scan 2022-12-01 20:36:49 +08:00
yihaoDeng 1750b5cc92 remove invalid table 2022-12-01 20:34:06 +08:00
Haojun Liao efcc3b06bb fix(query): fix memory leak. 2022-12-01 20:01:09 +08:00
slzhou ee5d0a384f fix: refactor table scan count 2022-12-01 19:05:33 +08:00
Hongze Cheng 3fc30c991e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-01 18:59:21 +08:00
dapan1121 7facf64e5a fix: optimize ctg code 2022-12-01 18:58:30 +08:00
Haojun Liao 740daefdc5 fix(query): fix a typo. 2022-12-01 18:39:15 +08:00
Haojun Liao 8c62d5f9fa fix(query): fix bug in tsdbread. 2022-12-01 18:34:26 +08:00
Minghao Li 3f4ba9a792 fix(sync): delete duplicate code 2022-12-01 18:15:59 +08:00
dapan1121 7ad0226e32 fix: add debug code info 2022-12-01 18:04:13 +08:00
Xiaoyu Wang 233377444c enh: ins_table count optimize 2022-12-01 17:57:53 +08:00
Shengliang Guan 9f90467b68
Merge pull request #18614 from taosdata/feature/3.0_mhli
refactor(sync): put heartbeat-reply msg into sync-ctrl-queue
2022-12-01 17:25:54 +08:00
Haojun Liao f8a2ab8338 refactor: do some internal refactor. 2022-12-01 17:24:26 +08:00
slzhou a2de81e908 fix: fill scan type for select count(*) from ins_tables 2022-12-01 16:58:47 +08:00
slzhou b8ed0459a6 fix: change the paramter instead of table name 2022-12-01 16:50:23 +08:00
Shengliang Guan 806658545a
Merge pull request #18449 from taosdata/FIX/TD-19334-3.0
feat: implement pipelining of sync
2022-12-01 16:40:07 +08:00
yihaoDeng 3378ff0fb8 refactor code 2022-12-01 16:03:40 +08:00