diff --git a/table/block_based/block_based_table_reader.cc b/table/block_based/block_based_table_reader.cc index 0b148a38d7..498bdfab14 100644 --- a/table/block_based/block_based_table_reader.cc +++ b/table/block_based/block_based_table_reader.cc @@ -1193,7 +1193,9 @@ Status BlockBasedTable::PrefetchIndexAndFilterBlocks( return s; } -void BlockBasedTable::SetupForCompaction() {} +void BlockBasedTable::SetupForCompaction() { + rep_->file->file()->Hint(FSRandomAccessFile::kNormal); +} TablePinningPolicy* BlockBasedTable::GetPinningPolicy() const { return rep_->table_options.pinning_policy.get();