Commit Graph

18 Commits

Author SHA1 Message Date
alexX512
6bf29cb610 Change class LRUCache to class CachBase. Check running CacheBase with default pcahce policy SLRU 2022-08-07 19:59:30 +00:00
Amos Bird
4a5e4274f0
base should not depend on Common 2022-04-29 10:26:35 +08:00
lgbo-ustc
5c71d3687a fixed some bugs
1. interagtion test for test_hive_query failed
2. nullptr reference in arrowSchemaToCHHeader
2022-01-12 17:01:05 +08:00
lgbo-ustc
f78564491c code style 2022-01-05 14:40:02 +08:00
lgbo-ustc
624da11ee2 fix a bug : cache files are released in wrong way 2022-01-05 14:29:34 +08:00
taiyang-li
14bce62cc4 fix building 2022-01-04 15:34:34 +08:00
李扬
2df2442ad0
Merge branch 'master' into hive_table 2022-01-04 01:26:16 -06:00
lgbo-ustc
45c86757bf change LRUCache to LRUResourceCache 2022-01-04 15:19:09 +08:00
kssenii
ae2813a2d5 Fix 2021-12-30 23:31:12 +03:00
lgbo-ustc
9c32723dcf fix a bug in LRUResourceCache::getImpl() 2021-12-30 21:48:54 +08:00
lgbo-ustc
77084f5349 add token holder 2021-12-30 18:43:12 +08:00
lgbo-ustc
54d78bde0d update comments 2021-12-30 10:15:56 +08:00
lgbo-ustc
88383b6715 some change 2021-12-30 10:08:33 +08:00
lgbo-ustc
a412738264 format code style 2021-12-29 18:27:52 +08:00
lgbo-ustc
6b6a82f3b9 add MappedHolder to get cache values 2021-12-29 18:18:38 +08:00
lgbo-ustc
6aaeb285b0 update destructor 2021-12-29 15:44:24 +08:00
lgbo-ustc
5a419a356b fix a bug 2021-12-29 15:29:59 +08:00
lgbo-ustc
59cbd76880 Add LRUResourceCache
1. add LRUResourceCache for managing resource cache in lru policy
2. rollback LRUCache to the original version
3. add remove() in LRUCache
4. add unit tests for LRUResourceCache and LRUCache
2021-12-29 15:25:33 +08:00