Repository navigation
chdig v26.7.1 - #110938
chdig v26.7.1#110938
Conversation
|
Workflow [PR], commit [7cf404c] Summary: ❌
AI ReviewSummaryThis PR bumps Findings
Tests
Final Verdict
|
|
The two stress-test failures ( I merged the latest |
|
@alexey-milovidov what for merging with master? |
|
@azat you're right that the |
|
The only remaining CI red on 7cf404c is AST fuzzer (amd_msan): Segmentation fault — a pre-existing master bug, unrelated to this chdig submodule bump: a use-after-free in |
|
Will fix separately |
46c71b9
`ReadFromMergeTree::initializePipeline` replaced `storage_snapshot->data` in place when stripping data parts from the snapshot (for streaming queries and for `merge_tree_enable_remove_parts_from_snapshot_optimization`). With `enable_shared_storage_snapshot_in_query` the `StorageSnapshot` object is shared across all parts of the query via `QueryMetadataCache`, so the in-place replacement freed the old `StorageSnapshot::Data` while other threads of the same query could still be reading it. The optimization path is gated off for shared snapshots, but the streaming path (`query_info.isStream()`) was not. Found by AST fuzzer as a segmentation fault in `MergeTreeAnalyzeIndexSource::getIndexAnalysis`, which read `mutations_snapshot` from the shared snapshot while a streaming IN-subquery of another UNION branch concurrently stripped it: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=110938&sha=7cf404c52497443c4c2d93f51a31c99e7eae1147&name_0=PR&name_1=AST%20fuzzer%20%28amd_msan%29 (CI run for ClickHouse#110938, whose changes are unrelated to the crash.) Reproduced locally under ASan as heap-use-after-free. Replace the step's own snapshot pointer with a stripped clone instead of mutating the shared object. Co-Authored-By: Claude Fable 5 <[email protected]>
chdig v26.7.1
Bring the release branch to the same Rust toolchain and Rust contribs as master, so that it shares master's `rust_vendor` commit (`c4fd435`): - `nightly-2026-11-02` instead of `nightly-2025-07-07`. - `wasmtime` v41 -> v45.0.1 (`561b224`), with the `ValType` API change in `WasmTimeRuntime.cpp` from #106836 (also covers #98603 and #102603, which only moved the submodule). - `delta-kernel-rs` v23 (`3ae3062`), with the FFI adaptations, tests and the `arrow` crate feature from #105861. The branch keeps its `default-engine-rustls` feature and its per-batch `add_files` loop in `WriteTransaction::commit`; only the `commit` call is changed to the committed-transaction API. - `chdig` v26.10.1 (`a28e107`), with the `config.toml.in` sources from #103145, #110938 and #115216. - `rust/workspace/Cargo.lock` re-resolved offline against that vendor commit. Original PR: #128815 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
chdig v26.7.1: compress stacktraces for sharing, query patterns, separate arenas memory support, perfetto improvements, compatibility
Refs: ClickHouse/rust_vendor#73
Refs: https://github.com/azat/chdig/releases/tag/v26.7.1
Refs: azat-ch/speedscope#2 (here you will find some improvements for flamegraph sharing)
Refs: ClickHouse/pastila#54
Version info
26.7.1.1293(included in26.7and later)