Skip to content

Backport #107145 to 26.3: Fix query condition cache poisoning by on-fly mutations - #110656

Merged
PedroTadim merged 1 commit into
26.3from
backport/26.3/107145
Jul 16, 2026
Merged

PedroTadim merged 1 commit into
26.3from
backport/26.3/107145

Conversation

@robot-clickhouse-ci-1

@robot-clickhouse-ci-1 robot-clickhouse-ci-1 commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #107145
Cherry-pick pull-request #110642

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

Version info

  • Merged into: 26.3.17.50

@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Jul 16, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [87406dbf]

Summary: ❌

job_name test_name status info comment
Docker server image failure
clickhouse/clickhouse-server:head-alpine-arm64 failure cidb
Stateless tests (amd_asan, distributed plan, parallel, 1/2) failure
04238_alter_rename_column_merge_race FAIL cidb

@PedroTadim
PedroTadim merged commit ca43da3 into 26.3 Jul 16, 2026
32 of 37 checks passed
@PedroTadim
PedroTadim deleted the backport/26.3/107145 branch July 16, 2026 14:11
bytehalo-infra added a commit to sentioxyz/ClickHouse that referenced this pull request Sep 25, 2026
STOR: query condition cache with apply_mutations_on_fly, patch parts or a row policy before PREWHERE -> wrong (too few rows).
Effect in the production build a394e92: its upstream test(s) 03229_query_condition_cache_on_fly_mutations, 03229_query_condition_cache_row_policy fail on it and pass on official 26.8.8.8, run on isolated servers (evidence/fix_ci_20260925/upstream_repro/server_triage_PROD263_vs_UP2688.tsv).
Upstream patch unchanged, with its test(s): 03229_query_condition_cache_on_fly_mutations,03229_query_condition_cache_row_policy.

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

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants