Revision 3fe09371802db3e1c35d924bc76b0ebb252bdc0d authored by Zhongyi Xie on 29 January 2018, 22:34:56 UTC, committed by Facebook Github Bot on 29 January 2018, 22:43:10 UTC
Summary:
ReadOptions.fill_cache is set in compaction inputs and can be set by users in their queries too. It tells RocksDB not to put a data block used to block cache.

The memory used by the data block is, however, not trackable by users.

To make the system more manageable, we can cost the block to block cache while using it, and then release it after using.
Closes https://github.com/facebook/rocksdb/pull/3333

Differential Revision: D6670230

Pulled By: miasantreble

fbshipit-source-id: ab848d3ed286bd081a13ee1903de357b56cbc308
1 parent e2d4b0e
History
File Mode Size
.gitignore -rw-r--r-- 176 bytes
Makefile -rw-r--r-- 2.2 KB
README.md -rw-r--r-- 120 bytes
c_simple_example.c -rw-r--r-- 2.6 KB
column_families_example.cc -rw-r--r-- 1.9 KB
compact_files_example.cc -rw-r--r-- 5.7 KB
compaction_filter_example.cc -rw-r--r-- 2.9 KB
optimistic_transaction_example.cc -rw-r--r-- 4.1 KB
options_file_example.cc -rw-r--r-- 4.0 KB
rocksdb_option_file_example.ini -rw-r--r-- 4.5 KB
simple_example.cc -rw-r--r-- 2.4 KB
transaction_example.cc -rw-r--r-- 4.1 KB

README.md

back to top