Change page cache loading by lookup/no_lookup

By default load the first 4 levels of the ledger into the page cache of lookup is to be supported, but just levels 0 and 1 otherwise.
This commit is contained in:
Martin Sumner 2019-07-18 14:00:19 +01:00
parent 85bfa7fbb4
commit 7862a6c523
3 changed files with 33 additions and 13 deletions

View file

@ -51,7 +51,8 @@
:: leveled_sst:press_method(),
log_options = leveled_log:get_opts()
:: leveled_log:log_options(),
max_sstslots = 256 :: pos_integer()}).
max_sstslots = 256 :: pos_integer(),
pagecache_level = 1 :: pos_integer()}).
-record(inker_options,
{cdb_max_size :: integer() | undefined,