Skip to content

Build Iceberg manifest filter sets on the query thread instead of the manifest reader thread - #118486

Merged
scanhex12 merged 4 commits into
ClickHouse:masterfrom
groeneai:iceberg-prepare-manifest-sets-before-reader-thread
Sep 21, 2026
Merged

scanhex12 merged 4 commits into
ClickHouse:masterfrom
groeneai:iceberg-prepare-manifest-sets-before-reader-thread

Conversation

@groeneai

@groeneai groeneai commented Sep 6, 2026 •

Copy link
Copy Markdown
Collaborator

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

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

...

Description

ThreadSanitizer reports a data race on a FutureSetFromSubquery's source
(unique_ptr<QueryPlan>) in one Iceberg query. Four unrelated PRs hit it in 22 hours on
Stress test (*_tsan); one names the deleted lambda (frames below).

IcebergIterator's constructor gave DataFileEntriesStream a prepare callback that built the
manifest filter sets, and that stream's constructor immediately spawns the producer thread running
it. The constructing thread meanwhile prepares the same sets via buildSetInplace -> build(),
whose std::move(source) writes source unlocked while the producer dereferences it under an
inplace_build_mutex the writer never takes. A move in between null-dereferences on the producer
thread.

The fix deletes the callback and builds the sets in the constructor body, before
data_files_stream exists, so no set is built on its producer thread.
ReadFromObjectStorageStep::applyFilters already does this for the ordinary read path. The
callback came from #116723, which is in no release, hence Not for changelog.

The master merge here had to move one more thing. Master gave that same callback a second job,
constructing the ManifestListPruner, whose KeyCondition materialises an IN (subquery) right
side through buildOrderedSetInplace. Leaving it on the producer thread would have kept the access
this PR serialises, so it runs in the constructor too, after the set build it depends on.
05045_iceberg_manifest_partition_arity still passes, its pruning counters included.

A thread-attribution probe on the two unprepared-set shapes (cluster, GLOBAL IN) shows one set
touched by two threads before the change and one after, with the producer still delayed 300 ms. No
lock is added. The new test asserts results only, so CI's sanitizer arms are its race oracle
(no local TSAN report: self-connecting queries hang on my TSAN build).

A set-build failure now propagates from the constructor with its original text, not next()'s
"Iceberg iterator is failed with exception" wrapper, which no test asserts.

Residual: a partition-key set is consumed by a pruning KeyCondition on the decode pool, a route
this PR leaves untouched, so the test has no partition-column arm. A 20-run probe found none of
those pool entries holding a live source, so no race is demonstrated there.

CI provenance: 4 unrelated carriers, 0 master rows, 90 days
SELECT check_start_time, pull_request_number, head_ref, check_name, substring(commit_sha, 1, 12)
FROM default.checks
WHERE check_start_time > now() - INTERVAL 90 DAY AND test_status IN ('FAIL', 'ERROR')
  AND position(test_context_raw, 'data race') > 0
  AND position(test_context_raw, 'IcebergIterator.cpp') > 0
ORDER BY check_start_time
When (UTC) Carrier Check Report
2026-09-05 22:13:45 #114613 Stress test (amd_tsan) 9f16968a6bb1
2026-09-06 13:01:02 #118095 Stress test (arm_tsan) 4ac9d78d1e19
2026-09-06 16:07:13 #112808 Stress test (amd_tsan) debb128c12ba
2026-09-06 20:06:56 #118429 Stress test (arm_tsan) b92a5ca71f4f

Anchored on the changed file: an unanchored FutureSetFromSubquery::build match also catches
buildOrderedSetInplace, pulling in an unrelated bloom-filter-index report. The last row is clearest,
attributing the access to
IcebergIterator::IcebergIterator(...)::$_0::operator()() IcebergIterator.cpp:357:17, the deleted
prepare lambda. No carrier touches PreparedSets.cpp, VirtualColumnUtils.cpp,
IObjectIterator.cpp, StorageObjectStorageSource.cpp or any Iceberg file.


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

Version info

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

… manifest reader thread

`IcebergIterator`'s constructor handed `DataFileEntriesStream` a `prepare` callback that called
`VirtualColumnUtils::buildOrderedSetsForDAG` on the manifest filter DAG, and that stream's
constructor immediately spawns its producer thread, whose `run()` invoked the callback as its first
real statement. The constructing thread meanwhile returned into `createFileIterator`, which wraps the
iterator in `ObjectIteratorWithPathAndFileFilter`, whose member initialiser reaches
`buildSetsForDAG` -> `FutureSetFromSubquery::buildSetInplace` -> `build()`, where
`auto plan = std::move(source)` writes `source` while holding no lock.

Both DAGs are clones of one `filter_actions_dag`, so a `ColumnSet` present in both hands out the same
`FutureSetFromSubquery`. The producer reads that `source` at `PreparedSets.cpp:544` under
`inplace_build_mutex`, then dereferences it at `:549` and `:596`; the writer never takes that mutex,
so a move landing between the check and either dereference is a null dereference on the producer
thread. ThreadSanitizer reports the pair as a race on `unique_ptr<QueryPlan>::release()`.

Two shapes reach the iterator with a set that nothing has prepared yet, because
`ReadFromObjectStorageStep::applyFilters` prewarms the sets on the query thread for the ordinary read
path but not for these: a cluster read, whose coordinator (`IStorageCluster.cpp`) prewarms nothing,
and the `GLOBAL IN` family, which the eager build skips on purpose. In every other shape the callback
was already a no-op, which is why the hoist costs nothing there.

Deleting the parameter rather than relocating the call is deliberate: `DataFileEntriesStream` can then
run no caller-supplied code on its producer thread, so this cannot be reintroduced by the next caller.
The `data_snapshot` guard mirrors `run()`'s own early return, so a snapshot-less read still never
executes the subquery.

Measured with a thread-attribution probe on both shapes, with the producer deliberately delayed by
300 ms in each arm: one set object is touched by two threads before this change and by one thread
after it, and the ordered build now precedes the unordered one on the query thread. That is the
ordering `ReadFromMergeTree.cpp` already enforces for the same shared-`ColumnSet` shape.
`IcebergPartitionPrunedFiles` is unchanged, and delete-manifest decoding, the one overlap this
serialises, measures single-digit milliseconds warm.

Alternatives rejected: a mutex around the sibling builder in `PreparedSets` puts a lock on every
`IN (subquery)` path to compensate for one caller's asynchrony, and is incomplete anyway because both
dispatchers call `future_set->get()` before either builder's lock; `callOnce` is refused by the code's
own comment, since a build may stop without creating the set and must stay retryable; an atomic
pointer gives no lifetime guarantee across `source->clone()`.

One observable change: a set-build failure now propagates out of the constructor with its original
message rather than being re-thrown by `IcebergIterator::next` wrapped as "Iceberg iterator is failed
with exception: {}". No test asserts that wrapper text.
…ares eagerly

Covers the two read shapes that reach `IcebergIterator` with a `_path IN (subquery)` filter set that
no eager build has prepared: a cluster read, whose coordinator prewarms nothing, and `GLOBAL IN`,
which `ReadFromObjectStorageStep::applyFilters` skips on purpose. There was no cluster-based Iceberg
stateless test before this one.

The fixture is built through the SQL API, one insert per partition, so the snapshot has several data
manifests and manifest decoding has real work to do while the sets are prepared. No fixture data is
committed and no MinIO is required.

Both assertions are fixed values, and `groupArray` is wrapped in `arraySort` because the row order of
a parallel read is not stable. The test is therefore a stable functional test everywhere, while the
concurrency it sets up is judged by the sanitizer and stress arms, which run this file too. It is not
claimed to fail deterministically on an unfixed build.

Partition-column variants are deliberately absent. A partition-key set is consumed by
`ManifestFilesPruning`'s `KeyCondition` on the manifest decode pool, a route left untouched here, and
those threads were measured still entering `buildOrderedSetInplace` on an uncreated set, so such arms
could report a race that this change does not claim to fix.

`no-fasttest` is the convention for every Iceberg test. No `no-parallel`: the test waits on no
failpoint, and its table name and path are derived from the test database.
@groeneai groeneai added can be tested Allows running workflows for external contributors groeneai-origin-ci-master PR origin: master/nightly CI monitoring finding labels Sep 6, 2026
@groeneai

groeneai commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator Author
Internal second-model review: one finding declined with evidence, one noted

⚠️ Declined: "add a failpoint so the new test fails deterministically on an unfixed build". The
observation is correct, the assertions are result-only. A pruning-count oracle is unconstructible
rather than merely hard: createPathAndFileFilterDAG admits a column only if it is _file/_path or
absent from getCommonVirtualsForFileLikeStorage, while
ManifestFilesPruner::transformFilterDagForManifest admits only columns carrying a schema id, so no
column is both in the path filter and usable for pruning, and IcebergPartitionPrunedFiles is
identical across five arms even with the producer delayed 300 ms. A failpoint would add production
instrumentation to a -12/+5 change, and the one arm where a worker still builds a set is the
partition-key arm, which would report the signature this PR fixes rather than its absence. The
concurrency oracle is therefore the TSAN and stress arms, which caught this four times in 22 hours;
the fix itself is proven by the both-directions thread-attribution probe in the description
(set -> 2 threads pre-fix, 1 thread post-fix, producer delayed 300 ms in each arm).

💡 Noted, not fixed: the added comment says the sets are shared with a reader "which prepares them
on its own thread". That reader prepares them on the query thread, the same one running the
constructor. The invariant the comment states is correct; I can reword the premise if preferred.

@groeneai groeneai added can be tested Allows running workflows for external contributors groeneai-origin-ci-master PR origin: master/nightly CI monitoring finding labels Sep 6, 2026
@clickhouse-gh clickhouse-gh Bot closed this Sep 6, 2026
@clickhouse-gh clickhouse-gh Bot reopened this Sep 6, 2026
@groeneai

groeneai commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator Author

cc @scanhex12 @Michicosun, could you review this? IcebergIterator's constructor handed DataFileEntriesStream a prepare callback that built the manifest filter sets on the producer thread that stream spawns, while the constructing thread prepared the same shared FutureSetFromSubquery through buildSetInplace, so an unlocked std::move(source) raced a mutex-guarded read of that pointer; the callback is deleted and the sets are built in the constructor body instead.

@clickhouse-gh

clickhouse-gh Bot commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [96d5f29]

Summary: ❌

job_name test_name status info comment
Integration tests (amd_asan_ubsan, db disk, old analyzer, 3/6) ERROR
Timeout FAIL cidb

AI Review

Summary

This PR moves Iceberg manifest-filter set preparation, and the merged-in ManifestListPruner construction that depends on it, onto the query thread before DataFileEntriesStream creates its producer thread. I re-checked the current head, the full diff, and the prior discussion threads; I did not find any remaining blocker or major issue in the change as it stands.

Final Verdict

✅ No new review findings.

LLVM Coverage Report

Measured on commit 96d5f29.

Metric Baseline Current Δ
Lines 89.00% 89.00% +0.00%
Functions 91.80% 91.80% +0.00%
Branches 81.30% 81.30% +0.00%

Changed lines: Changed C/C++ lines covered: 29/29 (100.00%) · Uncovered code

Full report · Diff report

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Sep 6, 2026
@clickhouse-gh clickhouse-gh Bot added the comp-datalake Data lake table formats (Iceberg/Delta/Hudi) integration. label Sep 7, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 96d5f29de with master a61a24c6a (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

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

Job report

@groeneai

groeneai commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator Author

Measurement on the second residual in the description (a partition-key set consumed by a pruning KeyCondition on the decode pool), in case the completeness question comes up in review.

Probe on this branch's binary, part GLOBAL IN (SELECT ...) over an 8-partition IcebergLocal table, 30 queries each in its own probe window: 525 buildOrderedSetInplace entries from decode-pool threads, none of them with source non-null. All 15 observations of a live source were on a thread that holds inplace_build_mutex, and across 63 distinct set objects no unlocked build() was logged after a pool thread had touched the same object. Results matched in all 30 runs, and IcebergPartitionPrunedFiles was invariant per shape (6 for GLOBAL IN, 12 for plain IN).

Of the reports carrying PreparedSets.cpp:430 in the CI database over the last 90 days, all 8 have a DataFileEntriesStream producer frame on the read side and none have a ManifestFilesPruning frame, so the read side deleted here is the one every reported occurrence has.

That is why I am not opening a follow-up for the decode-pool route.

`Stateless tests (amd_llvm_coverage, old analyzer, s3 storage, DBReplicated, parallel, 2/3)`
failed this file deterministically, 3 of 3 reruns, on its first arm only, while all 250
flaky-check runs and every other configuration passed:

     cluster, path filter:
    -2 ['v2','v3']
    +0 []

That is the old analyzer, and it predates this branch. Reproduced with `enable_analyzer=0`
installed in the server's default profile, which is how that job sets it: the arm reads no rows
on a binary built from this branch and on one built without its source diff, identically. With
the old analyzer nothing prepares the set for this shape, so the coordinator's path filter drops
every listed object and the shards receive no files, while a literal `_path IN ('...', '...')`
over the same cluster function still returns the two rows there, so the filter itself works.

The arm also measures nothing under the old analyzer, which is why pinning fits better than a
`no-old-analyzer` tag that would drop the whole file from that job. On the pre-change binary with
a set-touching probe, the unpinned query enters one mutator on one thread and never calls
`build()`, while the same query with the analyzer pinned, on that same old-analyzer server,
reaches the pair this test exists for: two threads on one set object, one of them the destructive
move. The `GLOBAL IN` arm passes unpinned and stays unpinned.
@groeneai

groeneai commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator Author

Pushed 31f31e0: pinned enable_analyzer = 1 on the new test's cluster arm.

Stateless tests (amd_llvm_coverage, old analyzer, s3 storage, DBReplicated, parallel, 2/3) failed
that arm deterministically, 3 of 3 reruns, 0 [] instead of 2 ['v2','v3'], while 250 of 250
flaky-check runs and every other configuration passed.

It is the old analyzer, and it is not this branch. With enable_analyzer=0 in the server's default
profile, which is how that job installs it, the arm reads no rows both with and without this
branch's source diff. Nothing prepares the set for that shape there, so the coordinator's path
filter drops every listed object and the shards receive no files; a literal _path IN ('...', '...')
over the same cluster function still returns the two rows, so the filter itself works. An
old-analyzer read of this shape returning nothing is therefore pre-existing on master, and I am not
raising it separately.

The arm also measures nothing under the old analyzer, which is why I pinned rather than tagging the
file no-old-analyzer and losing it from that job entirely. On a binary built without the fix, the
unpinned query enters one mutator of that FutureSetFromSubquery on a single thread and never calls
build(); the same query with the analyzer pinned, on that same old-analyzer server, reaches the
pair the test exists for, two threads on one set object with one of them the destructive move. The
GLOBAL IN arm passes unpinned and stays unpinned.

Verified through tests/clickhouse-test with the PR binary: pinned passes on an old-analyzer server
and unpinned reproduces the CI diff exactly, and 10 of 10 runs pass on a new-analyzer server either
way, so the pin is inert in the ordinary lane.

@groeneai

groeneai commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 31f31e0

Every failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
whose fixing-PR link will be posted here when it opens. Only CH Inc sync is exempt.

Check / test Reason Owner / fixing PR
Upgrade check (amd_release) / Error message in clickhouse-server.log (see upgrade_error_messages.txt) log-scan red: after the upgrade restart the revived mutation of test_3.t_stale_part_type_5 (from master's 04653_mutation_rewrite_stale_part_column_type, which this PR does not touch) retries about once a second with Code: 47 ... Unknown expression identifier 'b'. Maybe you meant: ['a']. Breadth in CIDB: 37 rows across 34 unrelated PRs, 0 true-master rows, 14 days. This PR changes only IcebergIterator and its own stateless test. #118499 (mine, open)
Mergeable Check cascade of the single red above (Failed: Upgrade check (amd_release)) #118499 (mine, open)
PR top-level praktika aggregator reflecting the same red #118499 (mine, open)

The other 12 Upgrade check (amd_release) sub-results are OK, and the remaining 150 checks pass.

Session id: cron:our-pr-ci-monitor:20260907-083133

: chunk_size(queue_size_)
, decode_concurrency(decode_concurrency_)
, data_snapshot(std::move(data_snapshot_))
, prepare(std::move(prepare_))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@groeneai what was the purpose of this function?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

It was the prewarm hook from #116723 (361823ae9e47e52, "Prewarm the filter's subquery sets before entering the decode pool"): IcebergIterator passed a lambda calling VirtualColumnUtils::buildOrderedSetsForDAG(*manifest_filter_dag, local_context), and DataFileEntriesStream::run() called it once before scheduling any decode task.

Its purpose was ordering. The filter DAG is consumed on the manifest decode pool (createManifestIterator -> ManifestFileIterator), so a decode task that built an IN (SELECT ...) set itself could deadlock: if the subquery read another Iceberg table, the nested read scheduled its own tasks on that same pool and the outer task waited behind itself once the pool saturated. Every set had to be built before the first decode task existed.

That invariant still holds, just enforced earlier: the same call now runs in IcebergIterator's constructor before data_files_stream is created, and the producer thread is started inside DataFileEntriesStream's constructor, so no producer and no decode task exist yet at that point. run() returned early on !data_snapshot, so the new site keeps that as if (data_snapshot && manifest_filter_dag). DataFileEntriesStream has exactly one construction site in the tree, so no caller is left needing a hook there.

What was wrong was the thread, not the work. In StorageObjectStorageSource::createFileIterator the same filter_actions_dag is used twice in a row: configuration->iterate(...), which started the producer that ran the callback, and then ObjectIteratorWithPathAndFileFilter, whose constructor calls buildSetsForDAG on the calling thread. Both reach the same FutureSetFromSubquery, which is the race in #118784.

…r-thread

Master gave the `DataFileEntriesStream` prepare callback a second job in
dff00ce and 5dd260b: besides building the manifest filter DAG's
ordered sets it now also constructs the `ManifestListPruner`. This branch
removes that callback, so both jobs move to the `IcebergIterator` constructor,
in the same order, keeping master's manifest-list partition pruning and its
pruned-files counter intact.

Moving the pruner construction is required, not incidental. It builds a
`KeyCondition` over the filter DAG, and `KeyCondition` materializes an
`IN (subquery)` right side through `FutureSetFromSubquery::buildOrderedSetInplace`.
Left on the producer thread it would keep reading the shared set while the query
thread writes it in `FutureSetFromSubquery::build`, which is the unguarded
`std::move(source)` this branch exists to serialize.

The pruner is now built before `DataFileEntriesStream` exists, so the producer
thread that reads it is created afterwards and observes it through the thread
creation itself.
@groeneai

Copy link
Copy Markdown
Collaborator Author

Merged master to clear the conflict. It was not purely textual, so the resolution is worth a note.

Master gave the prepare callback this PR removes a second job: constructing the
ManifestListPruner. That constructor builds a KeyCondition over the manifest filter DAG, and
KeyCondition materialises an IN (subquery) right side through
FutureSetFromSubquery::buildOrderedSetInplace. Left on the producer thread it would have kept
reading the shared set while the query thread writes it in FutureSetFromSubquery::build, which is
the unsynchronised std::move(source) this PR exists to serialise. So it moved into the constructor
as well, immediately after the set build it depends on.

Master's manifest-list pruning and its pruned-files counter are unchanged:
05045_iceberg_manifest_partition_arity passes locally, including the arms that assert its pruning
counters are non-zero, which a pruner left unbuilt would fail.

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 96d5f29

Every failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
whose fixing-PR link will be posted here when it opens. Only CH Inc sync is exempt.

Check / test Reason Owner / fixing PR
Integration tests (amd_asan_ubsan, db disk, old analyzer, 3/6) / Timeout shard runs out of session, not PR-caused: the shard reports 1621 OK, 34 SKIPPED and exactly one synthetic row whose context is ERROR: session-timeout occurred during test execution, with zero individual test failures #118933 (external, open)
Mergeable Check praktika aggregator, reports the single leg above #118933 (external, open)
PR top-level praktika aggregator #118933 (external, open)

Attribution, measured rather than assumed:

  • All five sibling shards on this same head are green with zero failures (1/6 1266 tests, 2/6 1143, 4/6 947, 5/6 1059, 6/6 1263), and the shard that timed out is the one carrying the most tests. The failure is the shard exceeding its session, not a test.
  • Session-timeout rate per batch over 30 days: 1/6 0.23%, 2/6 0.17%, 3/6 0.57%, 4/6 0.33%, 5/6 0.62%, 6/6 0.12%. The two heavy arms are three to five times the light ones, which is the imbalance Split the ASan integration test jobs into eight batches #118933 addresses by splitting these jobs from six batches into eight.
  • This branch cannot reach it: the diff is IcebergIterator.{cpp,h} plus one stateless test, and no individual test failed.
  • CH Inc sync was green at this head, so no row is owed for it.

Session id: cron:our-pr-ci-monitor:20260911-183208

@groeneai

Copy link
Copy Markdown
Collaborator Author

Follow-up asked for on #118959: this change should be paired with removing inplace_build_mutex.

That mutex (PreparedSets.h:261, lock site PreparedSets.cpp:526, added in 323aee4 for exactly this Iceberg concurrency) serializes FutureSetFromSubquery::buildOrderedSetInplace. This PR removes the state it guards, not the sharing: createManifestIterator, untouched here, still hands the same manifest_filter_dag to every ManifestFileIterator (IcebergIterator.cpp:440); each decode task then builds its own ManifestFilesPruner from processRow (ManifestFileIterator.cpp:589, :640), and those key conditions still call buildOrderedSetInplace on the shared FutureSetFromSubquery through tryPrepareSetIndexForIn. They stop at the created-set fast path only because the constructor built the sets first, which is a data-dependent stop rather than a structural one: a constructor build that stops without creating the set and keeps source (subquery timeout under overflow_mode = 'break') still lets two decode tasks enter the mutating region together. I have not reproduced that interleaving.

Proposed additional fix, two call sites and no plumbing: pass require_ready_sets_ = true at the ManifestFilesPruner key conditions (ManifestFilesPruning.cpp:156 and :180). Both use the Names plus ExpressionActionsPtr overload, which already carries the parameter (KeyCondition.h:83), and StatisticsPartPruner.cpp:177 is the precedent. tryPrepareSetIndexForIn then returns at its info.require_ready_sets && !future_set->get() guard (KeyCondition.cpp:2987) instead of force-building, and tryRewriteInTruthyCondition already gates on !future_set->get() (:1016), so that is the only force-build site on this path. In-place builds then happen on the query thread only, structurally, and the mutex has nothing left to serialize.

Behaviour cost: none once the sets are prepared in the constructor. Only the break/timeout state differs, where manifest-file pruning is skipped for that set instead of the build being retried on a decode thread.

I can push both parts here (the two flags, plus deleting the mutex and its lock site), or send them as a separate PR against master once this merges. test_data_manifest_decode_concurrency.py, added with the mutex, stays the regression oracle either way. Line numbers are from master a10d277eb.

@scanhex12
scanhex12 enabled auto-merge September 21, 2026 21:07
@scanhex12
scanhex12 added this pull request to the merge queue Sep 21, 2026
Merged via the queue into ClickHouse:master with commit b390c78 Sep 21, 2026
173 of 175 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 21, 2026
@groeneai

groeneai commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator Author

The follow-up proposed above is now #124804 (removes inplace_build_mutex, scope widened per #118784 (comment)).

@clickhouse-gh clickhouse-gh Bot added comp-iceberg Apache Iceberg tables: reading and writing Iceberg metadata (snapshots, manifests, schema evoluti... and removed comp-datalake Data lake table formats (Iceberg/Delta/Hudi) integration. labels Nov 22, 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-iceberg Apache Iceberg tables: reading and writing Iceberg metadata (snapshots, manifests, schema evoluti... groeneai-origin-ci-master PR origin: master/nightly CI monitoring finding pr-not-for-changelog This PR should not be mentioned in the changelog 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