diff --git a/src/storage/src/hummock/sstable/backward_sstable_iterator.rs b/src/storage/src/hummock/sstable/backward_sstable_iterator.rs index 3f9e1a01b3b58..992cd5109497f 100644 --- a/src/storage/src/hummock/sstable/backward_sstable_iterator.rs +++ b/src/storage/src/hummock/sstable/backward_sstable_iterator.rs @@ -35,7 +35,7 @@ pub struct BackwardSstableIterator { cur_idx: usize, /// Reference to the sstable - pub sst: TableHolder, + sst: TableHolder, sstable_store: SstableStoreRef, diff --git a/src/storage/src/hummock/sstable/block.rs b/src/storage/src/hummock/sstable/block.rs index 82f21d7c971b1..186d21003bca9 100644 --- a/src/storage/src/hummock/sstable/block.rs +++ b/src/storage/src/hummock/sstable/block.rs @@ -164,7 +164,7 @@ impl Clone for Block { data_len: self.data_len, table_id: self.table_id, restart_points: self.restart_points.clone(), - hitmap: Hitmap::default(), + hitmap: self.hitmap.clone(), } } }