Skip to content

Percona Operator for MySQL 0.6.0

Percona Operator for MySQL allows users to deploy MySQL clusters with both asynchronous and group replication topology. This release includes various stability improvements and bug fixes, getting the Operator closer to the General Availability stage. Version 0.6.0 of the Percona Operator for MySQL is still a tech preview release and it is not recommended for production environments. As of today, we recommend using Percona Operator for MySQL based on Percona XtraDB Cluster, which is production-ready and contains everything you need to quickly and consistently deploy and scale MySQL clusters in a Kubernetes-based environment, on-premises or in the cloud.

Highlights

  • The Smart Upgrade functionality allows users to automatically get the latest version of the software compatible with the Operator and apply it safely
  • The role of the HAProxy load balancer, which was previously used for asynchronous replication between MySQL instances, has been extended. Now HAProxy can also be used with group replication as an alternative to MySQL Router
  • Starting from this release, semi-synchronous replication is not supported by the Operator in favor of using safer options: either group replication, or asynchronous replication (see this blog post for details on how asynchronous replication may cause data loss in case of a node crash)

New features

  • K8SPS-283: Now the cluster with group replication can be deployed with HAProxy instead of MySQL Router
  • K8SPS-160: Add Smart Upgrade functionality to automate Percona Server for MySQL upgrades

Improvements

  • K8SPS-162: Now MySQL X protocol can be used with HAProxy load balancing
  • K8SPS-163: Percona Monitoring and Management (PMM) is now able to gather HAProxy metrics
  • K8SPS-205: Update user passwords on a per-user basis instead of a cumulative update so that if an error occurs while changing a user’s password, other system users are not affected
  • K8SPS-270: Use more clear Controller names in log messages to ease troubleshooting
  • K8SPS-280: Full cluster crash recovery with group replication is now using MySQL shell built-in checks to detect the member with latest transactions and reboots from it, making the cluster prone to data loss
  • K8SPS-281: The Operator can now be run locally against a remote Kubernetes cluster, which simplifies the development process, substantially shortening the way to make and try minor code improvements

Bugs Fixed

  • K8SPS-260: Fix a bug due to which group replication cluster can stuck in initializing state after restore
  • K8SPS-190: Fix a bug due to which the Operator could not delete a cluster that was stuck in initializing state (for example, due to the inability to start one of the Pods)
  • K8SPS-211: Fix a bug which caused the cluster status to oscillate between “initializing” and “ready” on passwords change
  • K8SPS-223: Fix a bug due to which deleting a Pod with its PVC was breaking the InnoDB Cluster because of the UUID change of the recreated Pod
  • K8SPS-224: Fix a bug that caused flooding the Operator logs with warnings about missing parallel-applier settings on cluster members at each reconcile loop
  • K8SPS-244: Fix a bug due to which MySQL Router Pods were not restarted at the custom configuration ConfigMap change
  • K8SPS-254: Fix a bug due to which it was possible to run multiple restores for the same cluster in parallel
  • K8SPS-257: Fix a bug causing a hang when trying to delete a backup in an error state
  • K8SPS-259: Fix a bug that caused flooding the Operator logs with “failed to get cluster status” errors during the cluster scaling
  • K8SPS-262: Fix a bug which caused the Operator to delete SSL issuer and certificate at cluster deletion if delete-ssl finalizer was not set
  • K8SPS-263: Fix a bug due to which setting incorrect issuer in the Custom Resource of the existing cluster resulted in “READY” state instead of the “ERROR” one
  • K8SPS-272: Fix a bug due to which the password of the monitor user was visible in the pmm-client logs
  • K8SPS-278: Fix a bug due to which MySQL Pods did not restart when the user-created MySQL config was provided with the <cluster-name>-mysql ConfigMap

Deprecation and removal

  • K8SPS-276: Semi-synchronous replication support was removed from the Operator; now it provides either group replication with HAProxy or MySQL Router, or asynchronous replication with Orchestrator and HAProxy

Supported Platforms

The Operator was developed and tested with Percona Server for MySQL 8.0.33-25. Other options may also work but have not been tested. Other software components include:

  • Orchestrator 3.2.6-9
  • MySQL Router 8.0.33-25
  • XtraBackup 8.0.33-27
  • Percona Toolkit 3.5.3
  • HAProxy 2.8.1
  • PMM Client 2.39

The following platforms were tested and are officially supported by the Operator 0.6.0:

This list only includes the platforms that the Percona Operators are specifically tested on as part of the release process. Other Kubernetes flavors and versions depend on backward compatibility offered by Kubernetes itself.

Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services. Join K8S Squad to benefit from early access to features and “ask me anything” sessions with the Experts.


Last update: 2024-10-29