compute read amp for tiered compaction

Signed-off-by: Alex Chi Z <iskyzh@gmail.com>
This commit is contained in:
Alex Chi Z
2024-01-17 15:49:43 +08:00
parent 70b1da4553
commit 11ff04227f
3 changed files with 15 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ impl SimpleLeveledCompactionController {
}
pub fn generate_compaction_task(
&mut self,
&self,
snapshot: &LsmStorageInner,
) -> Option<SimpleLeveledCompactionTask> {
let mut level_sizes = Vec::new();