Commit Graph

833 Commits

Author SHA1 Message Date
Haojun Liao 60188e82a6 fix(query): fix coverity issue. 2023-02-28 13:42:19 +08:00
dapan1121 77295df8ec
Merge pull request #20161 from taosdata/fix/TS-2729
fix: table scan crash issue
2023-02-26 07:45:17 +08:00
dapan1121 50ee40308b fix: realloc uid list 2023-02-25 16:10:48 +08:00
dapan1121 10e35f1ed0 fix: free pointer issue 2023-02-25 14:15:24 +08:00
Xiaoyu Wang 5856a39827
Merge pull request #20123 from taosdata/fix/3.0_merge_main
merge main
2023-02-25 10:01:26 +08:00
dapan1121 05bd600ef8 fix: table scan crash issue 2023-02-25 09:34:37 +08:00
Hui Li 965d91572a
Merge pull request #20148 from taosdata/fix/3_coverity
fix(query): fix syntax errors on centos.
2023-02-24 17:39:12 +08:00
Xiaoyu Wang 961107d1ca merge main 2023-02-24 16:55:50 +08:00
Haojun Liao 6120c73aaa
Merge pull request #20122 from taosdata/enh/TD-22715
fix: fix distributed table error
2023-02-24 16:44:43 +08:00
Xiaoyu Wang 58fc265b80 merge main 2023-02-24 13:26:45 +08:00
Haojun Liao 22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
Haojun Liao 97024f1468 fix(query): fix coverity issue. 2023-02-24 09:48:34 +08:00
Xiaoyu Wang 1ab144609e merge main 2023-02-23 14:58:22 +08:00
yihaoDeng 7d75939fae fix: fix invalid dist count 2023-02-23 14:35:05 +08:00
Haojun Liao 4432ae51e6
Merge branch 'main' into fix/liaohj 2023-02-23 09:04:32 +08:00
dapan1121 5a587d15f3 fix: taosd crash issue 2023-02-22 17:12:08 +08:00
Haojun Liao 8532de31cf refactor: remove assert. 2023-02-22 14:32:39 +08:00
Haojun Liao 82067f3bd2 fix(query): fix coverity issues. 2023-02-22 13:38:13 +08:00
Xiaoyu Wang 9370d67e43 fix: tsdb reader resume 2023-02-21 09:43:56 +08:00
Xiaoyu Wang c597de099f merge main 2023-02-20 13:41:27 +08:00
Haojun Liao 7fe250412f refactor:do some internal refactor. 2023-02-20 10:13:11 +08:00
Haojun Liao 8d187efc18 refactor:do some internal refactor. 2023-02-20 10:04:08 +08:00
Haojun Liao cb35b453d4
Merge pull request #19870 from taosdata/feature/3_liaohj
other: merge opt to main.
2023-02-15 12:55:04 +08:00
Haojun Liao c1e7b3be66 fix(query): 1. reset the pointer, when initialize the reader failed. 2. add check for null pointer when extracting cached rows. 2023-02-13 19:10:31 +08:00
Haojun Liao 27a53a0c64 fix(query): set the correct table iter. 2023-02-13 10:05:26 +08:00
Haojun Liao 34036b932f fix(query): fix error in windows. 2023-02-13 01:05:40 +08:00
Haojun Liao f85cf08f87 fix(query): set the initial iterator table before check data in buffer. 2023-02-12 22:09:46 +08:00
Haojun Liao f6a262eeb1 fix(query): fix invalid write. 2023-02-11 01:56:28 +08:00
Haojun Liao a7fdc4bae3 other: merge 3.0 2023-02-10 19:20:24 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Haojun Liao c8f1c3b6e4 fix(query): set the max rows as the default block buffer rows. 2023-02-10 16:18:30 +08:00
Haojun Liao 17f05c0020 refactor: disable the limitation of maximum buffer size. 2023-02-10 14:40:37 +08:00
Haojun Liao 4908c563cc ehn(query): dynamic set the initial buffer size for data block from disk. 2023-02-10 14:35:18 +08:00
Haojun Liao 4f4d39a16b fix(query): set correct last key. 2023-02-10 11:32:18 +08:00
Haojun Liao 0fbaf4eab0 fix(query): set lastkey during check of valid ts. 2023-02-09 23:01:44 +08:00
Xiaoyu Wang 09925437e3 merge main 2023-02-08 09:51:52 +08:00
Haojun Liao e199f96d94 fix(query): reset the data load flag when build clean file block. 2023-02-08 09:14:38 +08:00
Haojun Liao 445c3bd250 fix(query): remove sleep. 2023-02-07 18:27:32 +08:00
Haojun Liao 5dfdb91135 fix(query): check if table exists or not during build data block in tsdbread. 2023-02-07 17:16:20 +08:00
Haojun Liao 5e2bb75275 fix(query):set correct initial key value for mem/imem data. 2023-02-06 17:56:45 +08:00
Haojun Liao 3822225231 other: merge main. 2023-02-06 16:24:15 +08:00
Haojun Liao 08b3ce7cc0 fix(query): remove timing code. 2023-02-06 16:08:41 +08:00
Haojun Liao b53d2669da other: merge main 2023-02-06 16:02:54 +08:00
Haojun Liao e7b97cc086 fix(query): set the correct timestamp value in case that only imem has data. 2023-02-06 15:59:47 +08:00
Xiaoyu Wang 0b6852d7eb
Merge pull request #19813 from taosdata/enh/TD-22139
enh(tsdb/cache): new block index cache for querying
2023-02-06 15:42:42 +08:00
Minglei Jin b83f93d564 fix(query): release lru handle before returning from block idx loading 2023-02-06 14:41:17 +08:00
Minglei Jin 023b8377fb enh(tsdb/cache): new block index cache for querying 2023-02-06 14:12:57 +08:00
Haojun Liao 882451df0b
Merge pull request #19809 from taosdata/fix/nodisk
fix(query): add null ptr check when retrieving the block info.
2023-02-06 12:57:23 +08:00
Haojun Liao 89b1843382 fix(query): add null ptr check when retrieving the block info. 2023-02-06 10:59:45 +08:00
Haojun Liao 8dcd73abf0
Merge pull request #19790 from taosdata/fix/nodisk
fix(query): set the correct number of rows when calculating using sma
2023-02-04 00:58:59 +08:00
dapan1121 225bf28536
Merge pull request #19744 from taosdata/fix/TD-22009
enhance: optimize building table delete skyline performance
2023-02-03 19:00:47 +08:00
Haojun Liao 845530e125 other: add some logs. 2023-02-03 17:33:35 +08:00
Xiaoyu Wang 5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
Haojun Liao f803fa44b5 fix(query): set the correct number of rows when calculating using sma for min/max function. 2023-02-03 16:50:13 +08:00
Haojun Liao e29ca4f5d8 refactor(query): use real number of stt instead of default value. 2023-02-03 10:04:15 +08:00
Haojun Liao baaa57567e refactor: do some internal refactor. 2023-02-03 09:13:13 +08:00
Haojun Liao e9490a3235 refactor(query): disable tag filter cache by default. 2023-02-02 17:38:21 +08:00
Haojun Liao edca89b731 refactor: opt query perf. 2023-02-02 15:15:46 +08:00
Haojun Liao fd6ea6ba2f other: merge main. 2023-02-02 14:12:24 +08:00
dapan1121 9a261ab2d7 improvement: optimize build table delete skyline performance 2023-02-02 08:45:38 +08:00
Haojun Liao 9fe1512c55 refactor: add some logs. 2023-02-01 22:41:39 +08:00
Haojun Liao 8e4c6ccbb3 fix(query): move the reset to other place. 2023-02-01 18:15:35 +08:00
Minglei Jin dca720fc7d fix(query): protect read snap with reader mutex when closing reader 2023-02-01 15:09:21 +08:00
Xiaoyu Wang fc829aec52
Merge pull request #19689 from taosdata/fix/TD-22030
fix(query): reset snap to null after untaking mem snap
2023-01-31 16:51:07 +08:00
dapan1121 c8394cbf6e fix: add get tb from mem time info 2023-01-31 16:38:29 +08:00
Minglei Jin 0257c4a90b fix(query): release reader's lock if not composed block 2023-01-31 15:04:48 +08:00
Minglei Jin 251fdd35ba fix(tsdb/read): wrap tsdb reader's lock with acquire/release 2023-01-30 19:26:36 +08:00
Haojun Liao 1741e98a4e fix(query): reset the del file index when beginning last file check. 2023-01-30 10:13:54 +08:00
Minglei Jin 101772fe1b fix(query): reset snap to null after untaking mem snap 2023-01-29 13:43:37 +08:00
Xiaoyu Wang 6e247e8911
Merge pull request #19679 from taosdata/fix/TD-22030
fix(query): reset iter, iiter's hasVal to false when suspending reader
2023-01-29 11:04:41 +08:00
Minglei Jin ac3e6323e2 fix(query): reset all block scan info when suspending reader 2023-01-29 09:33:32 +08:00
Xiaoyu Wang eb86f5ae71 merge main 2023-01-28 18:10:08 +08:00
Xiaoyu Wang 24157e78d6 merge main 2023-01-28 17:52:58 +08:00
Minglei Jin b4807d9aa9 fix(query): reset iter, iiter's hasVal to false when suspending reader 2023-01-28 14:06:37 +08:00
kailixu 39b69ba39e fix: row schema version for row merger 2023-01-21 13:44:25 +08:00
kailixu 70fb18e611 fix: tsdb ReadSnap take/untake 2023-01-17 15:11:11 +08:00
Xiaoyu Wang 9a0c2805f4 merge main 2023-01-13 13:54:04 +08:00
Haojun Liao 53f27901a5 Merge branch 'main' into feature/3_liaohj 2023-01-11 15:42:34 +08:00
Minglei Jin 5024fc1e9f tsdb/suspend: fix table block scan info 2023-01-10 18:40:15 +08:00
Minglei Jin 4032340e92 tsdb/reader: reset reader status with lock protected 2023-01-10 16:45:58 +08:00
Haojun Liao 08321f3c6d enh(query): update the log. 2023-01-10 13:35:25 +08:00
Haojun Liao b2a70c0a34 enh(query): jump out of loop once queried tables are all found. 2023-01-10 13:33:27 +08:00
Minglei Jin e48bdbfd0f tsdb/log-query: new proactive flag for mem table unref 2023-01-10 11:52:40 +08:00
Hongze Cheng bff8c216cc more code 2023-01-10 11:36:40 +08:00
Haojun Liao e244a484f8 fix(query): add additional check for imem/mem 2023-01-10 10:49:35 +08:00
Minglei Jin d69ec98723 tsdb/read: reseek with try lock mutex 2023-01-10 10:38:44 +08:00
Hongze Cheng f848324d54 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-10 09:42:45 +08:00
Haojun Liao 6a6d53b896
fix(query): fix error for retrieve data only in last files. (#19457)
* fix: add test cases;

* fix(query): fix error for retrieve data only in last files.
2023-01-09 20:55:34 +08:00
Haojun Liao 16f0900fe9 fix(query): fix error for retrieve data only in last files. 2023-01-09 19:26:39 +08:00
Hongze Cheng ad9e8a9aa3 more code 2023-01-09 19:03:09 +08:00
Hongze Cheng 2e443c395e more code 2023-01-09 15:51:30 +08:00
Shengliang Guan 398161eb5f Merge branch 'main' into merge/mainto3.0_0108 2023-01-09 10:00:53 +08:00
Haojun Liao 95a6720b2a fix(query): do not merge rows in last file when no data blocks exist. 2023-01-08 23:02:16 +08:00
Minglei Jin 57c303b4f1 Merge branch 'fix/long_query' of https://github.com/taosdata/TDengine into fix/long_query 2023-01-04 17:58:06 +08:00
Minglei Jin 6591b98245 fix(tsdb): comment qlist out to please CI 2023-01-04 17:57:50 +08:00
Liu Jicong 5ee7e7aed9 fix: init tsdb read snap 2023-01-04 17:55:00 +08:00
Minglei Jin 625bf9992f
Merge branch '3.0' into fix/long_query 2023-01-04 15:15:51 +08:00
Minglei Jin b020383046 fix(tsdb): comment qlist out to please CI 2023-01-03 18:30:50 +08:00
Minglei Jin 07f16b1660 Merge branch 'v3.0' into fix/long_query 2023-01-03 17:21:10 +08:00
Alex Duan b68e440cc2 feat: support total vgroups count for table 2023-01-03 14:13:51 +08:00