diff options
author | Peter Dillinger <peterd@fb.com> | 2022-07-29 07:18:15 -0700 |
---|---|---|
committer | Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> | 2022-07-29 07:18:15 -0700 |
commit | 65036e4217e03ad9a252121097694ec48a347518 (patch) | |
tree | a71a45c5ab3a10e5276a63042193b5320fe5ca63 /memory | |
parent | c7ccbb33a641db418fd3b53ff63c5952e435db15 (diff) |
Revert "Add a blob-specific cache priority (#10309)" (#10434)
Summary:
This reverts commit 8d178090beff296f7ab93fa77f91177fe146c156
because of a clear performance regression seen in internal dashboard
https://fburl.com/unidash/tpz75iee
Pull Request resolved: https://github.com/facebook/rocksdb/pull/10434
Reviewed By: ltamasi
Differential Revision: D38256373
Pulled By: pdillinger
fbshipit-source-id: 134aa00f50dd7b1bbe037c227884a351342ec44b
Diffstat (limited to 'memory')
-rw-r--r-- | memory/memory_allocator_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memory/memory_allocator_test.cc b/memory/memory_allocator_test.cc index 104241f5c..1e96c44ee 100644 --- a/memory/memory_allocator_test.cc +++ b/memory/memory_allocator_test.cc @@ -83,7 +83,7 @@ TEST_P(MemoryAllocatorTest, DatabaseBlockCache) { options.create_if_missing = true; BlockBasedTableOptions table_options; - auto cache = NewLRUCache(1024 * 1024, 6, false, 0.0, allocator_); + auto cache = NewLRUCache(1024 * 1024, 6, false, false, allocator_); table_options.block_cache = cache; options.table_factory.reset(NewBlockBasedTableFactory(table_options)); DB* db = nullptr; |