Customers upgrading VMware Tanzu for MySQL from version 8.0 to 8.4 (LTS) may have concerns about whether infrastructure-level maintenance—such as stemcell rolls, bosh recreate, or BOSH sidecar activities—will inadvertently force a major version database upgrade or change instance types before applications are ready.
Major database version jumps (e.g., 8.0 to 8.4) are disruptive and are governed by the Service Broker and Tile lifecycle errands, rather than standard BOSH infrastructure updates. Understanding the boundaries between the Stemcell (OS) and the Service Instance (Database) is critical for a phased migration.
Infrastructure maintenance activities do not trigger major version upgrades. The upgrade of a MySQL service instance only occurs under specific conditions:
An instance upgrade will only be initiated if:
cf update-service SERVICE_INSTANCE.
Other activities, including stemcell rolls, BOSH recreations, and standard BOSH sidecar updates, will replace the underlying VM but will not attempt to upgrade the database version or change the instance type/plan.
To safely upgrade the tile while protecting production environments:
cf update-service` to perform testing and validate application compatibility with MySQL 8.4.
If an upgrade is accidentally attempted and fails, or if a bosh recreate is performed on a failing VM, you may encounter InnoDB corruption errors (e.g., Table flags are 0). This typically indicates a version mismatch where a newer data directory is being accessed by an older binary.
Refer to MySQL Startup Failures for steps to verify the data directory state and Stemcell Upgrade Failures to resolve issues where service instances remain on old infrastructure following a tile update.