Skip to content

Backport #131363 to 26.10: Fix Context has expired in kqlMultiply with parallel replicas - #132081

Merged
Algunenano merged 1 commit into
26.10from
backport/26.10/131363
Nov 17, 2026
Merged

Algunenano merged 1 commit into
26.10from
backport/26.10/131363

Conversation

@robot-clickhouse-ci-1

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

Copy link
Copy Markdown
Contributor

Original pull-request #131363

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.10.5.58

@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 Nov 16, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [d8908e1]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_asan_ubsan, distributed plan, parallel) FAIL
04950_distributed_plan_runtime_filter_delivery_from_join_stage FAIL cidb

@Algunenano

Copy link
Copy Markdown
Member

@groeneai Can you investigate the failure of 04950_distributed_plan_runtime_filter_delivery_from_join_stage in this 26.10 branch PR, please?

@groeneai

Copy link
Copy Markdown
Collaborator

This is the failure that hit master on 2026-10-16..21 and was fixed there by #126385. That fix is not in 26.10: the branch was cut at 3e724bd on 2026-10-15 and the fix merged on 2026-10-20.

  • The failed run had auto_statistics_types = tdigest among its randomized MergeTree settings. So did all 33 master failures in that window, all with the same two 1 -> 0 lines as here.
  • Without Estimate range conditions from all parts of tdigest statistics #126385, StatisticsTDigest::merge leaves the merged centroids unsorted, so the estimate for v < 90000 on big depends on the order of its parts and can come out as 0 rows. The planner then does not transport the runtime filter, which is what both lines check. Part order varies between runs, which is why all 17 reruns passed.
  • On 26.10 this is the only failure of the test in 553 runs since the cut. On master it has not failed since Estimate range conditions from all parts of tdigest statistics #126385 merged.

#126385 should cherry-pick cleanly: src/Storages/Statistics/StatisticsTDigest.cpp on 26.10 is identical to the file before the fix, and its test is a new file. It is labelled pr-improvement, so it reaches 26.10 only with v26.10-must-backport.

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.

5 participants