Repository navigation
[4.2] fix: recreate missing character sets table - #27397
mergify[bot] merged 2 commits into
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
XuPeng-SH
left a comment
There was a problem hiding this comment.
Reviewed exact 4.2 backport head 96dab54 against merged main fix #27369 and the branch-specific upgrade scheduler. The create-before-populate entry uses the canonical DDL and normalized catalog lookup, leaves existing tables untouched, and advances the v4.0.6 offset. The backported same-version rule is narrowly limited to FromVersion == ToVersion offset upgrades; task ready/state handling still makes retries idempotent and normal version transitions remain skipped at their target. Focused race suites for both owning packages pass. No blocking findings.
Merge Queue Status
This pull request spent 23 minutes 14 seconds in the queue, with no time running CI. ReasonPull request #27397 has been dequeued Queue conditions are not satisfied:
HintYou should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. Requeued — the merge queue status continues in this comment ↓. |
Merge Queue Status
This pull request spent 1 hour 13 minutes 13 seconds in the queue, including 53 minutes 13 seconds running CI. Required conditions to merge
|
What type of PR is this?
Which issue(s) this PR fixes:
Related to #27287.
Backport of #27369 to
4.2-dev.What this PR does / why we need it:
The v4.0.6 tenant upgrade populates
information_schema.CHARACTER_SETS, but a legacy tenant can be missing the table entirely. The population check then fails before the repair can run.This backport:
CHARACTER_SETStable from the canonical DDL before population;VersionOffsetthrough the additional upgrade entry;main, because4.2-devwould otherwise skip tenants already recorded at v4.0.6.Validation:
make thirdparties;pkg/bootstrapandpkg/bootstrap/versions/v4_0_6tests;go list,go build,go vet, andgit diff --checkfor both owning packages.