Repository navigation
Disable the adaptive aggregator in 03634_autopr_output_bytes_estimation - #123781
Merged
Merged
Conversation
…ion` `query_12` randomly produced an output-bytes estimate of ~6.6M against the expected 2640000, just beyond the 2.5x tolerance. The server log of the failing run shows two threads reaching `adaptive_aggregator_freeze_threshold` keys (`Adaptive aggregation: local table frozen at 16542 keys`), followed by `Converting aggregation data to two-level`. The estimate then comes from the two-level bucket merge instead of the single-level one the expected values are calibrated for. Whether a thread crosses the threshold depends on how the marks are distributed between the reading threads, so reruns with the same randomized settings pass. The same mechanism was fixed in `05234` by pinning `enable_adaptive_aggregator = 0`. https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=ed7e72d6797b8e678518f5a2a26faff7f2bd695e&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_asan_ubsan%2C%20distributed%20plan%2C%20parallel%29 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Workflow [PR], commit [9b1f8ae] Summary: ✅ AI ReviewSummaryThis PR stabilizes Findings
Final Verdict
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #123653
query_12in03634_autopr_output_bytes_estimationsometimes produces an output-bytes estimate of ~6.6M against the expected 2640000, just past the 2.5x tolerance. According to the server log of the failing run, two threads reachedadaptive_aggregator_freeze_thresholdkeys (Adaptive aggregation: local table frozen at 16542 keys), and then cameConverting aggregation data to two-level. In that case the estimate is recorded per bucket by the two-level merge, not by the single-level path the expected values are calibrated for. Whether any thread crosses the threshold depends on how marks are distributed between the reading threads, which is why reruns with the same randomized settings pass. This PR pinsenable_adaptive_aggregator = 0, just as05234_query_plan_aggregation_having_prefilter_resultsdid for the same mechanism.CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=ed7e72d6797b8e678518f5a2a26faff7f2bd695e&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_asan_ubsan%2C%20distributed%20plan%2C%20parallel%29
Changelog category (leave one):
🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/123781]
Version info
26.10.1.1607-master(included in26.10and later)