rocksdb/cache
Maysam Yabandeh 9a87ae46fd Use total charge in MaintainPoolSize (#5813)
Summary:
https://github.com/facebook/rocksdb/issues/5797 charges the block cache with the total of user-provided charge plus the metadata charge. It had a bug where in MaintainPoolSize the user-provided charge was used instead of the total charge. The patch fixes that.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5813

Differential Revision: D17412783

Pulled By: maysamyabandeh

fbshipit-source-id: 45c0ac9f1e2233760db5ccd61399605cd74edc87
2019-09-17 00:16:13 -07:00
..
cache_bench.cc simplify include directive involving inttypes (#5402) 2019-06-06 13:56:07 -07:00
cache_test.cc Charge block cache for cache internal usage (#5797) 2019-09-16 15:26:21 -07:00
clock_cache.cc Charge block cache for cache internal usage (#5797) 2019-09-16 15:26:21 -07:00
clock_cache.h Change RocksDB License 2017-07-15 16:11:23 -07:00
lru_cache.cc Use total charge in MaintainPoolSize (#5813) 2019-09-17 00:16:13 -07:00
lru_cache.h Charge block cache for cache internal usage (#5797) 2019-09-16 15:26:21 -07:00
lru_cache_test.cc Charge block cache for cache internal usage (#5797) 2019-09-16 15:26:21 -07:00
sharded_cache.cc simplify include directive involving inttypes (#5402) 2019-06-06 13:56:07 -07:00
sharded_cache.h Charge block cache for cache internal usage (#5797) 2019-09-16 15:26:21 -07:00