Repository navigation
Fix hang when dropping a Refreshable Materialized View during refresh planning - #113188
Merged
thevar1able merged 2 commits intoAug 7, 2026
Merged
Conversation
Contributor
|
Workflow [PR], commit [571c590] Summary: ✅
AI ReviewSummaryThis PR makes refresh cancellation visible earlier in Final Verdict✅ No new findings. LLVM Coverage Report
Changed lines: Changed C/C++ lines covered: 17/18 (94.44%) · Uncovered code |
thevar1able
approved these changes
Aug 7, 2026
This was referenced Aug 14, 2026
clickhouse-gh Bot
pushed a commit
that referenced
this pull request
Aug 14, 2026
…alized View during refresh planning
clickhouse-gh Bot
added a commit
that referenced
this pull request
Aug 14, 2026
Backport #113188 to 26.7: Fix hang when dropping a Refreshable Materialized View during refresh planning
robot-clickhouse-ci-1
added a commit
that referenced
this pull request
Aug 17, 2026
Cherry pick #113188 to 25.8: Fix hang when dropping a Refreshable Materialized View during refresh planning
robot-clickhouse
added a commit
that referenced
this pull request
Aug 17, 2026
…alized View during refresh planning
robot-clickhouse-ci-1
added a commit
that referenced
this pull request
Aug 17, 2026
Cherry pick #113188 to 26.3: Fix hang when dropping a Refreshable Materialized View during refresh planning
robot-clickhouse
added a commit
that referenced
this pull request
Aug 17, 2026
…alized View during refresh planning
robot-clickhouse-ci-1
added a commit
that referenced
this pull request
Aug 17, 2026
Cherry pick #113188 to 26.5: Fix hang when dropping a Refreshable Materialized View during refresh planning
robot-clickhouse
added a commit
that referenced
this pull request
Aug 17, 2026
…alized View during refresh planning
robot-clickhouse-ci-1
added a commit
that referenced
this pull request
Aug 17, 2026
Cherry pick #113188 to 26.6: Fix hang when dropping a Refreshable Materialized View during refresh planning
robot-clickhouse
added a commit
that referenced
this pull request
Aug 17, 2026
…alized View during refresh planning
clickhouse-gh Bot
added a commit
that referenced
this pull request
Aug 18, 2026
Backport #113188 to 26.6: Fix hang when dropping a Refreshable Materialized View during refresh planning
evillique
added a commit
that referenced
this pull request
Aug 18, 2026
Backport #113188 to 26.3: Fix hang when dropping a Refreshable Materialized View during refresh planning
evillique
added a commit
that referenced
this pull request
Aug 18, 2026
Backport #113188 to 26.5: Fix hang when dropping a Refreshable Materialized View during refresh planning
bytehalo-infra
added a commit
to sentioxyz/ClickHouse
that referenced
this pull request
Sep 25, 2026
OTHER: cancelling a refreshable MV while its refresh query is being planned (IN subqueries) -> hang. Effect in the production build a394e92: its upstream test(s) 04661_refreshable_mv_cancel_during_planning 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 with its test(s), adapted: RefreshTask.h: the three header changes are applied by hand (a neighbouring comment differs in the fork); RefreshTask.cpp: the fork logs through `log` where upstream uses getLogger(), the hunk is applied with the fork's logger. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DROP TABLEof a Refreshable Materialized View waited for the in-flight refresh to finish planning its query, because the refresh query became cancellable only once its pipeline existed. It is now published to the process list before interpretation.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix
DROP TABLEandSYSTEM STOP VIEWhanging when a Refreshable Materialized View is blocked while planning its refresh query.Version info
26.8.1.988(included in26.8and later)26.7.4.38,26.6.3.54,26.5.7.62,26.3.20.3