Skip to content

Commit 5f67e87

Browse files
committed
fix
1 parent 9532243 commit 5f67e87

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/compaction/worker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use crate::{
1919
Segment, SegmentInner,
2020
},
2121
stop_signal::StopSignal,
22-
tree::inner::{SealedMemtables, TreeId},
22+
tree::inner::TreeId,
2323
Config, SegmentId, SeqNo,
2424
};
2525
use std::{

src/tree/ingest.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ impl<'a> Ingestion<'a> {
8989
trailer.offsets.tli_ptr,
9090
(self.tree.id, segment_id).into(),
9191
self.tree.config.descriptor_table.clone(),
92-
self.tree.config.block_cache.clone(),
92+
self.tree.config.cache.clone(),
9393
)?;
9494
let block_index = BlockIndexImpl::TwoLevel(block_index);
9595
let block_index = Arc::new(block_index);
@@ -98,7 +98,7 @@ impl<'a> Ingestion<'a> {
9898
tree_id: self.tree.id,
9999

100100
descriptor_table: self.tree.config.descriptor_table.clone(),
101-
block_cache: self.tree.config.block_cache.clone(),
101+
cache: self.tree.config.cache.clone(),
102102

103103
metadata: trailer.metadata,
104104
offsets: trailer.offsets,

0 commit comments

Comments
 (0)