Skip to content

Conversation

@mkmkme
Copy link
Collaborator

@mkmkme mkmkme commented Jan 21, 2026

This PR also backports ClickHouse#88406 to fix the flaky test added in the original PR

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Fixed two-level aggregation when using Merge over Distributed (ClickHouse#87687 by @c-end + ClickHouse#88406 by @azat).

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Performance tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All with Aarch64
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • Tiered Storage (2h)

nickitat and others added 2 commits January 21, 2026 16:28
…merge-distributed

Fix two-level aggregation when using Merge over Distributed
…_merge_two_level_aggregation

tests: fix 03403_distributed_merge_two_level_aggregation flakiness
sum(1)
FROM remote('127.0.0.{1,1}', currentDatabase(), merge_test_table)
GROUP BY 1
SETTINGS distributed_aggregation_memory_efficient = 1, max_threads = 4, optimize_aggregation_in_order = 0, prefer_localhost_replica = 1, async_socket_for_remote = 1, enable_analyzer = 0, enable_producing_buckets_out_of_order_in_aggregation = 0, enable_memory_bound_merging_of_aggregation_results = 0;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I understand, setting enable_producing_buckets_out_of_order_in_aggregation was introduced only in 25.9 and not backported to Antalya, test must fail.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, great catch! I'll remove this setting from the test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants