Skip to content

Preserve aggregation candidates during root merging - #6750

Open
snowyukitty wants to merge 1 commit into
quickwit-oss:mainfrom
snowyukitty:fix/root-aggregation-pruning
Open

Preserve aggregation candidates during root merging#6750
snowyukitty wants to merge 1 commit into
quickwit-oss:mainfrom
snowyukitty:fix/root-aggregation-pruning

Conversation

@snowyukitty

Copy link
Copy Markdown

Root aggregation merges now carry an explicit role: leaf fan-in remains bounded by segment_size, while root fan-in retains every leaf candidate until existing finalization performs the final prune. Focused coverage exercises leaf pruning, the leaf-to-root transition, root candidate preservation, and repeatable equivalent merges.

Tests:

  • python3 .hprun/consumer-contract-6676.py (consumer-contract and author-contract; 3 passed each)
  • bash .hprun/diff-check-6676.sh (1 passed)
  • /usr/bin/rustfmt --check --edition 2024 quickwit/quickwit-search/src/collector.rs quickwit/quickwit-search/src/root.rs (passed)
  • make fmt encountered an unrelated author-sandbox baseline failure: nightly rustup is unavailable and the unchanged license-header script has CRLF line endings.
  • The frozen Rust suite remains reserved for controller-host validation.

Generated with OpenAI GPT-5.6 Sol via Codex.

@snowyukitty
snowyukitty requested a review from a team as a code owner August 31, 2026 14:15
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.

1 participant