Skip to content

Commit

Permalink
fix: Compactor::build_tables on Major Compaction using incorrect …
Browse files Browse the repository at this point in the history
…level fs
  • Loading branch information
KKould committed Dec 9, 2024
1 parent 598bd30 commit d1e8d82
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/compaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,16 @@ where
inner: level_scan_ll,
});
}

let level_l_path = option.level_fs_path(level + 1).unwrap_or(&option.base_path);
let level_l_fs = manager.get_fs(level_l_path);
Self::build_tables(
option,
version_edits,
level + 1,
streams,
instance,
level_fs,
level_l_fs,
)
.await?;

Expand Down

0 comments on commit d1e8d82

Please sign in to comment.