fix: PXC tutorial installs PXC 8.4 to match the 8.4 base AMI - #71
Merged
Conversation
migrate_async_to_pxc.yml enabled the pxc-80 repo and installed PXC 8.0, but the base AMI is now Percona Server 8.4. PXC 8.0's mysqld refuses to start on an 8.4 datadir: [ERROR] [MY-014061] [InnoDB] Invalid MySQL server downgrade: Cannot downgrade from 80407 to 80045. So `systemctl start mysql@bootstrap` crashed on mysql1 and the cluster never formed (mysql2/mysql3 never reached SST). This is the current cause of #20 -- the original keyring cause (early-plugin-load) is already gone; the AMI uses the component keyring, which initializes fine. Switch the repo to pxc-84-lts so PXC matches the PS 8.4 datadir. Verified end-to-end (us-west-2): with pxc-84-lts the playbook completes, PXC 8.4.8 installs, mysql1 bootstraps, mysql2/mysql3 complete SST, and the cluster reports wsrep_cluster_size=3 / status=Primary / state=Synced. Closes #20 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Closes #20
Root cause (validated live)
migrate_async_to_pxc.ymlenabledpxc-80and installed PXC 8.0.45, but the base AMI is now Percona Server 8.4.7. PXC 8.0's mysqld refuses to start on an 8.4 datadir:So
systemctl start mysql@bootstrapcrashed on mysql1 and the cluster never formed — mysql2/mysql3 never even reached SST. This is the current cause of #20. The issue's original cause (theearly-plugin-load = keyring_file.sokeyring) is already gone — the AMI uses the component keyring, which initializes fine (Keyring component initialized successfully).Fix
One line:
percona-release enable pxc-80→pxc-84-lts, so PXC matches the PS 8.4 datadir.Verified end-to-end (us-west-2, full lab path)
make setup class=pxc→ansible-playbook migrate_async_to_pxc.yml:pxc-80)pxc-84-lts)failed=0percona-xtradb-cluster-server-8.4.8installedwsrep_cluster_size=3,status=Primary,state=SyncedTeardown verified clean afterward.