Commit graph

97 commits

Author SHA1 Message Date
Minglei Jin
e0f0536d2d cache/serialize: nullize pData if zero-length 2023-05-08 15:56:54 +08:00
Minglei Jin
992480eb00 cache/read: fix ltype calc 2023-05-05 10:22:59 +08:00
Minglei Jin
90be20a662 cache/lstring: use ltype with cache/get 2023-05-04 18:08:03 +08:00
Minglei Jin
5758aa4d80 cache/read: fix pRow, pLastCols memory issues 2023-04-26 08:17:08 +08:00
Minglei Jin
2566bd4ae8 row/iter: fix null column iter 2023-04-25 16:17:58 +08:00
Minglei Jin
33fba6f99a cache/read: fix transferBuf index 2023-04-25 09:48:56 +08:00
Minglei Jin
c7d5b48920 cache/read: fix pRes buffer index 2023-04-24 15:42:53 +08:00
Minglei Jin
8f21090343 cache/delete: just remove affected cache entries 2023-04-24 10:47:28 +08:00
Minglei Jin
a75d43a259 cache/read: remove unused extract function 2023-04-21 18:38:20 +08:00
Minglei Jin
12fc21ae84 cache/get: use pRow from reader 2023-04-21 18:34:58 +08:00
Minglei Jin
01d95b5e95 cache/read: use new interface with signle query 2023-04-21 16:07:22 +08:00
Minglei Jin
c9959b5bf6 dst slot for last_row 2023-04-21 14:18:04 +08:00
Minglei Jin
7d896bbc85 last/empty_table: continue if table's empty 2023-04-20 17:36:46 +08:00
Minglei Jin
1e51b2d781
Merge branch '3.0' into fix/TD-23623 2023-04-20 16:32:43 +08:00
Minglei Jin
642aa47887 last: first round implementation for column loading 2023-04-20 16:26:27 +08:00
Xiaoyu Wang
586b3945d1 feat: last queries with tags output can be read from cache 2023-04-19 13:09:11 +08:00
Minglei Jin
76edc16ce1 operator/cache-scan: pass col list down to tsdb cache 2023-04-19 10:04:48 +08:00
Xiaoyu Wang
6669c3a5ad feat: last queries with tags output can be read from cache 2023-04-18 17:13:14 +08:00
dapan1121
5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
Xiaoyu Wang
47417e003e enh: optimize last/last_row cost when the cache was first loaded 2023-03-09 18:54:15 +08:00
Xiaoyu Wang
ab5cce806c fix: fix: after the last_row cache is created, modify the schema and query again, resulting in taosd crash 2023-03-07 16:25:46 +08:00
Xiaoyu Wang
bc9eb47e04 fix: after the last cache is created, modify the schema and query again, resulting in taosd crash 2023-03-07 10:14:39 +08:00
Xiaoyu Wang
b2247a10cb fix: last cache invalid write 2023-03-06 18:00:53 +08:00
Xiaoyu Wang
7deee1c4c7 fix: last cache read problem after schema change 2023-03-02 18:22:42 +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
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
Xiaoyu Wang
c597de099f merge main 2023-02-20 13:41:27 +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
c9ce01c878 Merge branch 'main' into feature/3_liaohj 2023-02-13 17:09:27 +08:00
Haojun Liao
5dfa0e69a9 fix(query): set correct schema info for normal table. 2023-02-10 19:06:23 +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
Haojun Liao
e29ca4f5d8 refactor(query): use real number of stt instead of default value. 2023-02-03 10:04:15 +08:00
Xiaoyu Wang
24157e78d6 merge main 2023-01-28 17:52:58 +08:00
kailixu
70fb18e611 fix: tsdb ReadSnap take/untake 2023-01-17 15:11:11 +08:00
Minglei Jin
e48bdbfd0f tsdb/log-query: new proactive flag for mem table unref 2023-01-10 11:52:40 +08:00
Minglei Jin
3178843b72 tsdb/cache: reseek with busy always 2023-01-10 10:11:17 +08:00
Minglei Jin
2ed9c19da4 Merge branch 'v3.0' into fix/long_query 2022-12-29 17:43:51 +08:00
Haojun Liao
723efba79b
Merge branch '3.0' into refact/submit_req 2022-12-26 13:25:25 +08:00
Haojun Liao
224f5a72c2 refactor: do some internal refactor. 2022-12-23 17:45:12 +08:00
Minglei Jin
04948080bc tsdb/cache-read: release lru handle in case table's empty 2022-12-08 11:06:16 +08:00
Minglei Jin
1e23f80597 tsdb/cache: use empty array as negative entry to empty table's last/lr 2022-12-07 14:34:38 +08:00
Haojun Liao
7c7b2f1cef fix(query): fix memory leak. 2022-11-22 18:06:01 +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
Minglei Jin
0bbe049e58 fix: set fs and last dataf reader to null when resetting 2022-11-03 09:14:51 +08:00
Minglei Jin
5ae5df1a17 Merge branch 'v3.0' into fix/long_query 2022-11-01 18:06:39 +08:00