Passing ETS reference not tree
ETS reference gets converted to tree by Penciller
This commit is contained in:
parent
121f410b8f
commit
62c3ba8b6f
2 changed files with 12 additions and 3 deletions
|
@ -1181,7 +1181,7 @@ maybepush_ledgercache(MaxCacheSize, Cache, Penciller) ->
|
|||
TimeToPush = maybe_withjitter(CacheSize, MaxCacheSize),
|
||||
if
|
||||
TimeToPush ->
|
||||
CacheToLoad = {leveled_tree:from_orderedset(Tab, ?CACHE_TYPE),
|
||||
CacheToLoad = {Tab,
|
||||
Cache#ledger_cache.index,
|
||||
Cache#ledger_cache.min_sqn,
|
||||
Cache#ledger_cache.max_sqn},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue