Skip to content

Fix build of gtest_throttler_constraint and serialization_dynamic_fuzzer - #124798

Merged
alexey-milovidov merged 2 commits into
masterfrom
fix/throttler-constraint-gtest-fifoqueue
Oct 9, 2026
Merged

alexey-milovidov merged 2 commits into
masterfrom
fix/throttler-constraint-gtest-fifoqueue

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

unit_tests_dbms does not compile on master: #113697 added the parkOneRequest helper to gtest_throttler_constraint.cpp using FifoQueue, while commit 322f98b removed FifoQueue in favour of RequestQueue (migrating the other uses in that file). The two changes merged independently. This replaces the last FifoQueue with RequestQueue.

Related: #113697

Changelog category (leave one):

  • CI Fix or improvement (changelog entry is not required)

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

...

🤖 Generated with Claude Code


Workflow [PR]
Sync PR [sync-upstream/pr/124798]

Version info

  • Merged into: 26.10.1.1923-master (included in 26.10 and later)

#113697 added `parkOneRequest` using `FifoQueue`,
while 322f98b removed `FifoQueue` in favour of `RequestQueue`. The two merged
independently, so `unit_tests_dbms` no longer compiles on `master`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [3f197aa]

Summary: ❌

job_name test_name status info comment
Stateless tests (arm_binary, ParallelReplicas, s3 storage, parallel) FAIL
05210_lightweight_update_materialized_cte_in_ignore FAIL cidb
01513_optimize_aggregation_in_order_memory_long NOT_FAILED cidb
03273_group_by_in_order_still_used_when_group_by_key_doesnt_match_order_by_key NOT_FAILED cidb
01283_max_threads_simple_query_optimization NOT_FAILED cidb

AI Review

Summary

This PR fixes two stale API references after upstream refactors: the throttler unit test now uses RequestQueue instead of the removed FifoQueue, and the Dynamic serialization fuzzer now sets the current DeserializeBinaryBulkSettings::read_statistics flag. I do not see a correctness or compatibility issue in the current diff: RequestQueue still defaults to SchedulerAlgorithm::Fifo, so the throttler test helper keeps the same scheduling semantics, and the fuzzer change matches the current deserialization contract used by SerializationDynamic.

Final Verdict
  • ✅ No blocking or major issues found in the current diff.

@clickhouse-gh clickhouse-gh Bot added pr-ci comp-scheduler Workload scheduler and resource management: CPU/IO/memory scheduling, concurrency control, worklo... labels Oct 9, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 3f197aa9a with master 9fd0ee1a2 (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Compile time of recompiled translation units

6 translation units recompiled, 4 s compile time in total, 6 of them have a recent master baseline.

Job report

JasonLi-cn added a commit to JasonLi-cn/ClickHouse that referenced this pull request Oct 9, 2026
JasonLi-cn added a commit to JasonLi-cn/ClickHouse that referenced this pull request Oct 9, 2026
…he dynamic serialization fuzzer.

The setting was renamed on `master`; keep the fuzzer compiling after the merge. Same adaptation as ClickHouse#124798.

ClickHouse#120225
@nihalzp nihalzp mentioned this pull request Oct 9, 2026
@alexey-milovidov alexey-milovidov self-assigned this Oct 9, 2026
@alexey-milovidov
alexey-milovidov merged commit 48f09dc into master Oct 9, 2026
160 of 163 checks passed
@alexey-milovidov
alexey-milovidov deleted the fix/throttler-constraint-gtest-fifoqueue branch October 9, 2026 09:48
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 9, 2026
fhw12345 pushed a commit to fhw12345/ClickHouse that referenced this pull request Oct 10, 2026
Include the replacement of the remaining `FifoQueue` reference with `RequestQueue` and the updated serialization fuzzer setting. Preserve the lightweight-delete count optimization and its regression tests.

Related: ClickHouse#124798

Related: ClickHouse#78271

CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=78271&sha=4be83ae0c641cc6ad1e9eb286f9f0f2a40bee698&name_0=PR&name_1=Build%20%28arm_tidy%2C%202%2F4%29
valerypetrov added a commit to valerypetrov/ClickHouse that referenced this pull request Oct 12, 2026
…se-buckets

The last CI run checked out a master that still had the arm_tidy FifoQueue
break (fixed by ClickHouse#124798), so it stopped after the tidy build and dropped
every other job. Merging current master lets the full matrix run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocker This issue / pr blocks a new release comp-build-system Build system (CMake, compilation, platform builds). pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants