Commit Graph

17622 Commits

Author SHA1 Message Date
dapan1121 fc85fc4048
Merge pull request #17971 from taosdata/fix/TS-2015
fix: TS-2015
2022-11-08 19:20:42 +08:00
dapan1121 718ccf5dfa Merge remote-tracking branch 'origin/fix/TD-20264' into enh/TD-20288 2022-11-08 19:11:01 +08:00
Haojun Liao dc2c419f22 enh(query): optimize the query perf. 2022-11-08 19:01:35 +08:00
yihaoDeng 495bfe932a fix invalid free 2022-11-08 18:56:44 +08:00
Haojun Liao ecf3e2c000 enh(query): optimize the perf. 2022-11-08 18:44:28 +08:00
Shengliang Guan 0183fe6e73 fix: crash if db not exist while process status msg 2022-11-08 18:36:24 +08:00
Shengliang Guan 855bcc72fc
Merge pull request #17969 from taosdata/fix/3.0_bugfix_wxy
fix: set operator subplan type error
2022-11-08 18:36:12 +08:00
Haojun Liao 663138ba1e enh(query): optimize the query perf. 2022-11-08 18:33:57 +08:00
yihaoDeng 3c6246f85f TS-2015 2022-11-08 18:18:33 +08:00
Shengliang Guan 6c0f46ff03 fix: the vnode was created to the wrong dnode when network was misconfigured 2022-11-08 18:10:26 +08:00
dapan1121 884144ba23
Merge pull request #17960 from taosdata/fix/TD-20267
fix: filter merge issue
2022-11-08 17:52:31 +08:00
dapan1121 d5874419ec
Merge pull request #17935 from taosdata/fix/TD-20246
fix: fix tsdbRead crash caused by reuse after free
2022-11-08 17:48:25 +08:00
Haojun Liao cc3e97da36 fix(query): fix an typo. 2022-11-08 17:41:29 +08:00
Haojun Liao 6e1a2b1e54 enh(query): improve the perf. 2022-11-08 17:38:09 +08:00
Xiaoyu Wang 1c9b0b38d8 fix: set operator subplan type error 2022-11-08 17:35:38 +08:00
Shengliang Guan 5a5d2c448b enh: process some msg in mnode read queue 2022-11-08 17:26:31 +08:00
Shengliang Guan 1dbb086045 enh: check vgroup status changes at regular intervals 2022-11-08 17:17:24 +08:00
Haojun Liao f85d66f5ee enh(query): opt query perf. 2022-11-08 16:59:00 +08:00
Shengliang Guan 8f0ecd46cd
Merge pull request #17961 from taosdata/feature/stream
enh(tmq): offset commit only when needed
2022-11-08 16:08:10 +08:00
Shengliang Guan 920fc400a0
Merge pull request #17964 from taosdata/fix/TD-20264
fix: add log for use db rsp
2022-11-08 16:07:55 +08:00
Shengliang Guan cad4c156d7
Merge pull request #17962 from taosdata/perf/row_iter_optimize
perf: row iter optimize
2022-11-08 15:46:37 +08:00
dapan1121 398ccbcc9d
Merge pull request #17957 from taosdata/fix/compareIssue
fix: fix compare invalid read issues
2022-11-08 15:07:22 +08:00
Haojun Liao b0a54d3fab enh(query): improve the perf. 2022-11-08 14:54:42 +08:00
Shengliang Guan c016266989
Merge pull request #17951 from taosdata/fix/3.0_bugfix_wxy
fix: state_window error
2022-11-08 14:48:24 +08:00
Liu Jicong 118e5bf5d3 enh(tmq): offset commit only when needed 2022-11-08 14:46:34 +08:00
54liuyao f66eded1e1 fix(stream): state window, error result after deleting data 2022-11-08 14:40:44 +08:00
Hongze Cheng 7bba9996cf perf: optimize insert 2022-11-08 14:36:18 +08:00
Hongze Cheng df69e060b2 Merge branch '3.0' of https://github.com/taosdata/TDengine into perf/row_iter_optimize 2022-11-08 14:29:54 +08:00
dapan1121 d09351da68 fix: filter merge issue 2022-11-08 14:22:00 +08:00
Haojun Liao 032208e36a enh(query): optimize the query perf. 2022-11-08 14:01:29 +08:00
Shengliang Guan 7a5be43d14
Merge pull request #17954 from taosdata/feature/stream
fix(stream): delete tb should be checked in write thread
2022-11-08 13:50:15 +08:00
Shengliang Guan fb7d45303b fix: add log for use db rsp 2022-11-08 13:46:18 +08:00
dapan1121 fc73d39add fix: fix compare invalid read issues 2022-11-08 13:27:17 +08:00
Shengliang Guan 75d7ae5a9d
Merge pull request #17953 from taosdata/enh/TD-20263
enh: optimize the error code when create and drop a db in dropping status
2022-11-08 13:24:48 +08:00
Shengliang Guan abd95562a0 enh: optimize the error code when create and delete a database in a dropping state 2022-11-08 12:36:28 +08:00
Haojun Liao 2621dec4ae enh(query): improve the perf. 2022-11-08 12:02:44 +08:00
Hongze Cheng b8d15c0167 Merge branch '3.0' of https://github.com/taosdata/TDengine into perf/row_iter_optimize 2022-11-08 11:45:39 +08:00
Hongze Cheng 080f531b32 perf: optimize col data api 2022-11-08 11:44:58 +08:00
Xiaoyu Wang 8f7c0b8c60 fix: state_window error 2022-11-08 11:35:12 +08:00
Liu Jicong bc469f7f7b fix(stream): delete tb should be checked in write thread 2022-11-08 11:30:29 +08:00
Shengliang Guan 36450e6dd7 enh: optimize the error code when create and delete a database in a dropping state 2022-11-08 11:08:14 +08:00
Shengliang Guan 30058f7619 enh: optimize the error code when create and delete a database in a dropping state 2022-11-08 10:46:32 +08:00
Xiaoyu Wang 2d6c4ebda8 fix: state_window error 2022-11-08 10:18:27 +08:00
dapan1121 ba570b2bb7
Merge pull request #17938 from taosdata/fix/preprocessQuery
fix: fix error handling for query msg preprocessing
2022-11-08 10:13:14 +08:00
Shengliang Guan dfbb958128
Merge pull request #17929 from taosdata/perf/sma_optimize
perf: optimize sma calculation
2022-11-08 10:03:12 +08:00
Shengliang Guan 1f91eef038
Merge pull request #17932 from taosdata/fix/tdb-prep-async-commit
enh(tdb): new interface of meta prep async commit
2022-11-08 09:43:36 +08:00
dapan1121 b5ab7eaf5e
Merge pull request #17891 from taosdata/fix/TD-19906
fix(query): add mode with selectivity rows
2022-11-08 09:36:21 +08:00
Haojun Liao 9863879951 refactor: do some internal refactor. 2022-11-08 09:21:43 +08:00
Shengliang Guan 91e2a6b9e6
Merge pull request #17936 from taosdata/feature/3_liaohj
refactor: refactor to avoid spin operator in exchange operator.
2022-11-08 09:01:10 +08:00
Shengliang Guan 4a0468aa45
Merge pull request #17945 from taosdata/enh/TD-20043
reafct: adjust sync propose
2022-11-08 08:44:30 +08:00
Haojun Liao 1da67a569d fix(query): set correct status. 2022-11-08 00:23:40 +08:00
Shengliang Guan e21c20e229
Merge pull request #17941 from taosdata/fix/bench
fix: avoid cpu load imbalance
2022-11-07 23:34:55 +08:00
Shengliang Guan 29f8878519 refactor: adjust sync hb 2022-11-07 23:32:04 +08:00
Shengliang Guan 05d0a0fe30 Merge branch 'enh/TD-20043' of https://github.com/taosdata/TDengine into enh/TD-20043 2022-11-07 23:31:09 +08:00
Shengliang Guan 9914657cb0 refactor: adjust sync hb 2022-11-07 23:31:01 +08:00
Shengliang Guan 70d60a764f Merge branch '3.0' into enh/TD-20043 2022-11-07 23:29:53 +08:00
Shengliang Guan 8c97a5c1f2
Merge pull request #17940 from taosdata/feature/3.0_mhli
refactor(sync): delete assert, add error log
2022-11-07 23:26:24 +08:00
Shengliang Guan 848fd58402 enh: adjust sync propose 2022-11-07 21:12:43 +08:00
Minglei Jin 1a4cf6964b fix: add post commit to tq & stream 2022-11-07 20:34:23 +08:00
Shengliang Guan 4ddd25a29c enh: adjust sync propose 2022-11-07 20:31:26 +08:00
Shengliang Guan 46e55ba9fb refact: remove config change codes 2022-11-07 20:19:55 +08:00
yihaoDeng a8bb8373f4 avoid rpc send-recv cpu imbalance 2022-11-07 20:08:14 +08:00
Minghao Li d05f9412eb refactor(sync): delete assert, add error log 2022-11-07 19:40:49 +08:00
Shengliang Guan e060de7059 refact: remove config change codes 2022-11-07 19:34:48 +08:00
Shengliang Guan e04c821292
Merge pull request #17933 from taosdata/perf/block_data_optimize
perf: optimize block data operation
2022-11-07 19:32:23 +08:00
Haojun Liao b16853983e fix(query): count the correct number of completed sources. 2022-11-07 19:27:35 +08:00
Shengliang Guan 1ddbeb43bb refact: adjust sync log 2022-11-07 19:19:10 +08:00
dapan1121 f7fa81ee2c fix: fix error handling for query msg preprocessing 2022-11-07 18:51:13 +08:00
Shengliang Guan bc072aa654 Merge branch '3.0' into enh/TD-20043 2022-11-07 18:45:44 +08:00
Shengliang Guan 4baafd3417 refact: adjust sync log 2022-11-07 18:44:29 +08:00
Shengliang Guan 854d840915
Merge pull request #17920 from taosdata/enh/3.0_planner_optimize
enh: insert optimize
2022-11-07 18:38:43 +08:00
Shengliang Guan b0f469adb1
Merge pull request #17931 from taosdata/feature/3.0_mhli
fix(sync): when apply queue not empty, can not read
2022-11-07 18:29:53 +08:00
Haojun Liao d016fc9d47 fix(query): set retrieve completed flag for exchange operator. 2022-11-07 18:27:26 +08:00
yihaoDeng 962ed38676 stmt reqid incr one 2022-11-07 18:15:09 +08:00
Hongze Cheng 005b6780fa fix: sma null bug 2022-11-07 18:14:02 +08:00
Haojun Liao 9932fa6bf0 refactor: refactor to avoid spin operator in exchange operator. 2022-11-07 17:48:27 +08:00
dapan1121 3e3354782c
Merge pull request #17930 from taosdata/enh/showWrite
enh: support grant check in vnode query
2022-11-07 17:42:15 +08:00
Ganlin Zhao d590a38d62 fix: fix tsdbRead crash caused by reuse after free
TD-20246
2022-11-07 17:36:58 +08:00
gccgdb1234 1102a88ad0 bench 2022-11-07 17:35:45 +08:00
Shengliang Guan a1c8db0f88 refact: adjust sync log 2022-11-07 17:35:24 +08:00
Hongze Cheng d52b8966fc perf: optimize block data operation 2022-11-07 16:56:35 +08:00
Xiaoyu Wang f1265cc7a0 enh: insert optimize 2022-11-07 16:48:53 +08:00
Minglei Jin c17f8244be enh(tdb): new interface of meta prep async commit 2022-11-07 16:45:29 +08:00
Minghao Li b6aea6ae17 fix(sync): when apply queue not empty, can not read 2022-11-07 16:40:53 +08:00
dapan1121 5ab6166efe enh: support grant check in vnode query 2022-11-07 16:23:40 +08:00
Haojun Liao 0e11d344cc fix(query): increase the buffer size to 128Kb. 2022-11-07 16:04:13 +08:00
Haojun Liao 088a61bee5 fix(query): release the handle 2022-11-07 16:02:53 +08:00
Hongze Cheng 70f7e3e379 perf: optimize sma calculation 2022-11-07 15:42:53 +08:00
yihaoDeng 90fc572394 avoid epset leak 2022-11-07 15:32:48 +08:00
Haojun Liao c86427c771 fix(query): enable update buf. 2022-11-07 15:27:09 +08:00
Xiaoyu Wang 00c0a5634e Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-07 14:56:35 +08:00
Haojun Liao fea40da5dc other: merge 3.0 2022-11-07 14:31:01 +08:00
dapan1121 b8dd38430f
Merge pull request #17887 from taosdata/enh/add_reqId_interface
enh: add req_id interface
2022-11-07 14:17:33 +08:00
Haojun Liao 2a49fed4ad fix(query): remove invalid free. 2022-11-07 14:02:23 +08:00
Haojun Liao 558cf28ae7 other: add log. 2022-11-07 13:26:10 +08:00
Haojun Liao 8ec132be6e other: add log. 2022-11-07 13:25:09 +08:00
Haojun Liao cd29972a4d enh(query): add cache for table meta. 2022-11-07 11:53:23 +08:00
Xiaoyu Wang 758b4b93a4 enh: insert optimize 2022-11-07 11:31:45 +08:00
Haojun Liao a1a2bae25c fix(query): allocate memory for null value columns. 2022-11-07 10:29:58 +08:00
yihaoDeng 335867cd92 change gen rule 2022-11-07 10:29:02 +08:00
Haojun Liao f86bfb433c Merge branch '3.0' into fix/liao_cov 2022-11-07 10:20:05 +08:00
Haojun Liao be5b72b25d enh(query): add cache for table meta entry in table scan. 2022-11-07 10:17:42 +08:00
Haojun Liao c1794e0252 refactor: do some internal refactor. 2022-11-07 09:38:44 +08:00
Haojun Liao 270404318c other: merge 3.0 2022-11-07 09:28:22 +08:00
dapan1121 888616f321
Merge pull request #17876 from taosdata/fix/TD-20140
fix(query): fix countAlwaysReturnValue param not taking effect for count and hyperloglog
2022-11-07 09:25:15 +08:00
Haojun Liao 341112923b fix(query): init filter in group operator. 2022-11-06 23:42:04 +08:00
Haojun Liao 2c4c9e69de fix(query): init filter in sys table scan. 2022-11-06 23:15:23 +08:00
Xiaoyu Wang b7bc828172 enh: insert optimize 2022-11-06 18:42:53 +08:00
Haojun Liao cc9532c76a fix(query): set correct helper buffer. 2022-11-06 18:39:57 +08:00
Haojun Liao f44dd569cc fix(query): remove the invalid capacity changing. 2022-11-06 16:09:19 +08:00
Haojun Liao 10cd3c0f29 fix(query): remove the invalid capacity changing. 2022-11-06 15:18:33 +08:00
Xiaoyu Wang ac2ce21414 enh: insert optimize 2022-11-06 14:26:19 +08:00
Haojun Liao 9d1998d7d2 fix(query): temporarily disable assert. 2022-11-06 11:53:07 +08:00
Haojun Liao e3d0bc6bf7 other: merge 3.0. 2022-11-06 11:37:21 +08:00
Haojun Liao d200fe5145 refactor: do some internal refactor. 2022-11-06 01:34:04 +08:00
Shengliang Guan 47dfd9d3cb
Merge pull request #17917 from taosdata/fix/TD-19245
fix: coverity issues
2022-11-05 21:00:39 +08:00
Shengliang Guan fc7f62d29d
Merge pull request #17901 from taosdata/fix/TD-20174
fix: fix memory leak
2022-11-05 20:01:30 +08:00
Shengliang Guan adb335467c fix: coverity issues 2022-11-05 19:59:18 +08:00
dapan1121 91ff489813
Merge pull request #17899 from taosdata/fix/TD-20170
fix: fix interval query memory leak
2022-11-05 16:44:15 +08:00
dapan1121 1c78e2b4f8
Merge pull request #17909 from taosdata/fix/TD-20183
fix: fix catalog double free issue
2022-11-05 15:38:49 +08:00
dapan1121 7081ebe9e6
Merge pull request #17877 from taosdata/enh/TD-19920
enh: add show rewrite mask in query msg
2022-11-05 15:35:51 +08:00
Shengliang Guan cba9b2cadb
Merge pull request #17915 from taosdata/feature/3.0_mhli
refactor(sync): optimize advance commit index when one replica
2022-11-05 13:35:37 +08:00
Xiaoyu Wang 7484ff430c enh: insert optimize 2022-11-05 12:09:11 +08:00
Minghao Li 28377a9f37 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-11-05 10:56:09 +08:00
Minghao Li ddb815ac42 refactor(sync): optimize advance commit index when one replica 2022-11-05 10:54:59 +08:00
Haojun Liao 8bf01cdecb fix(query): fix error in unit test. 2022-11-05 00:02:25 +08:00
Haojun Liao 8c4be7dc21 refactor: do some internal refactor. 2022-11-04 22:13:40 +08:00
Shengliang Guan 8a7d34eae7 fix: adjust log 2022-11-04 19:41:11 +08:00
yihaoDeng 1613b43f49 add test 2022-11-04 19:16:04 +08:00
Shengliang Guan 1c892e3e3d
Merge pull request #17894 from taosdata/fix/TD-20161
enh: adjust tqueue and tworker log
2022-11-04 19:11:13 +08:00
dapan1121 4443c7a9eb fix: fix catalog double free issue 2022-11-04 18:50:59 +08:00
Haojun Liao 03f4918b3b refactor: do some internal refactor. 2022-11-04 18:46:48 +08:00
Shengliang Guan 8ce2e12423
Merge pull request #17886 from taosdata/feature/3_liaohj
fix(query): set the last key of each tablescan info
2022-11-04 18:46:17 +08:00
Xiaoyu Wang 80dc658dbb Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-04 18:03:21 +08:00
Xiaoyu Wang 91da143ae5 enh: insert optimize 2022-11-04 18:01:39 +08:00
Shengliang Guan 2e6f75107d enh: adjust the number of vnode threads so that one vnode has one write thread 2022-11-04 17:38:35 +08:00
Shengliang Guan 4fc0e3bd55 enh: adjust the number of vnode threads so that one vnode has one write thread 2022-11-04 17:21:00 +08:00
Hui Li cc3de73708
Merge pull request #17893 from taosdata/feature/3.0_mhli
refactor(sync): delete assert
2022-11-04 16:16:17 +08:00
Ganlin Zhao 1204faefb6 fix: fix memory leak 2022-11-04 16:15:37 +08:00
Shengliang Guan fc41f43c9d fix: deadlock while drop db 2022-11-04 16:15:37 +08:00
Shengliang Guan 8886785be1
Merge pull request #17853 from taosdata/fix/liao_cov
refactor(query): do some internal  refactor.
2022-11-04 15:58:11 +08:00
yihaoDeng 9610efbdf4 stmt reqid incr one 2022-11-04 15:54:46 +08:00
Xiaoyu Wang 9ae008235c enh: insert optimize 2022-11-04 15:45:47 +08:00
Xiaoyu Wang 8513dc1067 enh: insert optimize 2022-11-04 15:21:38 +08:00
Minghao Li 47d9fe6422 fix(sync): do not vote when last-index < my cmt index 2022-11-04 15:10:08 +08:00
dapan1121 69d545fb8d fix: fix interval query memory leak 2022-11-04 13:55:54 +08:00
Shengliang Guan a0983cf8c1 enh: adjust tqueue and tworker log 2022-11-04 10:58:23 +08:00
dapan1121 65636154ea fix: fix msg head issue 2022-11-04 10:47:49 +08:00
Minghao Li 1f329f3025 refactor(sync): delete assert 2022-11-04 10:41:36 +08:00
Ganlin Zhao 85748ce8fd Merge branch '3.0' into fix/TD-20140 2022-11-04 09:44:28 +08:00
Haojun Liao 9c33d10ad9 refactor: remove the unnecessary function. 2022-11-04 09:15:14 +08:00
Haojun Liao e7d58625b9 fix(query): add memset after malloc memory. 2022-11-04 09:09:37 +08:00
Shengliang Guan a2692a3d4e
Merge pull request #17878 from taosdata/fix/handleTransExcept
fix: handle trans except
2022-11-04 09:07:36 +08:00
dapan1121 9ce099a2cf Merge remote-tracking branch 'origin/3.0' into enh/TD-19920 2022-11-04 08:51:43 +08:00
Haojun Liao 869b49158d test: disable unit test. 2022-11-03 22:05:55 +08:00
Haojun Liao abfa8c1d87 fix(query): add api to memset buffer for filtering data. 2022-11-03 22:05:08 +08:00
yihaoDeng 69afe77ed9 add req_id interface 2022-11-03 20:08:30 +08:00
Haojun Liao 0315414623 other: merge 3.0 2022-11-03 19:03:09 +08:00
Haojun Liao 4959529127 fix(query): set the last key of each tablescan info 2022-11-03 19:00:13 +08:00
Ganlin Zhao a0e13e04fe fix(query): add mode with selectivity rows 2022-11-03 18:27:43 +08:00
Shengliang Guan 0a45e80613
Merge pull request #17875 from taosdata/fix/TD-20125-2
fix: reset last load info when close dataf reader for stt last files
2022-11-03 17:05:17 +08:00
yihaoDeng 2c4d90aad4 handle trans except 2022-11-03 16:55:48 +08:00
dapan1121 ae5f6ef175 enh: add show rewrite mask in query msg 2022-11-03 16:28:48 +08:00
Shengliang Guan 33d64b67ff
Merge pull request #17865 from taosdata/feature/stream
refactor(stream): stream deploy and state transfer
2022-11-03 15:24:39 +08:00
Shengliang Guan c392abb0ad
Merge pull request #17869 from taosdata/feature/3.0_mhli
refactor(sync): add syncIsReadyForRead
2022-11-03 15:23:34 +08:00
Minglei Jin 93190003a3 fix: reset last load info when close dataf reader for stt last files 2022-11-03 15:19:21 +08:00
dapan1121 62ca522b80
Merge pull request #17861 from taosdata/fix/TD-20086
fix: fix taosd memory leak issue
2022-11-03 15:05:57 +08:00
Ganlin Zhao 0b3a3aff21 fix hll tsCountAlwaysReturnValue not working 2022-11-03 15:01:52 +08:00
Minghao Li 0838afaa18 refactor(sync): add syncIsReadyForRead, set error code 2022-11-03 14:35:42 +08:00
Liu Jicong 31f574359d fix:log empty msg 2022-11-03 14:29:51 +08:00
Minghao Li a4b54c4f0e refactor(sync): add syncIsReadyForRead 2022-11-03 13:57:57 +08:00
Shengliang Guan 6cef3fa4fa
Merge pull request #17856 from taosdata/feature/3.0_mhli
enh(sync): add sync pre stop, local-cmd:follower-commit
2022-11-03 13:40:35 +08:00
Liu Jicong 15ad147c40 Merge branch '3.0' into feature/stream 2022-11-03 13:37:59 +08:00
Liu Jicong 2fbc8e6306 refactor(stream): stream deploy and state transfer 2022-11-03 13:22:23 +08:00
Ganlin Zhao 49715a2898 Revert "add client side config for select count(NULL)"
This reverts commit e20d0038b4.
2022-11-03 12:52:04 +08:00
Shengliang Guan df53e7591d
Merge pull request #17857 from taosdata/fix/TD-20095
refact: add sequence for status msg
2022-11-03 12:23:27 +08:00
Minghao Li 1fc79e289d refactor(sync): modify leader transfer 2022-11-03 11:50:24 +08:00
dapan1121 499a266daf
Merge pull request #17855 from taosdata/fix/TD-20087
fix: fix tbname in crash issue
2022-11-03 11:48:31 +08:00
dapan1121 d282e511e3 fix: fix taosd memory leak issue 2022-11-03 11:47:15 +08:00
Shengliang Guan e61829856a
Merge pull request #17852 from taosdata/fix/TD-20125
fix: set fs and last dataf reader to null when resetting
2022-11-03 11:31:34 +08:00
Ganlin Zhao e20d0038b4 add client side config for select count(NULL) 2022-11-03 11:12:27 +08:00
Shengliang Guan 843e17744e refact: add sequence for status msg 2022-11-03 10:57:20 +08:00
Haojun Liao 7a14bc05ea fix(query): fix some issues about the initialization of SColumnInfoData. 2022-11-03 10:57:05 +08:00
Haojun Liao e83159f0d9 refactor: increase the buffer for each agg operator, and make the pointer attributes in SColumnInfoData to be aligned to 8bit in memory to speedup the execution of memmove & memset. 2022-11-03 10:47:55 +08:00
dapan1121 4039e99d96
Merge pull request #17816 from taosdata/fix/TD-19686
fix: return err code when query fail
2022-11-03 10:45:54 +08:00
Shengliang Guan 0b69a23220 Merge remote-tracking branch 'origin/3.0' into fix/TD-20095 2022-11-03 10:42:57 +08:00
Shengliang Guan 108b9ffed6 refact: add sequence for status msg 2022-11-03 10:42:33 +08:00
Ganlin Zhao 5fffeba2f3 fix(query): fix countAlwaysReturnValue param not taking effect for
count and hyperloglog function

TD-20140
2022-11-03 10:39:53 +08:00
Haojun Liao 53e1c19acb enh(query): remove the memset. 2022-11-03 10:28:52 +08:00
Minghao Li 102969086d refactor(sync): add local-cmd:follower-commit 2022-11-03 10:25:38 +08:00
dapan1121 2bf5b0405d
Merge pull request #17851 from taosdata/enh/TD-19956
enh: optimize submit response message
2022-11-03 10:19:39 +08:00
dapan1121 1eef25620d fix: fix tbname in crash issue 2022-11-03 10:09:36 +08:00
Haojun Liao 9f5a0f01ea Merge branch '3.0' into fix/liao_cov 2022-11-03 10:02:23 +08:00
Haojun Liao 11c4878ca1 refactor(query): do some internal refactor. 2022-11-03 10:01:11 +08:00
Minghao Li 1a4b7622e4 enh(sync): add sync pre stop 2022-11-03 09:39:20 +08:00
Shengliang Guan 54717721c0
Merge pull request #17850 from taosdata/szhou/fixbugs
fix: taos_fetch_row returns null and log the error when the argument is invalid
2022-11-03 09:30:31 +08:00
Shengliang Guan 9de4bfb230
Merge pull request #17834 from taosdata/fix/liao_cov
fix(query): update the lastkey for each table during table scanning.
2022-11-03 09:29:55 +08:00
Shengliang Guan 3a4101f724
Merge pull request #17849 from taosdata/fix/TD-20095
fix: status access time error
2022-11-03 09:29:22 +08:00
Minglei Jin 0bbe049e58 fix: set fs and last dataf reader to null when resetting 2022-11-03 09:14:51 +08:00
dapan1121 f00d69333d fix: fix hb register crash issue 2022-11-03 08:42:56 +08:00
shenglian zhou f72c875a02 fix: taos_fetch_row returns null and log the error when the argument is invalid 2022-11-03 07:55:47 +08:00
Haojun Liao fc20be8699 fix(query): get if the correct rows in last block exists, and set the correct flag to denote if the last blocks index have been loaded or not. 2022-11-02 22:27:23 +08:00
Shengliang Guan 794bca7974
Merge pull request #17848 from taosdata/fix/handleTcpExcept
fix: handle tcp except
2022-11-02 21:57:46 +08:00
Shengliang Guan 0d60817268
Merge pull request #17837 from taosdata/feature/3.0_mhli
refactor(sync): add pre snapshot
2022-11-02 21:11:22 +08:00
yihaoDeng fd3ece836a fix invalid copy 2022-11-02 21:05:53 +08:00
yihaoDeng ff16c4368f handle tcp except 2022-11-02 20:12:03 +08:00
Shengliang Guan b98e3f343d fix: status access time error 2022-11-02 18:57:38 +08:00
Shengliang Guan 1bae78464c
Merge pull request #17842 from taosdata/fix/TD-20128
fix: failed to read sdb while udf larger then 10M
2022-11-02 18:37:59 +08:00
dapan1121 2779fe56a7 fix: fix auto create table issue in stmt 2022-11-02 18:34:25 +08:00
dapan1121 079704599c
Merge pull request #17840 from taosdata/feature/TD-19844
fix(function):if data is null, apercentile function should return null
2022-11-02 17:57:09 +08:00
dapan1121 83fc35c8ee
Merge pull request #17841 from taosdata/fix/TS-1965-new
fix: fix reverse table scan when checking if block from file overlap with skyline deletion result error
2022-11-02 17:56:09 +08:00
Shengliang Guan 5625ea9f2a fix: failed to read sdb while udf larger then 10M 2022-11-02 17:09:53 +08:00
Shengliang Guan f2e1bd55d3 fix: failed to read sdb while udf larger then 10M 2022-11-02 17:08:15 +08:00
Ganlin Zhao 215257f7f1 fix: fix reverse table scan when checking if block from file overlap
with skyline deletion result error
2022-11-02 16:58:36 +08:00
Shengliang Guan f0ebaaadeb
Merge pull request #17835 from taosdata/fix/TD-20127
refact: adjust error code in vnode
2022-11-02 16:42:04 +08:00
54liuyao 43918a27f9 fix(function):if data is null, apercentile function should return null 2022-11-02 16:37:23 +08:00
Shengliang Guan 77a6cf503e
Merge pull request #17824 from taosdata/FIX/TS-1984-3.0
fix: set firstTrial as false if error encountered in loop of walScanLogGetLastVer
2022-11-02 15:49:48 +08:00
Shengliang Guan 5276b72e46
Merge pull request #17826 from taosdata/fix/TD-20116
fix: address sanitizer divide by zero error
2022-11-02 15:44:21 +08:00
Minghao Li 70aff8451f refactor(sync): add pre snapshot 2022-11-02 15:38:30 +08:00
Shengliang Guan b5f0041af1 refact: adjust error code in vnode 2022-11-02 15:28:32 +08:00
Minghao Li f7191d2ffd refactor(sync): add pre snapshot 2022-11-02 15:25:14 +08:00
dapan1121 ecfcf7054c enh: optimize submit response msg 2022-11-02 15:18:32 +08:00
Haojun Liao ecad94c419 fix(query): add one more check. 2022-11-02 14:59:34 +08:00
Haojun Liao f83b863cf9 fix(query): update the lastkey for each table during table scanning. 2022-11-02 14:36:00 +08:00
Shengliang Guan 801ae02d0a
Merge pull request #17830 from taosdata/fix/TD-20095
fix: add dnode status log
2022-11-02 13:30:04 +08:00
Shengliang Guan 59ae60f223
Merge pull request #17827 from taosdata/fix/sync
fix(sync): delete assert
2022-11-02 13:29:56 +08:00
Shengliang Guan 8009259270
Merge pull request #17829 from taosdata/fix/TD-20117
fix: set output value to null if zero-length
2022-11-02 13:29:28 +08:00
Shengliang Guan 21748defea Merge remote-tracking branch 'origin/3.0' into fix/TD-20095 2022-11-02 11:49:34 +08:00
Shengliang Guan 00c37cf1b8 Merge remote-tracking branch 'origin/fix/sync' into fix/TD-20095 2022-11-02 11:49:27 +08:00
Minglei Jin 451b6a451d fix: set output value to null if zero-length 2022-11-02 11:47:58 +08:00
Minghao Li dccbe25aa9 fix(sync): delete assert 2022-11-02 11:24:42 +08:00
Shengliang Guan b2e3c7800f
Merge pull request #17813 from taosdata/feature/3_liaohj
fix(query): optimize the performance of tsdbread.
2022-11-02 11:23:29 +08:00
Shengliang Guan 17e3c59aeb fix: add dnode status log 2022-11-02 11:21:13 +08:00
Ganlin Zhao 6667f69146 fix address sanitizer divide by zero error
TD-20116
2022-11-02 10:27:00 +08:00
Shengliang Guan 1c77d5381a Merge remote-tracking branch 'origin/3.0' into fix/TD-20052 2022-11-02 10:26:19 +08:00
Shengliang Guan 7a537bba09 refact: adjust sync.h and syncState 2022-11-02 10:24:55 +08:00
benguang.zhao 8a5130a88d fix: set firstTrial as false if error encountered in loop of walScanLogGetLastVer 2022-11-02 10:21:40 +08:00
yihaoDeng 7fba18bbbd merge 2022-11-02 09:50:55 +08:00
Haojun Liao c3ece576f2 Merge branch '3.0' into feature/3_liaohj 2022-11-02 09:13:13 +08:00
Shengliang Guan c4d59126d7
Merge pull request #17805 from taosdata/szhou/fixbugs
fix: fix address sanitizer error
2022-11-02 09:09:32 +08:00
dapan1121 c19a915ec3
Merge pull request #17809 from taosdata/feature/TD-20100
fix(executor): Batch Partition Operator memory leak
2022-11-02 09:07:32 +08:00
Shengliang Guan 15308ad140
Merge pull request #17820 from taosdata/fix/msg_compat
fix(vnode): ignore unhandled msg
2022-11-02 08:37:08 +08:00
Haojun Liao 698ae90e5b fix(query): set correct value in hash map reset. 2022-11-01 23:37:51 +08:00
yihaoDeng 12be1a8b22 merge 2022-11-01 21:47:58 +08:00
Haojun Liao b610b23981 fix(query): check for null value. 2022-11-01 21:47:12 +08:00
Liu Jicong a0910c87f7 fix(vnode): ignore unhandled msg 2022-11-01 21:23:50 +08:00
Shengliang Guan a2abb3a411
Merge pull request #17817 from taosdata/fix/msg_compat
fix: msg compatibility
2022-11-01 21:10:46 +08:00
Shengliang Guan cec6642700
Merge pull request #17811 from taosdata/feature/stream
fix(tmq): handle adding subtable for subscribing stb
2022-11-01 21:09:43 +08:00
Shengliang Guan fee43064f7
Merge pull request #17812 from taosdata/fix/TD-20052
enh: refact sync callback func
2022-11-01 21:09:00 +08:00
Liu Jicong 411373a7c5 fix: msg compatibility 2022-11-01 20:02:17 +08:00
Shengliang Guan 0578d034bc
Merge pull request #17810 from taosdata/fix/TD-20028
fix: remove last stt load info resetting from fs iterator
2022-11-01 19:36:12 +08:00
Liu Jicong f0a66602da fix(taosx): set version 2022-11-01 19:28:42 +08:00
yihaoDeng f8695563f0 fix TD-19686 2022-11-01 19:27:35 +08:00
yihaoDeng fafdfc73ca fix TD-19686 2022-11-01 19:13:07 +08:00
Shengliang Guan 871757240a
Merge pull request #17777 from taosdata/FIX/TS-1984-3.0
fix: fsync wal files and meta if data size not synced yet beyond a threshold
2022-11-01 18:53:10 +08:00
Haojun Liao 026b82145e Merge branch '3.0' into feature/3_liaohj 2022-11-01 18:49:51 +08:00
Haojun Liao 68db9b1cc9 fix(query): optimize the performance of tsdbread. 2022-11-01 18:48:57 +08:00
Shengliang Guan df2c443a80
Merge pull request #17807 from taosdata/fix/TD-20097
fix: wrong cpu usage
2022-11-01 18:35:28 +08:00
Shengliang Guan 64633e3dbb enh: refact syncMsg code 2022-11-01 18:34:09 +08:00
Liu Jicong 60bb2c18dc Merge branch '3.0' into feature/stream 2022-11-01 18:19:15 +08:00
Liu Jicong 94e7c79ca0 fix(tmq): handle adding subtable for subscribing stb 2022-11-01 18:18:26 +08:00
benguang.zhao 4e46b78aa0 fix: update info of WAL entry found within loop in walScanLogGetLastVer 2022-11-01 17:56:24 +08:00
Minglei Jin a5052eb2d5 fix: remove last stt load info resetting from fs iterator 2022-11-01 17:29:18 +08:00
benguang.zhao 3c1c95c5e6 enh: turn error on WAL data size to recover exceeding a limit as warn 2022-11-01 17:26:31 +08:00
54liuyao a1c4572ad8 fix(executor): Batch Partition Operator memory leak 2022-11-01 17:25:05 +08:00
benguang.zhao 4237cafb21 enh: rename walRecoverSizeLimit to walFsyncDataSizeLimit 2022-11-01 17:19:33 +08:00
Shengliang Guan ee63b49800 Merge remote-tracking branch 'origin/3.0' into fix/TD-20052 2022-11-01 17:11:27 +08:00
Shengliang Guan d53ab62f00
Merge pull request #17797 from taosdata/fix/td_19618
fix: invalid read problem of tsdb path
2022-11-01 16:46:58 +08:00
Shengliang Guan 18f7d658d9
Merge pull request #17804 from taosdata/feature/3_liaohj
refactor: add some logs.
2022-11-01 16:46:24 +08:00
Shengliang Guan a71dbd83d2
Merge pull request #17803 from taosdata/fix/TD-20052
enh: refact syncMsg code
2022-11-01 16:45:56 +08:00
Shengliang Guan 92b1c12330 fix: wrong cpu usage 2022-11-01 16:38:52 +08:00
Shengliang Guan 68f1641991
Merge pull request #17800 from taosdata/feature/stream
refactor(stream): fill history
2022-11-01 16:15:07 +08:00
Shengliang Guan d35028ae4a enh: refact sync callback func 2022-11-01 16:10:07 +08:00
dapan1121 8f95861d61
Merge pull request #17793 from taosdata/fix/TD-19891
fix(query): leastsquares handles unsigned types
2022-11-01 15:54:35 +08:00
benguang.zhao ffa6906a9f Merge branch 'FIX/TS-1984-3.0' of github.com:taosdata/TDengine into FIX/TS-1984-3.0 2022-11-01 15:52:25 +08:00
Liu Jicong 92804d317e Merge branch '3.0' into feature/stream 2022-11-01 15:47:37 +08:00
Shengliang Guan 7a532284e7
Merge pull request #17784 from taosdata/fix/liao_cov
enh(query): improve the aggregate performance.
2022-11-01 15:41:03 +08:00
Shengliang Guan f4dc7d0766 enh: refact sync callback func 2022-11-01 15:35:10 +08:00
benguang.zhao 6907e3dfe3 enh: scan forward step by step in walScanLogGetLastVer 2022-11-01 15:25:18 +08:00
Minghao Li 59448cd18e refactor(sync): pre snapshot on message 2022-11-01 15:20:08 +08:00
Cary Xu 872085bef4 fix: add TD_PATH_MAX to support multi-platform 2022-11-01 15:18:26 +08:00
Shengliang Guan 2791f6260a
Merge pull request #17794 from taosdata/fix/3.0_bugfix_wxy
fix: drop index error
2022-11-01 15:03:21 +08:00
slzhou 1c90e272c3 fix: uv_get_osenv set length only when no buf 2022-11-01 15:00:13 +08:00
Haojun Liao cff5d9295e refactor: add some logs. 2022-11-01 15:00:02 +08:00
slzhou ad8bc4c687 fix: fix address sanitizer error 2022-11-01 14:55:04 +08:00
Cary Xu 65943b3712 chore: revert the code change 2022-11-01 14:51:37 +08:00
Shengliang Guan a031010a9e
Merge pull request #17721 from taosdata/FIX/TD-19673-3.0
enh: check completeness of WAL log entries after repairing
2022-11-01 13:59:34 +08:00
Shengliang Guan e79e50ae36 enh: refact syncMsg code 2022-11-01 13:58:25 +08:00
Haojun Liao b78249c548 other: merge 3.0 2022-11-01 13:52:08 +08:00
Haojun Liao 83495ed5d3 fix(query): set the correct buffer to accommodate the tag values. 2022-11-01 13:49:02 +08:00
dapan1121 801d65cb9a
Merge pull request #17789 from taosdata/fix/TD-20027-D
fix(query): set search key according to order
2022-11-01 13:48:19 +08:00
Shuduo Sang 7a8c2efbc3
fix: add jemalloc as build dependency of taosd, udf and shell (#17785)
* fix: jemalloc compile error

* fix: jemalloc compile error

* fix: add jemalloc as dependency of taosd and udf

Co-authored-by: afwerar <1296468573@qq.com>
2022-11-01 13:44:04 +08:00
Liu Jicong 5ff701ef1d fix(query):reset tsdb reader 2022-11-01 13:35:23 +08:00
Xiaoyu Wang 1b179f65b2 fix: interp _irowts error 2022-11-01 13:34:10 +08:00
dapan1121 bb4acf21b4
Merge pull request #17799 from taosdata/enh/TD-20040
enh: support get meta only from cache
2022-11-01 13:27:11 +08:00
Liu Jicong 8ca5f0bd9c Merge branch '3.0' into feature/stream 2022-11-01 13:20:20 +08:00
Liu Jicong 5e253cc8ea refactor(stream): fill history 2022-11-01 11:56:14 +08:00
Minghao Li 21d60cb5be refactor(sync): pre snapshot on message 2022-11-01 11:46:29 +08:00
Cary Xu 0b6d117121 fix: add TD_PATH_MAX to support multi-platform 2022-11-01 11:44:17 +08:00
dapan1121 973a942d0f enh: support get meta only from cache 2022-11-01 11:43:40 +08:00
Xiaoyu Wang 6547dbd2a7 fix: interp _irowts error 2022-11-01 11:30:44 +08:00
Minghao Li fd07a611a9 refactor(sync): add some log 2022-11-01 11:30:40 +08:00
Shengliang Guan 2990a127cb enh: add config for persist wal at the beginning of vnodeCommit 2022-11-01 11:29:02 +08:00
Shengliang Guan a2d11e0fdb enh: add config for persist wal at the beginning of vnodeCommit 2022-11-01 11:27:28 +08:00
Minghao Li 3fbb51346b refactor(sync): modify syncEnvTest 2022-11-01 10:52:25 +08:00
Cary Xu 9f14c599f2 fix: add TD_PATH_MAX to support multi-platform 2022-11-01 10:49:27 +08:00
Minghao Li 094c14e272 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-11-01 10:47:42 +08:00
Minghao Li 69af9556db refactor(sync): add PreSnapshotReply 2022-11-01 10:47:19 +08:00
Shengliang Guan 1724aa5638
Merge pull request #17779 from taosdata/fix/sync
refactor(sync): check msgcb, putToQueueFp NULL
2022-11-01 10:43:56 +08:00
Shengliang Guan 26778f29da enh: add config for persist wal at the beginning of vnodeCommit 2022-11-01 10:42:13 +08:00
Shengliang Guan 4137b3dd06
Merge pull request #17792 from taosdata/fix/TD-20052
refact: adjust syncEnv code
2022-11-01 10:30:03 +08:00
Minghao Li 981461ea46 refactor(sync): add PreSnapshotTest 2022-11-01 10:25:31 +08:00
Cary Xu 2e950c6696 chore: comment out tfs_test and dbTest 2022-11-01 10:06:09 +08:00
dapan1121 8803240766
Merge pull request #17781 from taosdata/szhou/fixbugs
enhance: add configuration for udfd LD_LIBRARY_PATH to taos.cfg
2022-11-01 10:05:35 +08:00
dapan1121 94ae554445
Merge pull request #17757 from taosdata/opt/httpModule
enh: opt http module
2022-11-01 10:05:06 +08:00
Cary Xu 64f07523e2 Merge branch '3.0' into fix/td_19618 2022-11-01 10:02:45 +08:00
Xiaoyu Wang be467a10c7 fix: drop index error 2022-11-01 09:36:33 +08:00
dapan1121 bfdecae3bd
Merge pull request #17786 from taosdata/feature/TD-19975
fix(stream): scalar stream update data
2022-11-01 09:17:37 +08:00
Haojun Liao e533794cb7 Merge branch '3.0' into fix/liao_cov 2022-11-01 09:08:46 +08:00
Shengliang Guan fbb1fa5303 enh: refact syncEnv code 2022-11-01 09:02:48 +08:00
slzhou b02e2ff9a4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-11-01 08:59:15 +08:00
slzhou 4356fbc3c5 fix: error of setting ld_library_path 2022-11-01 08:58:52 +08:00
benguang.zhao 07db554fab enh: persist wal at the beginning of vnodeCommit 2022-11-01 00:00:18 +08:00
benguang.zhao cccfa17027 fix: fsync wal files and their meta if data size unsynced exceeds a limit 2022-10-31 23:58:49 +08:00
Shengliang Guan 91abd170e3 enh: refact syncEnv code 2022-10-31 23:45:17 +08:00
Shengliang Guan 9bc48e2658 Merge remote-tracking branch 'origin/3.0' into fix/TD-20052 2022-10-31 23:42:03 +08:00
Shengliang Guan 392564cc7d enh: refact syncEnv code 2022-10-31 23:40:43 +08:00
Shengliang Guan 1c446b1bf4 Merge branch '3.0' into fix/sync 2022-10-31 23:30:24 +08:00
Shengliang Guan e817e649c6
Merge pull request #17788 from taosdata/enh/TD-19090
enh: force drop dnode
2022-10-31 23:27:54 +08:00
Haojun Liao c17a921a03 fix(query): set the correct buffer to accommodate the tag values. 2022-10-31 23:19:40 +08:00
Shengliang Guan 26f1e64f2a enh: force drop dnode 2022-10-31 21:33:06 +08:00
benguang.zhao 9652029121 fix: update testcases of walRollback in walMetaTest.cpp 2022-10-31 21:08:54 +08:00
benguang.zhao 1d0eae197d fix: not allow to rollback WAL across snapshot point 2022-10-31 21:06:23 +08:00
Shengliang Guan 8cdbcb89f5
Merge pull request #17762 from taosdata/fix/memReturn
enh: return mem to os
2022-10-31 20:12:22 +08:00
Shengliang Guan a0c7b7d512
Merge pull request #17772 from taosdata/feature/TD-19893
fix(planner):add semantic check
2022-10-31 20:08:21 +08:00
Shengliang Guan f32d347bb8
Merge pull request #17778 from taosdata/feature/3.0_mhli
refactor(sync): add sync local cmd, step down
2022-10-31 20:05:01 +08:00
Cary Xu 8a5f94d35c fix: set search key according to order 2022-10-31 20:03:21 +08:00
Shengliang Guan 1ad604a5f9 enh: force drop dnode 2022-10-31 19:57:27 +08:00
Haojun Liao 1fd3ad502a fix(query): ensure the capacity before loading tags value. 2022-10-31 19:01:28 +08:00
yihaoDeng d21d88becc opt http module 2022-10-31 18:50:19 +08:00
yihaoDeng 06c06d290f opt http module 2022-10-31 18:45:10 +08:00
Liu Jicong 2e640c38a2 refactor: stream and tmq message 2022-10-31 18:37:28 +08:00
54liuyao b8e451d272 fix(stream): scalar stream update data 2022-10-31 18:33:30 +08:00
Minghao Li d246514da2 refactor(sync): check msgcb, putToQueueFp NULL 2022-10-31 18:16:58 +08:00
Hui Li 5202ccfbba
Merge pull request #17780 from taosdata/feature/3_liaohj
fix(query): set correct error code.
2022-10-31 18:05:48 +08:00
Haojun Liao f29127a15e ehn(query): do some internal refactor. 2022-10-31 18:04:58 +08:00
Haojun Liao 1fa5eafa8a ehn(query): keep the time window for each block to avoid repeatly parsing the compressed data block meta info. 2022-10-31 17:49:50 +08:00
Shengliang Guan 7ddde569a0 enh: force drop dnode 2022-10-31 17:29:24 +08:00
Haojun Liao fac516a196 refactor: do some internal refactor. 2022-10-31 17:20:27 +08:00
Haojun Liao 9703ab510b enh(query): avoid parse the mapdata to improve the performance by keep the offset of each block. 2022-10-31 17:19:15 +08:00