https://github.com/facebook/rocksdb
Revision 02db03af8db7af03b8b026bc40d86e04ac741958 authored by Andrew Kryczka on 09 June 2020, 23:49:07 UTC, committed by Facebook GitHub Bot on 09 June 2020, 23:51:23 UTC
Summary: Memory pinned by `pin_l0_filter_and_index_blocks_in_cache` needs to be predictable based on user config. This PR makes sure we do not pin extra memory for large files generated by intra-L0 (see https://github.com/facebook/rocksdb/issues/6889). Pull Request resolved: https://github.com/facebook/rocksdb/pull/6911 Test Plan: unit test Reviewed By: siying Differential Revision: D21835818 Pulled By: ajkr fbshipit-source-id: a11a088549d06bed8aacc2548d266e5983f0ead4
1 parent 5abda3b
Tip revision: 02db03af8db7af03b8b026bc40d86e04ac741958 authored by Andrew Kryczka on 09 June 2020, 23:49:07 UTC
make L0 index/filter pinned memory usage predictable (#6911)
make L0 index/filter pinned memory usage predictable (#6911)
Tip revision: 02db03a
File | Mode | Size |
---|---|---|
cache.cc | -rw-r--r-- | 2.6 KB |
cache_bench.cc | -rw-r--r-- | 11.0 KB |
cache_test.cc | -rw-r--r-- | 23.1 KB |
clock_cache.cc | -rw-r--r-- | 27.4 KB |
clock_cache.h | -rw-r--r-- | 601 bytes |
lru_cache.cc | -rw-r--r-- | 16.9 KB |
lru_cache.h | -rw-r--r-- | 11.3 KB |
lru_cache_test.cc | -rw-r--r-- | 6.0 KB |
sharded_cache.cc | -rw-r--r-- | 5.0 KB |
sharded_cache.h | -rw-r--r-- | 4.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...