Repository navigation
el: run the MySQL/MariaDB data upgrade on every hop, with EL9's tool installed - #88
Conversation
…l installed EL9's mariadb-upgrade ships in mariadb-server-utils, which the server only weakly requires. With weak deps off it was never installed, so mysql.upgrade-data found the stale EL7 mysql_upgrade and the data files were never upgraded on any EL route. Both data-upgrade fixes now install it first. With the upgrade really running, el/centos5-web hung on EL9: no hop had ever upgraded its data, so MariaDB 10.5 met MySQL 5.0 system tables and stalled converting mysql.tables_priv. el6-mysql-upgrade-data and el7-mariadb-upgrade-data upgrade on the centos6 and centos7 hops, so each step is one major version (5.0 -> 5.1 -> 5.5 -> 10.5 -> 10.11). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc Signed-off-by: Claude <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Independent Claude review: SIGN-OFF on What the review checked:
Non-blocking findings, all already present on main:
Generated by Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: eda7755db8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
What this adds
Route:
routes/el/centos5-to-alma10.tomlon boxel/centos5-web;routes/el/centos7-to-alma10.tomlonel/centos7-lampandel/centos7-pyappNew fixes:
el6-mysql-upgrade-data(centos6): runs mysql_upgrade on MySQL 5.1, so the 5.0 system tables get upgradedel7-mariadb-upgrade-data(centos7): the same on MariaDB 5.5. Itswhenismysql-server, becausewhenis read before the hop, on EL6.Changed fixes:
el9-mariadb-configandel10-mariadb-upgradenow installmariadb-server-utilsbeforemysql.upgrade-data.Claims issue: follow-up to #75 / #79 (found by remi's CentOS 7 VM run)
Before: EL9's
mariadb-upgradelives inmariadb-server-utils, which the server only weakly requires. With weak deps off it was never installed, somysql.upgrade-datafound the stale EL7 5.5mysql_upgrade. The| tailhid its failure, and the data files were never upgraded on any EL route.After: the real tool runs. That exposed a second gap. No hop had ever upgraded
el/centos5-web's data, so MariaDB 10.5 met MySQL 5.0 system tables. Itsmariadb-upgradehung for 30 minutes inALTER TABLE tables_priv("Rename result table"). Now every hop upgrades one major version: 5.0 → 5.1 → 5.5 → 10.5 → 10.11.Two follow-up PRs come next:
mysql.upgrade-datafail unless the data comes out stamped with the server's version;Model
none: hand-written from the chroot replays and remi's VM run
Evidence
Decoy check: passed
A
--stepsreplay of centos5-web shows each upgrade tool exiting 0:mysql_fix_privilege_tables ... OKPhase 7/7 ... OKPhase 8/8 ... OKSelf-review (AGENTS.md step 5)
./wend verifyfound no decoy hitsrepair) keptfires_on). Two existing fixes get an install step: they are wend's own, curated here.git commit -s)🤖 Generated with Claude Code
https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc
Generated by Claude Code