X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Frocksdb%2Ftable%2Fblock_based%2Fpartitioned_filter_block_test.cc;h=e06a38da758e366010ea1029354d4394d6750e92;hb=20effc670b57271cb089376d6d0800990e5218d5;hp=071bad9ca169287dc3ebda9611cdfd069d02cf33;hpb=a71831dadd1e1f3e0fa70405511f65cc33db0498;p=ceph.git diff --git a/ceph/src/rocksdb/table/block_based/partitioned_filter_block_test.cc b/ceph/src/rocksdb/table/block_based/partitioned_filter_block_test.cc index 071bad9ca..e06a38da7 100644 --- a/ceph/src/rocksdb/table/block_based/partitioned_filter_block_test.cc +++ b/ceph/src/rocksdb/table/block_based/partitioned_filter_block_test.cc @@ -12,7 +12,6 @@ #include "table/block_based/filter_policy_internal.h" #include "index_builder.h" -#include "logging/logging.h" #include "test_util/testharness.h" #include "test_util/testutil.h" #include "util/coding.h" @@ -143,16 +142,17 @@ class PartitionedFilterBlockTest } while (status.IsIncomplete()); constexpr bool skip_filters = false; + constexpr uint64_t file_size = 12345; constexpr int level = 0; constexpr bool immortal_table = false; table_.reset(new MockedBlockBasedTable( new BlockBasedTable::Rep(ioptions_, env_options_, table_options_, - icomp_, skip_filters, level, immortal_table), + icomp_, skip_filters, file_size, level, + immortal_table), pib)); BlockContents contents(slice); CachableEntry block( - new Block(std::move(contents), kDisableGlobalSequenceNumber, - 0 /* read_amp_bytes_per_bit */, nullptr), + new Block(std::move(contents), 0 /* read_amp_bytes_per_bit */, nullptr), nullptr /* cache */, nullptr /* cache_handle */, true /* own_value */); auto reader = new MyPartitionedFilterBlockReader(table_.get(), std::move(block));