Commit graph

80 commits

Author SHA1 Message Date
Shungang Li
10bd0fed21 enh: add lrucache overwriter 2024-09-27 17:24:45 +08:00
Jinqing Kuang
2259dbebf7 fix(query)[TS-5487]. Fix slow cleanup of metacahe on exit
- Change the storage structure of the suid-related tagFilter list in the
  metacache to a hash set
- During cleanup on exit, first clear the suid tagFilter list before
  cleaning the LRU cache to avoid excessive overhead.

These modifications ensure that the metacache cleanup process is
efficient and maintains good LRU invalidation performance.
2024-09-26 13:27:24 +08:00
Hongze Cheng
e16af0e45c more 2024-09-24 18:04:58 +08:00
Hongze Cheng
c9da6822e0 ehn: handle void 2024-09-23 18:02:25 +08:00
lyh250-666
63d98e2c5c enh:modify error code passing 2024-09-19 15:51:30 +08:00
lyh250-666
06daf85130 Modify error code passing for taosMemoryCalloc function in vnode 2024-08-27 17:37:01 +08:00
Hongze Cheng
a092582a0c enh: clear useless asserts 2024-08-22 14:14:44 +08:00
Hongze Cheng
02c7474167 enh: remove some useless asserts 2024-08-22 09:47:44 +08:00
Hongze Cheng
9792683b7d handle some of return -1 2024-08-14 17:50:20 +08:00
Hongze Cheng
8ef31bc186 enh: refactor return code 2024-07-29 20:14:15 +08:00
Hongze Cheng
ded23d4b08 enh: refactor return code 2024-07-27 18:28:26 +08:00
Hongze Cheng
10263b6b4e enh: refactor return code 2024-07-23 11:01:22 +08:00
Hongze Cheng
b761bd2e38 enh: port main change to 3.0 2024-06-26 10:32:15 +08:00
kailixu
b9767707cb chore: code optimization for array size 2023-10-07 15:57:26 +08:00
kailixu
85226d05a3 chore: code refactor for time series 2023-10-07 09:30:32 +08:00
kailixu
c70a1b77e6 chore: code optimization for time series 2023-10-07 00:17:21 +08:00
kailixu
d0a046c7a3 enh: exclude sys tbl for time series 2023-10-05 23:30:30 +08:00
kailixu
b1a0912a61 enh: exclude systables in log/audit db 2023-09-28 10:15:34 +08:00
kailixu
d5435926c2 chore: more code 2023-07-11 12:37:01 +08:00
kailixu
06c52af2c2 enh: exclude tk_log from timeseries check 2023-07-07 10:14:37 +08:00
dapan1121
4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
Haojun Liao
8f61e2d6ef refactor: do some internal refactor. 2023-05-29 10:50:50 +08:00
Haojun Liao
953a69a829 refactor: do some internal refactor. 2023-05-29 10:12:27 +08:00
dapan1121
52fd6a84ac enh: support db cfg cache update 2023-05-09 17:04:20 +08:00
dapan1121
c83367e455 enh: add table group cache 2023-05-06 19:24:47 +08:00
Haojun Liao
f5b52749c2 refactor: do some internal refactor. 2023-04-09 01:39:09 +08:00
Haojun Liao
52576071ae refactor: do some internal refactor. 2023-03-15 14:37:48 +08:00
Haojun Liao
253a760810 fix(query): set the correct cached tags list key length, and update some logs. 2023-03-15 14:30:12 +08:00
Xiaoyu Wang
c597de099f merge main 2023-02-20 13:41:27 +08:00
Haojun Liao
c7a9ed34d0 fix(query): fix memory leak and invalid free for tag filter cache. 2023-02-15 23:24:43 +08:00
Haojun Liao
7aee35c457 fix(query): init the value. 2023-01-13 15:54:23 +08:00
Haojun Liao
5386fe7cc4 fix(query): init the value. 2023-01-13 14:57:09 +08:00
Haojun Liao
cd6532ca7e enh(query): prepare the buffer on the stack, instead of heap. 2023-01-13 14:49:07 +08:00
Haojun Liao
6332c982b5 fix(query): fix invalid read 2023-01-13 14:16:59 +08:00
Haojun Liao
bb5fb42c2f refactor: do some internal refactor. 2023-01-13 13:48:20 +08:00
Haojun Liao
7dcad62775 refactor: do some internal refactor. 2023-01-13 10:56:47 +08:00
Haojun Liao
5ff84757fe refactor: do some internal refactor. 2023-01-13 10:53:36 +08:00
Haojun Liao
71ca1d84ef refactor: do some internal refactor. 2023-01-13 10:53:19 +08:00
Haojun Liao
6bffcfaad8 refactor: do some internal refactor. 2023-01-13 10:45:07 +08:00
Haojun Liao
28baef1051 refactor: do some internal refactor. 2023-01-13 10:40:12 +08:00
Haojun Liao
a71f029eec refactor: do some internal refactor. 2023-01-13 10:36:05 +08:00
Haojun Liao
8bed2612a6 refactor: do some internal refactor. 2023-01-12 23:24:41 +08:00
Haojun Liao
a96de23363 fix(query): add the check of item when putting in cache. 2023-01-12 22:50:02 +08:00
Haojun Liao
d36e68bd9b fix(query): add the check of item when putting in cache. 2023-01-12 19:25:28 +08:00
Haojun Liao
96feaaadbe fix(query): add the check of item when putting in cache. 2023-01-12 19:24:23 +08:00
Haojun Liao
effcfc057d fix(query): fix compare error. 2023-01-12 15:00:07 +08:00
Haojun Liao
2d73a50469 enh(query): opt filter check. 2023-01-10 19:31:30 +08:00
Haojun Liao
972f9b6948 refactor: do some internal refactor. 2023-01-07 00:59:05 +08:00
Minglei Jin
4e1f5b2979 fix(meta): cleanup coverity scan issues 2023-01-05 14:04:21 +08:00
Minglei Jin
1269d20cd9 Merge branch '3.0' into fix/TD-21210 2022-12-29 09:27:35 +08:00