Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
udi-speedb committed Apr 6, 2022
1 parent a5f50a7 commit 1957dc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cache/lru_cache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,7 @@ Cache::Handle* LRUCacheShard::Lookup(
return reinterpret_cast<Cache::Handle*>(e);
}


bool LRUCacheShard::Ref(Cache::Handle* h) {
LRUHandle* e = reinterpret_cast<LRUHandle*>(h);
MutexLock l(&mutex_);
Expand Down
2 changes: 1 addition & 1 deletion table/block_based/block_based_table_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ Status BlockBasedTable::GetDataBlockFromCache(
Cache::Handle* block_cache_compressed_handle = nullptr;
Statistics* statistics = rep_->ioptions.statistics.get();
bool using_zstd = rep_->blocks_definitely_zstd_compressed;
const FilterPolicy* filter_policy = rep_->filter_policy;
const FilterPolicy* filter_policy = rep_->filter_policy;`
Cache::CreateCallback create_cb = GetCreateCallback<TBlocklike>(
read_amp_bytes_per_bit, statistics, using_zstd, filter_policy);

Expand Down

0 comments on commit 1957dc7

Please sign in to comment.