criccomini
06/27/2025, 12:20 AMMAX_IN_FLIGHT_COMPACTIONS 🤔 I think I might need some help from @Rohan hehecriccomini
06/27/2025, 12:20 AMrust
while state.compactions().len() + compactions.len() < MAX_IN_FLIGHT_COMPACTIONS {
But we have this in compactor.rs:
rust
if self.state.num_compactions() >= self.options.max_concurrent_compactions {
info!(
"already running {} compactions, which is at the max {}. Won't run compaction {:?}",
And num_compactions() is just self.compactions().len()Rohan
06/29/2025, 3:41 PMmax_concurrent_compactions.criccomini
06/29/2025, 4:04 PMcriccomini
06/29/2025, 4:04 PMcriccomini
06/29/2025, 4:04 PM