Skip to content

Stub Percona Xtrabackup v2.4#106

Draft
abg wants to merge 1 commit into
mainfrom
feature/stub-percona-xtrabackup-24
Draft

Stub Percona Xtrabackup v2.4#106
abg wants to merge 1 commit into
mainfrom
feature/stub-percona-xtrabackup-24

Conversation

@abg
Copy link
Copy Markdown
Member

@abg abg commented Apr 21, 2026

This completes the removal of all MySQL v5.7 support from the release.

Percona XtraDB Cluster v8.0 still depends on percona-xtrabackup v2.4 binaries and will fail if they are not present.

These old binaries are required just in case the cluster upgrades from a Percona XtraDB Cluster v5.7 version. However, pxc-release explicitly rejects upgrades from old MySQL v5.7 data directories (this transtion should be completed under pxc/1.1.x versions) so percona-xtrabackup is no longer required.

Since the Percona XtraDB Cluster v8.0 wsrep_sst_xtrabackup-v2 script requires the pxb-2.4/bin path to exist, the existing binaries are stubbed with a simple bash script that echos an expected version when the "pxb-2.4/bin/xtrabackup --version" option is passed and fails loudly otherwise.

Removing Percona XtraBackup v2.4 provides two benefits:

  • Mitigate CVE scans against EOL software
  • Enable compilation support on ubuntu-resolute stemcells without patching GPLv2 Percona XtraBackup v2.4 source.

This completes the removal of all MySQL v5.7 support from the release.

Percona XtraDB Cluster v8.0 still depends on percona-xtrabackup v2.4
_binaries_ and will fail if they are not present.

These old binaries are required _just in case_ the cluster upgrades from
a Percona XtraDB Cluster v5.7 version. However, pxc-release explicitly
rejects upgrades from old MySQL v5.7 data directories (this transtion
should be completed under pxc/1.1.x versions) so percona-xtrabackup is
no longer required.

Since the Percona XtraDB Cluster v8.0 wsrep_sst_xtrabackup-v2 script
requires the pxb-2.4/bin path to exist, the existing binaries are
stubbed with a simple bash script that echos an expected version when
the "pxb-2.4/bin/xtrabackup --version" option is passed and fails loudly
otherwise.

Removing provides two benefits:
- Mitigate CVE scans against EOL software
- Enable compilation support on ubuntu-resolute stemcells without
  patching GPLv2 Percona XtraBackup v2.4 source.
@abg abg force-pushed the feature/stub-percona-xtrabackup-24 branch from 718fc2f to ee2aff9 Compare April 29, 2026 05:17
@abg abg marked this pull request as ready for review April 29, 2026 05:18
@github-project-automation github-project-automation Bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group May 5, 2026
@abg abg marked this pull request as draft May 5, 2026 21:53
@abg
Copy link
Copy Markdown
Member Author

abg commented May 5, 2026

While this is relatively low risk (MySQL v5.7 support already dropped in pxc/2.0 series), this change feels significant to go into a patch release.

We're discussing what release of pxc this should go into, and whether this would be part of a larger version bump where we would feel more comfortable making breaking changes.

Converting to draft for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pending Merge | Prioritized

Development

Successfully merging this pull request may close these issues.

2 participants