Skip to content

Conversation

@leoyvens
Copy link
Collaborator

@leoyvens leoyvens commented Dec 6, 2025

According to Claude:

The predicate for Live files was returning *size_exceeded which meant files could only join a group when combined size ALREADY exceeded the target. Since two small files will typically not exceed the limit, no groups were ever formed in "Strict Eager Compaction" mode (when eager_compaction_limit >= target_partition_size).

Changed to !*size_exceeded to match Cold file behavior: files can join a group as long as combined size does NOT exceed the target. This allows accumulating many small files until they reach the target size.

@leoyvens leoyvens force-pushed the leo/fix-strict-eager-compaction branch from 56c3f86 to 197d3ba Compare December 7, 2025 17:07
The predicate for Live files was returning `*size_exceeded` which meant
files could only join a group when combined size ALREADY exceeded the
target. Since two small files can never exceed 512 MiB, no groups were
ever formed in "Strict Eager Compaction" mode (when eager_compaction_limit
>= target_partition_size).

Changed to `!*size_exceeded` to match Cold file behavior: files can join
a group as long as combined size does NOT exceed the target. This allows
accumulating many small files until they reach the target size.
@leoyvens leoyvens force-pushed the leo/fix-strict-eager-compaction branch from 197d3ba to 51ebf8d Compare December 7, 2025 18:24
@leoyvens leoyvens marked this pull request as ready for review December 7, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants