Commit Graph

2285 Commits

Author SHA1 Message Date
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
Hongze Cheng 2a8f7e121a Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-22710 2023-02-24 14:41:42 +08:00
Hongze Cheng 765ff98f6a fix: compact wrong data count 2023-02-24 14:41:23 +08:00
Haojun Liao 993ae9e7e9 Merge branch '3.0' into fix/3_coverity 2023-02-24 14:34:01 +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 645c3e672f
Merge pull request #20144 from taosdata/fix/3_coverity
fix(query): fix coverity issue.
2023-02-24 11:31:36 +08:00
Xiaoyu Wang d06dedd5cc
Merge pull request #20103 from taosdata/fix/TD-22668
fix: coverity scan issues
2023-02-24 10:53:49 +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
dapan1121 29f84355eb
Merge pull request #20107 from taosdata/fix/TD-22689
fix: taosd crash issue caused of out of fd
2023-02-23 10:48:21 +08:00
Xiaoyu Wang ebcd7415c1
Merge pull request #20086 from taosdata/fix/TD-22670
fix(tsdb/cache): use state's tsdb instead of readers
2023-02-23 10:39:26 +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
Minglei Jin 6929f74559 fix(tsdb/cache): check the return result of data block creating 2023-02-22 14:48:57 +08:00
Haojun Liao 8532de31cf refactor: remove assert. 2023-02-22 14:32:39 +08:00
Hongze Cheng 81ee050a0f fix: coverity scan problem 2023-02-22 14:29:14 +08:00
Haojun Liao 82067f3bd2 fix(query): fix coverity issues. 2023-02-22 13:38:13 +08:00
Haojun Liao 61a7001274 fix(query): fix coverity issues. 2023-02-22 10:50:42 +08:00
Minglei Jin 724e7bc3a1 fix(tsdb/cache): use state's tsdb instead of readers 2023-02-21 18:23:18 +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
Minglei Jin de9cafb04e fix(tsdb/cache): disable sharding for block index cache 2023-02-16 15:50:19 +08:00
Minglei Jin 56f1afb19c fix(tsdb/cache): use block index cache with last/last_row 2023-02-16 09:28:35 +08:00
Hongze Cheng c1a3a0855b finish code 2023-02-15 17:59:54 +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
Xiaoyu Wang 9fb5c8f3a1
Merge pull request #19961 from taosdata/fix/TD-22432
fix(tsdb/cache): invalidate cache entry if schema changed
2023-02-14 14:53:02 +08:00
Minglei Jin 8ec5df8d7d fix(tsdb/cache): Not free zero length var data 2023-02-14 10:20:55 +08:00
Minglei Jin ee9c59dc77 fix(tsdb/cache): invalidate cache entry if schema changed 2023-02-13 19:30:48 +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 c9ce01c878 Merge branch 'main' into feature/3_liaohj 2023-02-13 17:09:27 +08:00
Haojun Liao c597a1e4ce refactor: do some internal refactor. 2023-02-13 15:46:47 +08:00
Hongze Cheng 454e56fd09 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TS-2504 2023-02-13 10:37:32 +08:00
Haojun Liao 27a53a0c64 fix(query): set the correct table iter. 2023-02-13 10:05:26 +08:00
Xiaoyu Wang 6483b92f0c
Merge pull request #19923 from taosdata/fix/3.0_merge_main
merge main
2023-02-13 09:48:45 +08:00
Hongze Cheng 10167a90cd refact code 2023-02-13 09:39:21 +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 1b53f4b0bd
Merge pull request #19919 from taosdata/fix/liaohj
fix(query): add check for table/super table dropped
2023-02-10 23:00:55 +08:00
Haojun Liao a7fdc4bae3 other: merge 3.0 2023-02-10 19:20:24 +08:00
Haojun Liao 5dfa0e69a9 fix(query): set correct schema info for normal table. 2023-02-10 19:06:23 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Haojun Liao f6b2da8c06 fix(query): add check for table/super table dropped, when retrieving cache rows. 2023-02-10 16:53:11 +08:00
Hongze Cheng 9694933ec8 fix: compact issue 2023-02-10 16:24:29 +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
Hongze Cheng f523a96c2d fix compact problem 2023-02-10 13:38:21 +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 9bc225ffda merge 3.0 2023-02-09 09:44:29 +08:00
Hongze Cheng 8d6e6d2fe0 more code 2023-02-08 17:46:11 +08:00
Hongze Cheng c398f9d299 more code 2023-02-08 16:11:47 +08:00
Hongze Cheng 0f70a61253 more code 2023-02-08 14:28:54 +08:00
Hongze Cheng e22e4f626a more code 2023-02-08 11:30:38 +08:00
Hongze Cheng 108ce09c85 more code 2023-02-08 11:15:36 +08:00
Hongze Cheng d9e8b3c047 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-08 10:20:22 +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
Hongze Cheng 9b338ae095 more code 2023-02-07 22:05:36 +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
Hongze Cheng c7267c7c9f more code 2023-02-07 16:49:29 +08:00
Hongze Cheng a885d6e3d2 more code 2023-02-07 14:08:20 +08:00
kailixu 9598fe684e Merge branch '3.0' into fix/TD-22047-3.0 2023-02-07 10:42:16 +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
Hongze Cheng 09628401f8 refact code 2023-02-06 14:49:50 +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 a6d52aed4f fix(tsdb/cache): use 5M cache for block index instead of 1M 2023-02-06 14:18:49 +08:00
Xiaoyu Wang f2ff17dace merge 3.0 2023-02-06 14:18:13 +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
Hongze Cheng 49631f6e96 fix: snapshot coredump caused by type 2023-02-03 14:34:55 +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 7168f90c51 refactor(query): disable file size check when reading data files. 2023-02-02 17:49:07 +08:00
Haojun Liao 40b7718078 refactor(query): disable file size check when reading data files. 2023-02-02 17:45:21 +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
Haojun Liao ab8c977417 other: merge main. 2023-02-02 14:00:36 +08:00
Haojun Liao 423e04d5a1
Merge pull request #19740 from taosdata/fix/nodisk
refactor: add some logs.
2023-02-02 09:12:16 +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 5215a218d4
Merge pull request #19735 from taosdata/fix/nodisk
fix(query): move the reset to other place.
2023-02-01 22:07:29 +08:00
Haojun Liao 8e4c6ccbb3 fix(query): move the reset to other place. 2023-02-01 18:15:35 +08:00
Haojun Liao 04b6576a51
Merge pull request #19728 from taosdata/fix/nodisk
fix(query): reset the del file index when beginning last file check.
2023-02-01 17:16:17 +08:00
Minglei Jin dca720fc7d fix(query): protect read snap with reader mutex when closing reader 2023-02-01 15:09:21 +08:00
Hongze Cheng 03fa4578da Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-01 09:14:00 +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
Hongze Cheng db9a6b119d fix 2023-01-31 14:58:50 +08:00
Hongze Cheng 11bc53bbd7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-01-31 14:07:58 +08:00
Hongze Cheng cabf3e8683 fix: invalid read 2023-01-31 11:22:06 +08:00
Minglei Jin 251fdd35ba fix(tsdb/read): wrap tsdb reader's lock with acquire/release 2023-01-30 19:26:36 +08:00
Hongze Cheng 2d03fb6041 fix memory leak 2023-01-30 18:16:55 +08:00
Hongze Cheng c04810e8d5 fix: more code 2023-01-30 15:51:54 +08:00
Hongze Cheng 5904f967f5 fix: snapshot problem 2023-01-30 15:38:19 +08:00
Hongze Cheng 90ff718c57 Merge branch 'fix/TD-22070' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-30 11:41:26 +08:00
Hongze Cheng 9502fb3633 fix memory leak 2023-01-30 11:40:41 +08:00
Hongze Cheng 0f00862d8b Merge branch 'fix/TD-22070' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-30 10:17:59 +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
kailixu a558e49999 fix: tsdb snapshot reader type 2023-01-29 22:13:14 +08:00
Hongze Cheng 27f3b02196 more code fix 2023-01-29 15:09:13 +08:00
Hongze Cheng f6335a795b fix: assert coredump 2023-01-29 14:47:45 +08:00
Hongze Cheng 5e7b6602c5 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-29 14:05:15 +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
Hongze Cheng e0b0ce2395 refact more code 2023-01-29 10:21:39 +08:00
Minglei Jin ac3e6323e2 fix(query): reset all block scan info when suspending reader 2023-01-29 09:33:32 +08:00
Hongze Cheng ded3d6e7c9 more code 2023-01-29 09:08:02 +08:00
Xiaoyu Wang eb86f5ae71 merge main 2023-01-28 18:10:08 +08:00
Hongze Cheng b996618e65 more code 2023-01-28 18:03:13 +08:00
Xiaoyu Wang 24157e78d6 merge main 2023-01-28 17:52:58 +08:00
Hongze Cheng fb2b42f968 refact more code 2023-01-28 16:51:22 +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
Hongze Cheng 545e4d7f02 make it compile 2023-01-28 13:30:15 +08:00
Hongze Cheng 8d56306517 more code 2023-01-28 11:31:32 +08:00
Xiaoyu Wang f487c4e63f
Merge pull request #19524 from taosdata/fix/long_query
fix(query): switch buffer pool recycle on
2023-01-28 08:51:51 +08:00
Hongze Cheng 2f5eeb8000 make it compile 2023-01-26 21:57:22 +08:00
Hongze Cheng ec886154a4 more code 2023-01-26 21:48:54 +08:00
Hongze Cheng a902d412eb more code 2023-01-26 20:20:39 +08:00
Hongze Cheng b8578e242e Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-21761 2023-01-26 17:14:57 +08:00
Hongze Cheng 4f0a605cc0 more code 2023-01-22 17:20:26 +08:00
kailixu 1e06fb1783 chore: code optimization 2023-01-21 16:15:12 +08:00
kailixu 08a5ed4a07 chore: revert the code 2023-01-21 16:11:33 +08:00
kailixu 338a2a74cb chore: revert the code 2023-01-21 16:08:33 +08:00
kailixu 2416d34a80 fix: memory leak for row merge 2023-01-21 16:07:27 +08:00
kailixu 39b69ba39e fix: row schema version for row merger 2023-01-21 13:44:25 +08:00
Hongze Cheng fff4a96bdf more code 2023-01-19 22:18:39 +08:00
Hongze Cheng 7203819888 more code 2023-01-19 21:46:27 +08:00
Hongze Cheng b88327d737 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-21761 2023-01-18 23:32:52 +08:00