docs: addd comments to explain further the skip

pull/24376/head
NGA-TRAN 2023-02-07 09:34:40 -05:00
parent 6ec44d697a
commit 646349c52d
1 changed files with 2 additions and 0 deletions

View File

@ -231,6 +231,8 @@ async fn try_compact_partition(
let compaction_plan = build_compaction_plan(branch, Arc::clone(&components))?;
// Cannot run this plan and skip this partition because of over limit input num_files or size
// TODO: After https://github.com/influxdata/idpe/issues/17090 is iplemented (aka V3), we will
// split files to smaller branches and aslo compact L0s into fewer L0s, then we can remove this
if !components
.partition_resource_limit_filter
.apply(partition_id, &compaction_plan.files_to_compact)