Repository navigation
Do not run the previous release's 05079 in the upgrade check - #121506
Closed
alexey-milovidov wants to merge 1 commit into
Closed
alexey-milovidov wants to merge 1 commit into
alexey-milovidov wants to merge 1 commit into
Conversation
The previous release's copy of `05079_parse_aggregate_function_typed_param`
persists `AggregateFunction(quantile(0.5::Decimal32(1)), Float64)` as
`quantile('0.5')`. `--upgrade-check` implies `--fake-drop`, so the table
survives into the upgrade restart, where the new server (which prints and
reads back the typed spelling since #119810, without repairing metadata already
written the old way) refuses to load it with `CANNOT_CONVERT_TYPE`. The failed
load logs an `<Error>` and makes every `system.mutations` query throw, so the
same run also reports "The mutation submitted before the upgrade was not
finished by the new server".
Skip that test in the previous-release phase while the cloned reference still
carries the untyped spelling, mirroring #121484 for 05211.
Seen on https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=121418&sha=6d65f5936b09462cd8b3640348583ee081a97ab7&name_0=PR&name_1=Upgrade%20check%20%28amd_release%29
(#121418) and on #102065, #119304, #121372.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Contributor
|
Workflow [PR], commit [5b825a2] Summary: ❌
AI ReviewSummaryThis PR teaches Final Verdict✅ Approve. No findings to post as inline review comments. |
This was referenced Sep 22, 2026
azat
added a commit
to azat/ClickHouse
that referenced
this pull request
Sep 22, 2026
The printed type (quantile('0.5')) is not re-parseable on this branch, so a
table left behind cannot be reattached and the Upgrade check reports it.
Use toTypeName(defaultValueOfTypeName(...)) instead: same parsing path, same
error codes, nothing persisted.
Refs: ClickHouse#121506
Co-Authored-By: Claude Fable 5.1 <[email protected]>
xuir268
added a commit
to xuir268/ClickHouse
that referenced
this pull request
Sep 24, 2026
Skip `05079_parse_aggregate_function_typed_param` only when the previous release reference contains the known unreadable persisted decimal spelling. The corrected test stays enabled, and mutation validation and error-log checks are unchanged. Adapted from ClickHouse#121506. CI: https://github.com/ClickHouse/ClickHouse/actions/runs/35963033445/job/107560097729?pr=105338 PR: ClickHouse#105338 Validation: shell syntax; actual 26.9.2.8 fixture selects exclusion; current and missing references do not. Full upgrade validation requires CI.
xuir268
added a commit
to xuir268/ClickHouse
that referenced
this pull request
Sep 25, 2026
Create the active-node test replicas sequentially with one UUID. Exclude only the known-broken previous-release `quantile` fixture spelling from upgrade setup; retain corrected-test coverage and upgrade error checking. Related fixes: ClickHouse#121866 ClickHouse#121506 PR: ClickHouse#105338 CI: https://github.com/ClickHouse/ClickHouse/actions/runs/35963033445/job/107527703365?pr=105338 https://github.com/ClickHouse/ClickHouse/actions/runs/35963033445/job/107560097729?pr=105338 Performance investigation: https://github.com/ClickHouse/ClickHouse/actions/runs/35963033445/job/107560098717?pr=105338
xuir268
added a commit
to xuir268/ClickHouse
that referenced
this pull request
Sep 25, 2026
Gate the exclusion on the old unreadable reference spelling; retain corrected-test coverage and all upgrade error checks. The replica-test race fix is now included in master and is not duplicated here. Related: ClickHouse#121506 PR: ClickHouse#105338 CI: https://github.com/ClickHouse/ClickHouse/actions/runs/35963033445/job/107560097729?pr=105338
This was referenced Sep 26, 2026
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.
Related: #121484
Related: #121315
Related: #119810
Related: #121418
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Stop the upgrade check from creating, in its previous-release phase, a
quantilestate column whose persisted spelling the upgraded server cannot read back.Description
Upgrade check (amd_release)reds two rows from one cause, e.g. this run on #121418:Error message in clickhouse-server.logandThe mutation submitted before the upgrade was not finished by the new server. The samet_pfl_05079attach failure hit #102065, #119304 and #121372 in the last two days.The pre-upgrade phase runs the previous release's copy of the suite. At
v26.9.1.1629-stable,05079_parse_aggregate_function_typed_paramcreatesAggregateFunction(quantile(0.5::Decimal32(1)), Float64), which that release persists asquantile('0.5')(its own reference file shows this spelling). #119810 fixed the producer on master and explicitly does not repair metadata already written the old way.--upgrade-checkimplies--fake-drop, so the table survives into the restart and the new server correctly refuses it. That failed load makes everysystem.mutationsquery throwASYNC_LOAD_WAIT_FAILED, which is the second row (the mechanism described in #121484 and #121315).So, as #121484 does for
05211, this skips the test in the previous-release phase. The skip is keyed on the cloned reference still carrying the untypedquantile(\'0.5\'), Float64spelling, so it stops applying by itself once the previous release prints the type. Checked against both files: thev26.9.1.1629-stablereference matches, master's does not. This touches the same hunk as #121484; whichever merges second takes a trivial conflict resolution.🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/121506]