Skip to content

Backport #99483 to 26.2: Fix heap-use-after-free in MergeTreeReadTask::createReaders#100855

Merged
nikitamikhaylov merged 1 commit into
26.2from
backport/26.2/99483
Mar 31, 2026
Merged

Backport #99483 to 26.2: Fix heap-use-after-free in MergeTreeReadTask::createReaders#100855
nikitamikhaylov merged 1 commit into
26.2from
backport/26.2/99483

Conversation

@robot-ch-test-poll1

Copy link
Copy Markdown
Contributor

Original pull-request #99483
Cherry-pick pull-request #100854

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

@robot-ch-test-poll1 robot-ch-test-poll1 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix labels Mar 26, 2026
@clickhouse-gh

clickhouse-gh Bot commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [462f13b]

Summary:

job_name test_name status info comment
Stateless tests (amd_asan, distributed plan, parallel, 1/2) failure
04039_merge_tree_snapshot_teardown_race FAIL cidb

@nikitamikhaylov nikitamikhaylov merged commit 2c8425a into 26.2 Mar 31, 2026
32 of 35 checks passed
@nikitamikhaylov nikitamikhaylov deleted the backport/26.2/99483 branch March 31, 2026 12:09
groeneai added a commit to groeneai/ClickHouse that referenced this pull request Apr 1, 2026
The test uses wait_for_query_to_start from shell_config.sh, but this
function was only moved there on master (commit 62405eb, Feb 28).
Release branches 26.1 and 26.2 do not have this function in their
shell_config.sh, causing 100% failure rate ("command not found") when
the test was backported via PRs ClickHouse#100853 and ClickHouse#100855.

Add a conditional fallback definition of wait_for_query_to_start directly
in the test file. The function is only defined if it doesn't already exist
(i.e., on older branches). On master and 26.3+ where shell_config.sh
already provides the function, the fallback is skipped.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants