Commit Graph

16959 Commits

Author SHA1 Message Date
Xiaoyu Wang e8c0515dce enh: flag of whether the subplan is added as a show statement 2022-10-28 10:46:04 +08:00
Haojun Liao 2c896012df fix(query): check status before add table uid in hash map. and do some other refactor. 2022-10-28 10:43:25 +08:00
Haojun Liao f25387018d
Merge pull request #17724 from taosdata/fix/liao_cov
fix(query): handle the case of the single block in last files.
2022-10-28 10:25:38 +08:00
Shengliang Guan 5101d21551 fix: compile error 2022-10-28 10:17:48 +08:00
Xiaoyu Wang 5da335ff67 fix: push down limit 2022-10-28 09:36:14 +08:00
Liu Jicong 9b1ba10fbc Merge branch '3.0' into feature/stream 2022-10-28 09:18:59 +08:00
Haojun Liao 70c3825ee5 fix(query): remove invalid check. 2022-10-28 09:12:40 +08:00
yihaoDeng f8e0ff86d3 opt mem 2022-10-28 08:48:52 +08:00
yihaoDeng 29dedb5c8c opt mem 2022-10-27 23:18:04 +08:00
Haojun Liao 4774baa635 fix(query): handle the case of the single block in last files. 2022-10-27 22:43:42 +08:00
yihaoDeng 07d8ece370 opt mem 2022-10-27 22:19:47 +08:00
Haojun Liao e7b59ae56d fix(query): handle the case of the single block in last files. 2022-10-27 21:51:54 +08:00
yihaoDeng 9de0afc8ea opt mem 2022-10-27 21:22:36 +08:00
yihaoDeng 6a978be730 opt mem 2022-10-27 20:38:57 +08:00
dapan1121 b6068fd9d9 enh: add catalog ut cases 2022-10-27 19:33:00 +08:00
Haojun Liao d8102fc8d8 fix(query): fix invalid number of tables check. 2022-10-27 18:58:10 +08:00
Haojun Liao a7ca29c627 other: merge 3.0 2022-10-27 18:04:28 +08:00
Minghao Li d7c866ee12 enh(sync): add test 2022-10-27 17:59:16 +08:00
Shengliang Guan 5240814261 test: improve coverall 2022-10-27 17:45:50 +08:00
Minghao Li 54dfc8cd52 enh(sync): add test 2022-10-27 17:38:33 +08:00
Shengliang Guan 4e190d9702
Merge pull request #17713 from taosdata/enh/TD-19459
test: restore some cases
2022-10-27 17:35:01 +08:00
dapan1121 b6326c7f14
Merge pull request #17710 from taosdata/fix/TD-19815
fix: add query heartbeat configuration
2022-10-27 17:33:27 +08:00
Minghao Li 8b5d005db7 refactor(sync): add SyncLocalCmd 2022-10-27 17:16:46 +08:00
Haojun Liao 5a971dd03a fix(query): handle partition by in table scan operator with limit/offset value. 2022-10-27 16:58:32 +08:00
Liu Jicong 70311d95dd refactor(vnode): add log for failed deletion 2022-10-27 16:45:40 +08:00
Liu Jicong 5abeacc299
Merge pull request #17711 from taosdata/feature/stream
refactor(mnode): remove unused code
2022-10-27 16:41:09 +08:00
Minghao Li bbb624b63e Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-10-27 16:22:08 +08:00
Minghao Li 7cb3112d77 refactor(sync): modify function name 2022-10-27 15:52:48 +08:00
Shengliang Guan 8f88339988
Merge pull request #17709 from taosdata/feature/3.0_mhli
refactor(sync): delete some code
2022-10-27 15:39:38 +08:00
Shengliang Guan fe31be0640
Merge pull request #17708 from taosdata/enh/TD-19459
enh: drop dnode
2022-10-27 15:37:11 +08:00
Liu Jicong dcf2c980c5 refactor(mnode): remove unused code 2022-10-27 15:32:20 +08:00
Shengliang Guan 4844b9158e test: add replica case 2022-10-27 15:29:03 +08:00
dapan1121 6c2a0c8737 fix: fix catalog ut issues and add query hb configuration 2022-10-27 15:15:50 +08:00
Shengliang Guan 8b31cd87d1
Merge pull request #17706 from taosdata/feature/stream_ly
fix(stream): read preversion data with delete many times
2022-10-27 15:05:23 +08:00
Shengliang Guan ff428696d5 enh: drop snode 2022-10-27 15:03:18 +08:00
Minghao Li a8109b7f37 refactor(sync): delete some code 2022-10-27 14:43:07 +08:00
Shengliang Guan e7693b89ce enh: balance vgroup 2022-10-27 14:37:21 +08:00
54liuyao 012dd30baa fix(stream): read preversion data with delete many times 2022-10-27 14:18:48 +08:00
Shengliang Guan a0c5cece12
Merge pull request #17697 from taosdata/feature/stream_ly
fix(stream): read preversion data for delete
2022-10-27 14:01:08 +08:00
Liu Jicong 320202e60e Merge branch '3.0' into feature/stream 2022-10-27 13:49:56 +08:00
Liu Jicong 52d8f7bd35
Merge pull request #17701 from taosdata/feature/stream
fix(query): set block capacity
2022-10-27 13:38:46 +08:00
Shengliang Guan 08aa82295b
Merge pull request #17694 from taosdata/fix/sync
fix(sync): fix coverity issues
2022-10-27 13:20:57 +08:00
Shengliang Guan 14519019f7 enh: balance vgroup 2022-10-27 11:10:54 +08:00
Liu Jicong 6cd8361a0a refactor(sma) 2022-10-27 11:06:16 +08:00
54liuyao 442f89783f fix(stream): read preversion data for delete 2022-10-27 10:55:32 +08:00
Haojun Liao c5c5b5aa9f
Merge pull request #17662 from taosdata/feature/3_liaohj
enh(query): enable the limit clause to be push down
2022-10-27 10:46:21 +08:00
Liu Jicong fc1b85bba1 fix(query): set block capacity 2022-10-27 10:28:41 +08:00
Shengliang Guan 3b6c636583
Merge pull request #17653 from taosdata/fix/rmDebugLog
fix: rm debug log
2022-10-27 10:14:34 +08:00
Shengliang Guan 4f86c27bd5
Merge pull request #17688 from taosdata/feature/sync2-merge
refactor(sync): check pSyncTimer NULL
2022-10-27 10:13:52 +08:00
Minghao Li e3c055e0c4 fix(sync): fix coverity issues 2022-10-27 10:08:12 +08:00
Shengliang Guan 26aa0f1d37
Merge pull request #17684 from taosdata/fix/TD-19894
fix: continue to fetch next row if deleted
2022-10-27 09:50:41 +08:00
dapan1121 9b475ea7f4
Merge pull request #17680 from taosdata/feature/TD-14761
fix:defects in coverity
2022-10-27 09:07:51 +08:00
Liu Jicong 465982fd8d
Merge pull request #17681 from taosdata/feature/stream
test(wal): rollback multiple file
2022-10-27 09:05:05 +08:00
Liu Jicong 42422b7a65 fix(taosx): reset latest offset 2022-10-26 21:20:35 +08:00
Hui Li 4ac9c3694f
Merge pull request #17669 from taosdata/fix/coverage_glzhao
fix(query): comment out unused functions for code coverage
2022-10-26 20:49:21 +08:00
Hui Li a2fcf51161
Merge pull request #17677 from taosdata/fix/TD-19794-V30
fix(coverage): remove the function about skiplist callback
2022-10-26 20:46:57 +08:00
Hui Li 3d9e07d143
Merge pull request #17679 from taosdata/feature/stream_ly
feat(stream):add ci
2022-10-26 20:46:08 +08:00
dapan1121 42f95ccb85 Merge remote-tracking branch 'origin/3.0' into fix/TD-19815 2022-10-26 19:26:45 +08:00
dapan1121 ba0913e645 fix: remove not used code 2022-10-26 19:25:12 +08:00
Haojun Liao 376e7ea5b9 fix(query): support limit/offset in merge sort operator. 2022-10-26 19:23:05 +08:00
Xiaoyu Wang d93d3b4e63 fix: push down limit 2022-10-26 19:00:08 +08:00
Minglei Jin cb0a3ec042 fix: continue to fetch next row if deleted 2022-10-26 18:39:04 +08:00
Hongze Cheng f3eb9c066a
Merge pull request #17671 from taosdata/fix/remove-batcharraytest
fix: remove tarray's batch remove test
2022-10-26 18:25:36 +08:00
Liu Jicong 2a3448552e test(wal): rollback multiple file 2022-10-26 18:03:25 +08:00
dapan1121 ce7fbaa6b6
Merge pull request #17632 from taosdata/fix/TD-19492
fix: fix scheduler status error
2022-10-26 18:01:53 +08:00
wangmm0220 d212be8a37 fix:defects in coverity 2022-10-26 17:54:19 +08:00
54liuyao 8fb78fd7fd feat(stream):add ci 2022-10-26 17:40:07 +08:00
Xiaoyu Wang 01d790d701 fix: push down limit 2022-10-26 17:31:43 +08:00
Alex Duan 41cdb1e917 fix(coverage): remove the function about skiplist callback 2022-10-26 17:29:49 +08:00
Haojun Liao 81d795c293 fix(query): enable limit in grouped scan. 2022-10-26 17:11:56 +08:00
Liu Jicong 78ff5f75e7
Merge pull request #17663 from taosdata/feature/stream
fix: memory leak
2022-10-26 17:09:43 +08:00
Xiaoyu Wang 02ac6fa552 enh: add unit test and delete useless code 2022-10-26 17:01:55 +08:00
Haojun Liao 8d2de8d723 fix(query): handle the offset value. 2022-10-26 16:25:33 +08:00
wade zhang d3e8ec9342
Merge pull request #17665 from taosdata/fix/TD-19858
fix(query): fix interp crash issue
2022-10-26 16:11:36 +08:00
dapan1121 2b278c16ba fix: fix insert error handling issue 2022-10-26 15:54:07 +08:00
Liu Jicong 4b5807c7f0 fix(tmq): set precision 2022-10-26 15:54:00 +08:00
Minglei Jin 18355ceaa7 fix: remove tarray's batch remove test 2022-10-26 15:28:13 +08:00
Ganlin Zhao 547e7694a8 fix(query): comment out unsed functions for code coverage 2022-10-26 15:06:56 +08:00
Liu Jicong 8dbe7ac377 fix: failed case 2022-10-26 14:02:36 +08:00
Haojun Liao b13e7c150d fix(query): remove invalid code check. 2022-10-26 13:44:53 +08:00
Ganlin Zhao c3362223d9 fix(query): comment out unsed functions for code coverage 2022-10-26 13:39:56 +08:00
Ganlin Zhao 88e5fa75e6 fix(query): fix interp crash issue
TD-19858
2022-10-26 12:43:29 +08:00
Hongze Cheng 2afcda198b
Merge pull request #17657 from taosdata/fix/TD-19865
fix: malloc and copy binary data when inserting last & last_row
2022-10-26 11:54:41 +08:00
Hongze Cheng 309bad6b3b
Merge pull request #17624 from taosdata/szhou/fixbugs
fix: set correct var meta length after tDecodeDataBlock
2022-10-26 11:53:25 +08:00
Liu Jicong a16b010e9f fix: memory leak 2022-10-26 11:35:15 +08:00
Haojun Liao 8cf3339b25 enh(query): enable the limit clause to be push down to the table scan operator. 2022-10-26 11:31:31 +08:00
Hongze Cheng b2affd12b9
Merge pull request #17656 from taosdata/fix/3.0_bugfix_wxy
fix: stream supports 'partition by tbname, column'
2022-10-26 11:16:51 +08:00
Xiaoyu Wang cb41374c90 Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-10-26 11:11:18 +08:00
Liu Jicong b56e7a0f8c
Merge pull request #17650 from taosdata/feature/stream
refactor(stream): recover and fill history
2022-10-26 11:10:03 +08:00
Minghao Li 1ae3cab198 refactor(sync): check pSyncTimer NULL 2022-10-26 10:56:50 +08:00
Minglei Jin 89d74e5016 fix: malloc and copy binary data when inserting last & last_row 2022-10-26 10:52:35 +08:00
Haojun Liao 339c93021f
Merge pull request #17654 from taosdata/fix/liao_cov
refactor: fix typo and do  some internal  refactor.
2022-10-26 10:41:00 +08:00
Liu Jicong 8d8fd2b2bc refactor(stream): recover and fill history 2022-10-26 10:20:33 +08:00
Xiaoyu Wang db75eb8e20 fix: stream supports 'partition by tbname, column' 2022-10-26 10:20:00 +08:00
dapan1121 3fa1f535f1
Merge pull request #17609 from taosdata/fix/interpStable
fix: remove interp stable limitation and add test case
2022-10-26 09:59:42 +08:00
Hongze Cheng 4b15cd5efe
Merge pull request #17621 from taosdata/fix/TD-19468-2
fix: optimize tsdb cache loading speed
2022-10-26 09:47:50 +08:00
Haojun Liao d06bcb2219 refactor: fix typo and do some internal refactor. 2022-10-26 09:47:11 +08:00
yihaoDeng cc03ab2edd rm debug log 2022-10-26 09:23:35 +08:00
Hui Li 29456c06d8
Merge pull request #17649 from taosdata/feature/sync2-merge
refactor(sync): adjust elect timer
2022-10-26 09:20:05 +08:00
slzhou f68f3bcad1 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-10-26 09:19:42 +08:00
Liu Jicong 52b4b510a8 merge 3.0 2022-10-26 09:18:29 +08:00
Minglei Jin b52ad0f740 tsdb/cache: new separate dataf reader for last file reading 2022-10-26 08:58:38 +08:00
dapan1121 e1bb407aff fix: remove catalog ut from ci 2022-10-26 08:36:34 +08:00
Liu Jicong 75e5e490fd refactor(stream): recover and fill history 2022-10-26 00:31:00 +08:00
Shengliang Guan 015db4bc67
Merge pull request #17636 from taosdata/fix/3.0_bugfix_wxy
fix: alter table check
2022-10-26 00:07:11 +08:00
Shengliang Guan 08a85b16ed
Merge pull request #17643 from taosdata/fix/TD-19825
fix: fix merge join crash issue
2022-10-26 00:06:48 +08:00
Minghao Li 7723a9ac28 refactor(sync): delete %ld 2022-10-25 23:17:52 +08:00
Minghao Li 16e6273d9d refactor(sync): delete assert 2022-10-25 20:31:20 +08:00
Shengliang Guan 0522cedccb
Merge pull request #17641 from taosdata/feature/stream_ly
fix(executor):add lock to hash map
2022-10-25 20:20:24 +08:00
Shengliang Guan 02b47daa44
Merge pull request #17639 from taosdata/fix/TD-19743
fix: zero new dest pages to avoid double free ovfl cell
2022-10-25 20:19:55 +08:00
Minghao Li 49af601e19 refactor(sync): add SElectTimer 2022-10-25 19:56:49 +08:00
Minghao Li 9caea0f944 refactor(sync): adjust elect timer 2022-10-25 19:43:07 +08:00
Minghao Li 96a8a80cd7 refactor(sync): add trace log 2022-10-25 19:22:25 +08:00
Minghao Li 01b712fbfd refactor(sync): add trace log 2022-10-25 19:11:28 +08:00
Xiaoyu Wang d63eee8b49 fix: alter table check 2022-10-25 19:00:46 +08:00
Shengliang Guan a2ceb04c79
Merge pull request #17634 from taosdata/fix/TD-19794-V30
fix(util):  improve coverage rate with removing no reference function
2022-10-25 18:25:32 +08:00
Shengliang Guan 77da4a0959
Merge pull request #17637 from taosdata/fix/TD-19827
fix: remove/comment out unused code for more coverage
2022-10-25 18:25:03 +08:00
Shengliang Guan 9520ef4b41
Merge pull request #17613 from taosdata/enh/TD-19460
enh: redistribute vgroup
2022-10-25 18:24:37 +08:00
dapan1121 16f9c172ac fix: fix merge join crash issue 2022-10-25 18:20:20 +08:00
Minghao Li 64f539cacb refactor(sync): adjust timer 2022-10-25 18:03:22 +08:00
54liuyao 796cf764f4 fix(executor):add lock to hash map 2022-10-25 17:54:01 +08:00
Xiaoyu Wang f87209d4dc Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-10-25 17:48:18 +08:00
Minglei Jin 4dc0eaf0be fix: zero new dest pages to avoid double free ovfl cell 2022-10-25 17:48:06 +08:00
Shengliang Guan 414fe9c03d
Merge pull request #17629 from taosdata/feature/stream_ly
fear(stream): add log
2022-10-25 17:46:27 +08:00
Minglei Jin c84618ea3f
Merge branch '3.0' into fix/TD-19468-2 2022-10-25 17:36:56 +08:00
Xiaoyu Wang 658055090a Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-10-25 17:36:29 +08:00
Haojun Liao 0a007131d1
Merge pull request #17631 from taosdata/fix/liao_cov
fix(query):set correct column match info size.
2022-10-25 17:35:19 +08:00
Xiaoyu Wang b7056f58b7 fix: alter table check 2022-10-25 16:59:05 +08:00
Alex Duan b607fe277a fix(util): remove no reference function 2022-10-25 16:46:11 +08:00
Ganlin Zhao 28689c508a remove unused code 2022-10-25 16:45:00 +08:00
Ganlin Zhao 3125f3ea26 remove unused code 2022-10-25 16:42:52 +08:00
Ganlin Zhao 7fa93222f4 remove interp unused code 2022-10-25 16:40:56 +08:00
Ganlin Zhao cf60bf98d6 fix: add elapsed partial/merge 2022-10-25 16:37:01 +08:00
Shengliang Guan 7ebf2d5de0
Merge pull request #17614 from taosdata/opt/optSysIdxPerf
enh: opt sys idx perf
2022-10-25 16:25:47 +08:00
Shengliang Guan 011843d8f4
Merge pull request #17626 from taosdata/feature/sync2-merge
fix(sync): fix coverity scan issues
2022-10-25 16:25:14 +08:00
Shengliang Guan eae23f51ab fix: wait more times if database not ready 2022-10-25 16:23:30 +08:00
dapan1121 5bfedd2609 fix: fix scheduler status error 2022-10-25 16:21:39 +08:00
Haojun Liao 6acdfdd9ab refactor: do some internal refactor. 2022-10-25 16:20:51 +08:00
Xiaoyu Wang efb56e84c8 Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-10-25 15:57:16 +08:00
Shengliang Guan b508c25118 enh: redistribute vgroup 2022-10-25 15:55:19 +08:00
Haojun Liao a87f915ebf fix(query):set correct column match info size. 2022-10-25 15:30:41 +08:00
slzhou bf0a93e8d0 fix: compute udf funcs with all const arguments on server side 2022-10-25 15:24:13 +08:00
54liuyao d9615c7d4c fear(stream): add log 2022-10-25 15:17:42 +08:00
slzhou 90ed32c43d fix: fix memory usage error 2022-10-25 15:16:31 +08:00
Alex Duan 88b7ad91dc fix(all): improve coverage rate 2022-10-25 14:58:26 +08:00
slzhou c3653e3d13 fix: udfd ctrl pipe functions only udfd is started by taosd 2022-10-25 14:57:53 +08:00
Xiaoyu Wang bd3c64d29e enh: interp support for stable 2022-10-25 14:52:07 +08:00
Minghao Li eb7b9d3819 fix(sync): fix coverity scan issues 2022-10-25 14:28:34 +08:00
Shengliang Guan 20a279e69a
Merge pull request #17605 from taosdata/fix/3.0_bugfix_wxy
fix: wrong permissions of 'show variables' command
2022-10-25 14:17:06 +08:00
slzhou bc0f120fb0 fix: set values before add it to array 2022-10-25 14:16:31 +08:00