Skip to content

Scope the in-place set-build fault injection to the build that can be redone - #118817

Merged
alexey-milovidov merged 4 commits into
ClickHouse:masterfrom
groeneai:groeneai/scope-inplace-set-build-failpoint
Sep 13, 2026
Merged

alexey-milovidov merged 4 commits into
ClickHouse:masterfrom
groeneai:groeneai/scope-inplace-set-build-failpoint

Conversation

@groeneai

@groeneai groeneai commented Sep 8, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #118722

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):

The prepared_sets_build_ordered_set_inplace_fail fault injection now fires only for the in-place set build that preserves its subquery source, so an armed failpoint can no longer leave another query's set uncreated and abort the server.

Description

prepared_sets_build_ordered_set_inplace_fail (added in #107924 to simulate an in-place set build that stops without creating its set) is injected in CreatingSetsTransform::generate(), which serves every set build, in-place or runtime. SYSTEM ENABLE FAILPOINT is server-wide and a ONCE arm survives until the first generate() call anywhere, so the shot lands on whatever set build comes next. Where that build cannot be redone, finishInsert() is skipped and FunctionIn raises LOGICAL_ERROR "Not-ready Set is passed as the second argument", aborting a debug or sanitizer server. BuzzHouse arms failpoints deliberately and the AST fuzzer replays them out of test corpora, so the abort lands on queries that never asked for a set.

Two lines reproduce it (system.one has no index, so the only build is the runtime one):

SYSTEM ENABLE FAILPOINT prepared_sets_build_ordered_set_inplace_fail;
SELECT 1 WHERE 1 IN (SELECT 1);

Exactly one build survives being abandoned: buildOrderedSetInplace runs its speculative pipeline against a clone of the subquery source, so the deferred build still creates the set. FutureSetFromSubquery::build moves source out, so the runtime build and the two in-place builds that go through it leave the set uncreated for good. Fix: carry recoverable_build on CreatingSetStep, set it at that one site, and consult it before the fiu_do_on, not inside it: fiu_fail on a one-shot point spends the shot. Nothing changes when no failpoint is armed.

The new test pins all three directions through system.fail_points.enabled: still armed after a runtime build and after each of the two source-consuming in-place builds, spent after the recoverable one. 04489 and 04697 still pass.

This removes one producer of #118722, which stays open, and overlaps @ alexey-milovidov's open #102308 / #102192, which change the recovery after a failed in-place build rather than the injection scope.

Carrier report: BuzzHouse (amd_debug), 2026-09-05; census in #118722.


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

Version info

  • Merged into: 26.9.1.1409 (included in 26.9 and later)

groeneai and others added 3 commits September 8, 2026 10:56
`prepared_sets_build_ordered_set_inplace_fail` was added in ClickHouse#107924 to simulate a
*speculative* in-place set build that stops without creating its set, so that the
runtime deferred build has to recover it. The injection lives in
`CreatingSetsTransform::generate()`, but that transform serves both builds: the
in-place one (`FutureSetFromSubquery::buildSetInplace` / `::buildOrderedSetInplace`)
and the ordinary runtime one under `DelayedCreatingSetsStep`. The failpoint's own
comment asserted the narrow scope, and nothing enforced it: it held only while an
in-place build happened to be the first `generate()` call after the arm.

`SYSTEM ENABLE FAILPOINT` is server-wide and a `ONCE` arm survives until the first
`generate()` call anywhere in the process. When that call belongs to an unrelated
query's runtime build, `generate()` returns before `Set::finishInsert()`, so
`Set::isCreated()` stays false, `FutureSetFromSubquery::get()` returns nullptr, and
`FunctionIn::executeImpl` raises LOGICAL_ERROR from inside an already-running
`FilterTransform`, aborting a debug or sanitizer server. Only the in-place path has
a recovery, so nothing rescues the runtime build. In CI this is armed on purpose by
BuzzHouse and replayed verbatim by the AST fuzzer out of the corpora of
04489_not_ready_set_inplace_build.sql and 04697_shared_set_error_not_inherited.sh,
which is why the abort lands on queries that never asked for a set at all.

Carry the discriminator on the individual set build: `CreatingSetStep` gains
`speculative_build`, threaded through `FutureSetFromSubquery::build()` and set true
only at the three in-place construction sites, and
`CreatingSetsTransform::generate()` consults it before `fiu_do_on`. The check
precedes the injection rather than sitting inside it, because `fiu_fail` on a
`FIU_ONETIME` point consumes the shot: an inside check would let a runtime build
spend the shot and leave the speculative build it was armed for running unfaulted.

The flag deliberately travels on the step and not on `BuildQueryPipelineSettings`.
One settings object serves an entire plan, and `addPlansForSets` splices runtime set
plans in as children of that same plan, so a pipeline-wide flag would also mark
runtime `CreatingSetStep`s nested inside an in-place build's plan, including lazy
FINAL's internal set. That is a narrower version of the same bug. For the same
reason the nested `DelayedCreatingSetsStep` an in-place destructive fallback can
carry expands through `makePlansForSets` with the flag false, so its inner canonical
sets stay classified as runtime and the shot cannot abandon them.

Every new parameter is defaulted, and all five `build()` call sites state their value
explicitly so a future caller has to make the choice rather than inherit it. The
injected state is otherwise byte-identical, which is why 04489 and 04697 pass
unchanged; they remain the live proof that the in-place injection still fires.

Related: ClickHouse#118722

Co-Authored-By: Claude Opus 5 <[email protected]>
Narrows the previous commit on this branch, which marked all three in-place set
builds faultable. Review measured that the resulting binary still aborted with
the very error this branch removes: with the failpoint armed,
`SELECT count() FROM system.tables WHERE database IN (SELECT 'system')` raised
"Not-ready Set is passed as the second argument for function 'in'" at
`src/Functions/in.cpp:155` and aborted with signal 6.

The rule is narrower than "in-place versus runtime".
`FutureSetFromSubquery::build()` does `auto plan = std::move(source)`, and a
build that stops without creating its set throws nothing, so
`in_place_build_failure` stays unset and the next `build()` returns nullptr.
Only one build therefore survives being abandoned: the in-place build that runs
its pipeline against `source->clone()`, because `buildOrderedSetInplace` returns
before it resets `source`, leaving the original plan for
`DelayedCreatingSetsStep::makePlansForSets` to build. Every other build goes
through `build()` and consumes `source`: `buildSetInplace`, the destructive
fallback `buildOrderedSetInplace` takes for a non-clonable source, and every
runtime build. Abandoning any of those leaves the set uncreated for good, and
`FunctionIn::executeImpl` then raises LOGICAL_ERROR from inside an
already-running `FilterTransform`, aborting a debug or sanitizer server.

The two in-place builds that are now excluded are ordinary rather than exotic:
`ReadFromMergeTree::applyFilters` reaches
`VirtualColumnUtils::buildSetsForDAG` for PREWHERE and the row-level filter, and
some twenty further callers do too, from `StorageFile` and `StorageURL` to the
system tables and `CheckConstraintsTransform`. All of that runs in
`optimizeTreeSecondPass`, before `addStepsToBuildSets`, so those builds go first
and they are the ones that consume `source`.

So `CreatingSetStep::recoverable_build` (renamed from `speculative_build`, which
misled: the file calls all three in-place builds speculative and two of them
cannot recover) is true at exactly one construction site, the clone-backed one.
`CreatingSetsTransform::generate()` consults it before `fiu_do_on`. The check
precedes the injection rather than sitting inside it, because `fiu_fail` on a
`FIU_ONETIME` point consumes the shot: an inside check would let any build spend
the shot and leave the recoverable build it was armed for running unfaulted.

The flag deliberately travels on the step and not on
`BuildQueryPipelineSettings`. One settings object serves an entire plan, and
`addPlansForSets` splices runtime set plans in as children of that same plan, so
a pipeline-wide flag would also mark runtime `CreatingSetStep`s nested inside an
in-place build's plan, including lazy FINAL's internal set. That is a narrower
version of the same bug.

`build()` loses its default so a future caller has to choose; the three other
signatures keep `= false` for out-of-file callers, `false` being the fail-safe
value. The injected state is otherwise byte-identical, which is why 04489 and
04697 pass unchanged; they remain the live proof that the in-place injection
still fires, 04697 through its `max(builds) >= 2` assertion.

05137 gains an arm for the destructive in-place path, which is the direct
regression test for this commit, and a pre-arm `EXPLAIN PIPELINE` assertion so
the runtime arm cannot go vacuous if `1 IN (SELECT 1)` is ever folded into a
scalar comparison.

In CI the failpoint is armed on purpose by BuzzHouse and replayed verbatim by the
AST fuzzer out of the corpora of 04489_not_ready_set_inplace_build.sql and
04697_shared_set_error_not_inherited.sh, which is why the abort lands on queries
that never asked for a set at all.

Related: ClickHouse#118722

Co-Authored-By: Claude Opus 5 <[email protected]>
05137 asserts that the in-place set-build failpoint spends its one shot only on
the build that can be redone, but it covered two of the three sites this branch
classifies. `FutureSetFromSubquery::buildOrderedSetInplace` falls back to a
destructive build when the subquery source cannot be cloned, and that site was a
separately written `/*recoverable_build=*/false` that no test protected: flipping
just that literal reddened nothing in the tree, so the classification which is
this branch's whole contract was only two thirds asserted.

Add an arm that reaches the fallback with the shot armed. `system.build_options`
is read through `ReadFromSystemOneBlock`, which overrides neither `clone()` nor
any base that does, so it inherits `IQueryPlanStep::clone()` and throws
NOT_IMPLEMENTED; a primary key `IN` over it therefore lands on the fallback
rather than on the clone-backed path. Which path it took is asserted rather than
assumed: the arm brackets its query with `system.errors['NOT_IMPLEMENTED']`
readings and requires the counter to grow, the technique 04489 already uses. So
the arm cannot quietly turn into a second clone-backed arm should that source
ever become clonable, which would also spend the shot early and make the arm
after it vacuous. Measured, the delta is 1 for this shape and 0 for the
clone-backed one.

Also read `system.tables` once in the arm above it. It compared the outer read
against a scalar subquery over the same table, and the two are evaluated at
different times, so a system log table created lazily on its first flush in
between would have flipped the assertion. `min(database = 'system')` keeps the
property that the filter was really applied, and additionally pins which
database survived it.

Related: ClickHouse#118722

Co-Authored-By: Claude Opus 5 <[email protected]>
@groeneai groeneai added can be tested Allows running workflows for external contributors groeneai-origin-request PR origin: a maintainer pinged or directed groeneai labels Sep 8, 2026
@groeneai

groeneai commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author
Internal second-model review: adjudication log (click to expand)

Pre-publication review by an independent model (engine: codex), three cold rounds, each paired with an
independent code review of my own and adjudicated against recorded measurements.

Round 1, on the first binary:

# Sev Finding Verdict Evidence / action
1 ❌ The fault injection was marked usable at all three in-place set builds, but only one of them can survive being abandoned, so an armed failpoint still left a set uncreated and aborted the server (src/Interpreters/PreparedSets.cpp:480, :677) AGREE, fixed Reproduced on that binary: with the failpoint armed, SELECT count() FROM system.tables WHERE database IN (SELECT 'system') reported Not-ready Set is passed as the second argument for function 'in' at src/Functions/in.cpp:155 and aborted. build moves the subquery source out, so only the build that runs against a clone of it can be redone. The injection is now limited to that one build
2 ⚠️ No test covered the destructive unordered in-place path, so re-marking it faultable reddened nothing (tests/queries/0_stateless/05137_inplace_set_build_fault_injection_scope.sql) AGREE, fixed New arm asserts the system.tables filter still applies and the one shot is still armed after it; a new mutant re-marking buildSetInplace faultable reddens exactly that arm
3 ⚠️ The comment justifying the classification claimed an in-place build "can still be redone by the runtime build" without qualification, which is false for the two builds that consume the source (src/Processors/QueryPlan/CreatingSetsStep.h) AGREE, fixed Rewritten to state which build is recoverable and why; the flag renamed to recoverable_build
4 💡 The new build parameter carried a default while the comment claimed every caller states it explicitly AGREE, fixed Default dropped on build; all five call sites already passed the value
5 💡 A test comment in 04489_not_ready_set_inplace_build.sql described the injection scope in the same over-broad terms AGREE, fixed Reworded with the narrowed scope

Round 2, on the corrected binary, re-reviewed cold against the round-1 delta:

# Sev Finding Verdict Evidence / action
6 ⚠️ PreparedSets.cpp:677, the ordered build's destructive fallback for a non-clonable source, is a separate false literal that no test protects: flipping only that literal reddens nothing (tests/queries/0_stateless/05137_inplace_set_build_fault_injection_scope.sql) AGREE, fixed Its sibling site is covered by both an arm and a mutant; this one was covered only by inspection. 04489 does reach the fallback with its nested query, but only after the one shot has been spent on the innermost clonable subquery. The new arm reaches it with the shot still armed, through a primary-key IN whose right-hand side reads a table whose plan step does not implement clone, and proves the clone was genuinely rejected via an error-counter delta, so the arm cannot pass by quietly taking the clone-backed path instead; a new mutant re-marking that site faultable reddens exactly this arm
7 💡 One arm compared two separate reads of system.tables, one at analysis time and one at execution time, so a lazily created system log table appearing between them could fail it AGREE, fixed Replaced with a single-read oracle that still rules out both an empty result and an unfiltered one

Round 3, on the test-only round-2 delta. No blocker and no major; the round-1 and round-2 findings
are both discharged, and the new arm's mutant reddens with the aborting query named in the fatal block.

# Sev Finding Verdict Evidence / action
8 💡 Function names in new prose are spelled f() where the in-tree writing convention asks for f AGREE, not applied The convention is real and binding (.claude/CLAUDE.md), and it covers comments and commit messages, so this is not disputed. It is not applied because the same convention is violated 140 times inside doc comments in src/Interpreters and src/Processors at the base commit, including four times in PreparedSets.cpp and four times in CreatingSetsTransform.cpp, i.e. inside the enclosing comment blocks this PR edits; changing only the two new occurrences would leave those blocks inconsistent with themselves. Happy to apply it here, or tree-wide separately, if a maintainer prefers
9 💡 #102308 / #102192 are cited without one-relationship-per-line full URLs DISAGREE That template instruction scopes to the linked-issues block, which this body populates correctly with the one declared relationship as a full URL. Those two numbers appear only in prose, explaining how the PRs overlap and that they are not touched; on the same reading #107924 would also have to become a relationship line. The prose is also more useful to a maintainer triaging a conflict than a bare Related: line
10 💡 The new test creates its error-counter table without a preceding DROP TABLE IF EXISTS, unlike the table above it AGREE, not applied Matches 04489, which does the same; CI gives each test a fresh database, so this only costs a clearer diagnostic on a path that has already failed

Checked without producing a finding, across the three rounds: every construction site of the new flag,
including two outside this diff that correctly keep the fail-safe default; that no plan clone, plan
serialization or plan optimization can drop the flag; that a build without libfiu still reads both
members, so no -Wunused-private-field; that the check precedes fiu_do_on rather than sitting inside
it, because fiu_fail on a one-shot point spends the shot; that the one runtime build call site with
no in-tree caller is the only literal no test can reach; and that the new test's assertions survive CI
setting randomization, in particular that prefer_global_in_and_join is not randomized, which would
otherwise skip the clone attempt and fail the new arm rather than pass it spuriously.

Severity: ❌ blocker / ⚠️ major / 💡 nit. DISAGREE verdicts carry recorded evidence and are terminal
per finding. Findings on hunks unchanged by a fix round are auto-dropped.

Session id: cron:clickhouse-review-slot-8:20260908-135600

@groeneai

groeneai commented Sep 8, 2026 •

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes, 100% on the first try, no randomization needed, in two shapes. Runtime build: SYSTEM ENABLE FAILPOINT prepared_sets_build_ordered_set_inplace_fail; then SELECT 1 WHERE 1 IN (SELECT 1); (system.one has no primary key or skip index, so no in-place build runs and the armed one shot is consumed by the runtime build). Destructive synchronous in-place build: same arm, then SELECT count() FROM system.tables WHERE database IN (SELECT 'system');, which builds its set through VirtualColumnUtils::buildSetsForDAG -> FutureSetFromSubquery::buildSetInplace. Destructive ordered in-place fallback: same arm, then a primary-key IN whose subquery source cannot be cloned, SELECT count() FROM t_fp_scope WHERE k IN (SELECT toUInt64(1) FROM system.build_options LIMIT 1);, measured 5/5 deterministic, and the system.errors['NOT_IMPLEMENTED'] delta around it proves the clone really was rejected (delta 1; the clone-backed shape gives 0).
b Root cause explained? The ONCE failpoint added in #107924 to simulate an in-place set build that stops without creating its set was injected in CreatingSetsTransform::generate(), which serves every set build alike. SYSTEM ENABLE FAILPOINT is server-wide and a ONCE arm survives until the first generate() anywhere, so when the shot lands on a build that cannot be redone, Set::finishInsert() is skipped, FutureSetFromSubquery::get() returns nullptr, and FunctionIn::executeImpl (in.cpp:155) raises LOGICAL_ERROR inside a running FilterTransform (FilterTransform.cpp:298). Only one build can be redone: build() does std::move(source), so the sole survivor is the in-place build that runs against source->clone(), which returns before source.reset(). Every other build (both source-consuming in-place builds and every runtime build) leaves the set uncreated for good.
c Fix matches root cause? Yes, at the injection point, which is the thing that was broader than the fault it documents. CreatingSetStep carries bool recoverable_build, threaded through FutureSetFromSubquery::build() and true only at the one clone-backed construction site; generate() consults it before fiu_do_on. No bound widened, no dataset shrunk, no no-random-* tag, and no guard at the throw site (FunctionIn). No product code path changes when no failpoint is armed.
d Test intent preserved / new tests added? New 05137_inplace_set_build_fault_injection_scope, 11 assertions in 6 arms: a pre-arm EXPLAIN PIPELINE assertion pinning the runtime arm's premise, and one arm per build kind: runtime, destructive buildSetInplace, destructive ordered fallback, and the recoverable clone-backed build. The ordered-fallback arm is self-validating: it brackets its query with system.errors['NOT_IMPLEMENTED'] reads and asserts the delta grew, so it cannot silently decay into a duplicate of the clone-backed arm if that source ever becomes clonable. 04489_not_ready_set_inplace_build and 04697_shared_set_error_not_inherited pass unchanged, which is the live proof the in-place injection still fires (04697's max(builds) >= 2 still returns 1); the only edit to 04489 is one comment sentence. Reference regenerated from a measured run.
e Both directions demonstrated? Yes, for both repro shapes, on Build-ID-verified binaries with the server identity asserted each time. Base e7195362d5f97d9b7ba8c1db2bc72e279f0b9094: both shapes abort, exit 134, Logical error: 'Not-ready Set is passed as the second argument for function 'in'' at in.cpp:155 under FilterTransform.cpp:298. The ordered-fallback shape aborts identically on that same base (67 <Fatal>, base Build ID stamped in the fatal block). Fix b292c2690c20bbbdf4980d9fbbf1556de5ad182f: all three shapes return their counts with the server alive and the one shot still armed; the clone-backed in-place build is still faulted and then recovers (500, shot then spent).
f Fix is general across code paths? Full enumeration re-derived: 3 CreatingSetStep construction sites (PreparedSets.cpp:436 forwards, :653 clone-backed build_into_temporary_set true, optimizeLazyFinal.cpp:709 false), 5 FutureSetFromSubquery::build() call sites each stated explicitly and all false (the parameter's default was dropped so a new caller must decide), and exactly 1 CreatingSetsTransform construction site (QueryPipelineBuilder.cpp:880), hence a single gate. Exactly one true in the tree, and each of the three sites now has test coverage keyed to it: the runtime sites via the runtime arm, :483 via arm 4 plus mutant M4, and :677 via arm 4b plus mutant M5. Before this round :677 was an independently written false that no test protected. The external_table_set recursion is covered because the value is decided inside the two in-place functions, not at their call sites. A nested DelayedCreatingSetsStep inside an in-place plan expands through makePlansForSets with false. CreatingSetStep is not serializable, so no serialization field is needed.
g Fix generalizes across inputs (params/datatypes/wrappers)? Not a value-domain fix: the discriminator is a plan-construction property, independent of element types, wrappers (Nullable / LowCardinality / Array / Map / Const), the IN-family function and cardinality. The flag is a bool written once in the ctor and read once; both of its states are covered by the test, and both kinds of false (runtime, and destructive in-place) have their own arm.
h Backward compatible? (maintainer-approved exception only) Yes. No setting added or changed, so no SettingsChangesHistory.cpp entry; no format, wire or serialization change; no experimental gate. CreatingSetStep, CreatingSetsTransform and QueryPipelineBuilder::addCreatingSetsTransform keep = false defaults for out-of-file callers, false being the fail-safe value; only build() loses its default, and all five of its call sites are in-tree. The only observable change is when a test-only failpoint fires.
i Invariants and contracts preserved? The injected state is byte-identical: same transform, same temporary SetAndKey, same PreparedSetsCache promise interaction. generate()'s postconditions are unchanged on both branches; no lock, ordering, block-structure or atomicity contract is involved, and nothing durable is written, so there is no crash/restart re-entry path. The invariant the change adds is that only a build whose source survives may be abandoned. One deliberate property: the if (recoverable_build) check sits outside fiu_do_on, because fiu_fail on a FIU_ONETIME point consumes the shot; an inside check would let any build spend the shot and leave the recoverable build it was armed for unfaulted. Two enabled reads in the test pin exactly that, one per kind of non-recoverable build.

Mutation-tested: 5 mutants, each on its own verified Build ID with the running server's buildId() asserted to match. Gate always true (pre-#107924 behaviour) and gate inverted both abort on the runtime arm; re-marking buildSetInplace recoverable aborts on the destructive in-place arm; re-marking the ordered fallback recoverable aborts on the ordered-fallback arm, whose own query text the fatal block names; injection dead leaves the server alive and reddens only the last assertion. Local style checks 14/15, the sole failure being the infra-only settings_changes_history local-execution artifact.

Session id: cron:clickhouse-impl-slot-4:20260908-131900

@clickhouse-gh

clickhouse-gh Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [b6f91e1]

Summary: ✅


AI Review

Summary

This PR narrows prepared_sets_build_ordered_set_inplace_fail so the one-shot fault injection can fire only on the clone-backed in-place set build that the deferred path can safely redo. The current head threads recoverable_build consistently through every CreatingSetStep / CreatingSetsTransform construction path I could reach, leaves runtime and destructive fallback builds un-faultable, and adds focused coverage for the runtime path, the destructive unordered path, the destructive ordered fallback, and the recoverable clone-backed path.

Final Verdict

Status: ✅ Approve

LLVM Coverage Report

Measured on commit b6f91e1.

Metric Baseline Current Δ
Lines 89.00% 88.90% -0.10%
Functions 91.70% 91.80% +0.10%
Branches 81.30% 81.30% +0.00%

Changed lines: Changed C/C++ lines covered: 62/74 (83.78%) · Uncovered code

Full report · Diff report

@groeneai

groeneai commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

cc @yariks5s @antaljanosbenjamin, could you review this? prepared_sets_build_ordered_set_inplace_fail is injected in CreatingSetsTransform::generate, which serves every set build, so an armed one-shot failpoint lands on whatever build comes next; where that build moved its subquery source out, the set is never created and FunctionIn raises a logical error from inside a running FilterTransform, aborting debug and sanitizer builds. This scopes the injection to the single in-place build that runs against a clone of its source and can therefore be redone.

@clickhouse-gh clickhouse-gh Bot added the comp-query-execution Runtime execution pipeline, processors, vectorized operators, resource management during execution. label Sep 8, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing b6f91e142 with master c9d36f690 (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

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

Job report

…uild-failpoint

# Conflicts:
#	src/Interpreters/PreparedSets.h
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Sep 13, 2026
Merged via the queue into ClickHouse:master with commit b631947 Sep 13, 2026
348 of 349 checks passed
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors comp-query-execution Runtime execution pipeline, processors, vectorized operators, resource management during execution. groeneai-origin-request PR origin: a maintainer pinged or directed groeneai 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.

3 participants