VictoriaMetrics/lib/blockcache
Aliaksandr Valialkin a8a4581c37
lib/blockcache: properly remove references to deleted parts
Previously references to deleted parts may remain active as cache.m keys.
This could prevent from proper memory de-allocation.
This could lead to increased memory usage for the following caches starting from v1.73.0:

* indexdb/indexBlocks
* indexdb/dataBlocks
* storage/indexBlocks

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2242
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2007

This is a follow-up for 88605a7ea2
2022-03-18 17:07:54 +02:00
..
blockcache.go lib/blockcache: properly remove references to deleted parts 2022-03-18 17:07:54 +02:00
blockcache_test.go lib/blockcache: fix TestCache by ensuring that the cache size can be divided by the number of cache shards 2022-02-16 18:48:09 +02:00
blockcache_timing_test.go lib/blockcache: use higher number of shards for higher number of CPU cores 2022-02-10 19:11:11 +02:00