You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
optimize: support global ordering for sort-enabled compactions
- When sort_enabled is true, collect all active files per partition into a single MergeBin instead of size-based bins
- Introduce build_global_sort_plan to assemble these per-partition bins
- Wire global sort plan into create_merge_plan for compact operations when sorting is enabled
- Retain singleton partitions in the sort path (no longer pruning single-file bins)
- Update metrics to reflect total files and partitions processed
This ensures that each partition’s output is rewritten in a single sorted pass without altering the overall compaction workflow.
0 commit comments