For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Cennso Database 1.3.0

Release date: 2026-09-04

The Cennso Database extension 1.3.0 provides the following features, fixes, and deprecations:

  • Introduce binary donor application for MySQL failover
  • Support for declarative definition of the database schemas
  • Support for declarative definition of the database users
  • New mechanism to run initialization SQL on a MySQL instance role change
  • Support for custom metrics
  • New chart with monitoring and alerting for the backup jobs
  • New configuration options for the backup jobs
  • Deprecated spec.replicationSyncWaitTimeOnUpgrade
  • Default values removed for required fields of the XDBBackup composition
  • New required fields of the XDBBackup and XDBOperator compositions
  • Renamed role binding of the XDBBackup composition
  • Compression enabled for MySQL CLONE by default
  • New memory allocator enabled by default
  • New bootstrap for the MySQL instances
  • New versions of the components
  • Fix for the name of the metrics exporter Helm release
  • Fix for the custom repository of the metrics exporter image
  • Fix for the Grafana dashboard panels with the hard-coded cluster name

Important

Before upgrading to the newest version, read the instructions provided in the migration and Upgrade a database guides.

Features

Introduce binary donor application for MySQL failover

The Cennso Database extension in version 1.3.0 adds a new utility called binary-donor which improves the MySQL failover experience. You can enable binary-donor using the following configuration options in the DBInstance Custom Resource:

yaml

When binary-donor is enabled, an additional pod is deployed on the same node as each MySQL instance and can act as a source of replication during failover.

For more information, see the binary-donor deployment guide.

Support for declarative definition of the database schemas

The Cennso Database extension in version 1.3.0 provides support for declarative definition of the database schemas and provisioning them on the specified MySQL instance. To create a database schema, you can use the new DBSchema Custom Resource:

yaml

Using this Custom Resource, you can create a database named analytics in the MySQL cluster specified by the spec.dbInstanceName configuration option.

For more information, see the database creation operation guide.

Support for declarative definition of the database users

The Cennso Database extension in version 1.3.0 provides support for declarative definition of the database users and provisioning them on the specified MySQL instance. To create a database user, you can use the new DBUser Custom Resource:

yaml

Using this Custom Resource, you can create a database user db-user with ALL PRIVILEGES for the mysql and example databases. The user is created on the MySQL cluster specified by the spec.dbInstanceName configuration option.

For more information, see the user creation operation guide.

New mechanism to run initialization SQL on a MySQL instance role change

The Cennso Database extension in version 1.3.0 provides support for defining SQL queries executed on database instances during the role change. You can specify the SQL queries using the following parameters of the DBInstance Custom Resource:

yaml

For more information, see the SQL applied during role change section.

Support for custom metrics

The Cennso Database extension in version 1.3.0 allows you to define custom metrics for your database instances using the following parameters of the DBInstance Custom Resource:

yaml

For more information, see the Metrics based on custom queries section.

New chart with monitoring and alerting for the backup jobs

The Cennso Database extension in version 1.3.0 provides a new Helm chart called cennso-db-support, which you can install together with the extension package. The chart contains a pre-configured PrometheusRuleOpens in a new tab resource with alert rules for the backup jobs.

The chart also provides the XtraBackupJobFailed alert rule. The alert fires when a backup pod enters the Failed phase. The rule watches all pods with the xtrabackup- prefix in their names, so it covers all backup jobs in your cluster, including the jobs created after the installation of the extension.

The chart requires the Prometheus OperatorOpens in a new tab, which is installed as a part of the Cennso Monitoring or the Cennso Core Cluster. If you do not need the alert rules, you can disable them using the following configuration option of the ClusterInstallation resource:

yaml

For more information, see the Alerting document.

New configuration options for the backup jobs

The Cennso Database extension in version 1.3.0 provides new configuration options of the XDBBackup composition. These options are related to the Kubernetes CronJobOpens in a new tab which runs your backups:

yaml
  • spec.activeDeadlineSeconds - maximum time in seconds a single backup run may take before Kubernetes stops it and marks the job as failed. The default value is 7200.
  • spec.backoffLimit - number of times a failed backup run is retried before the job is marked as failed. The default value is 2.
  • spec.successfulJobsHistoryLimit - number of successfully completed backup jobs to keep. The default value is 1.
  • spec.failedJobsHistoryLimit - number of failed backup jobs to keep, so you can inspect their logs. The default value is 3.

The previous versions of the Cennso Database extension did not set these fields, so a backup run had no deadline, and the number of retries and the job history followed the Kubernetes defaults. After the upgrade, a backup run that takes longer than two hours is stopped and marked as failed. If a full backup of your database takes longer, increase the spec.activeDeadlineSeconds value in your claim.

For more information, see the Cennso Database Backup document.

Maintenance and deprecations

Deprecated spec.replicationSyncWaitTimeOnUpgrade

The Cennso Database extension in version 1.3.0 deprecates the spec.replicationSyncWaitTimeOnUpgrade configuration option of the XDBOperator composition. The option still works as before, so your claims and the behavior of the Cennso Database Operator are not affected in this release. However, the option will be removed in the next release of the Cennso Database extension.

Use spec.binaryDonor of the DBInstance Custom Resource instead, so a restarted database instance catches up with the primary from the exposed binary logs. For more information, see the binary donor section.

Default values removed for required fields of the XDBBackup composition

The previous versions of the Cennso Database extension provided default values for the spec.namespace and spec.schedule required fields of the XDBBackup composition. As a result, a backup job could be created in a namespace or run on a schedule that you did not expect. The Cennso Database extension in version 1.3.0 removes these default values, so you must specify both fields in your claim.

For more information, see the Cennso Database Backup document.

New required fields of the XDBBackup and XDBOperator compositions

The Cennso Database extension in version 1.3.0 marks the following configuration options as required:

  • spec.credentialsSecretRef of the XDBBackup composition. This secret contains the credentials used by the backup job, so a backup can not be created without it.
  • spec.watchNamespaces of the XDBOperator composition. This list must contain at least one Kubernetes namespace in which the Cennso Database Operator watches the Custom Resources.

In addition, the unused spec.credentialsSecretRef.namespace configuration option is removed from the XDBBackup composition.

Renamed role binding of the XDBBackup composition

The role binding created by the XDBBackup composition is renamed from {CLAIM-NAME}-role-binding to {CLAIM-NAME}-backup-role-binding, so all the resources related to a backup have the same prefix. The role binding is recreated with the new name during the upgrade.

Compression enabled for MySQL CLONE by default

The Cennso Database extension in version 1.3.0 adds the clone_enable_compression = ON setting to the default MySQL configuration. Compression reduces the amount of data sent over the network during the CLONEOpens in a new tab operation.

If this setting is not suitable for your deployment, you can overwrite it using the spec.mysql.additionalConfiguration configuration option of the DBInstance Custom Resource.

New memory allocator enabled by default

The Cennso Database extension in version 1.3.0 enables the jemallocOpens in a new tab memory allocator for the MySQL instances by default. This allocator provides more stable memory usage and less memory fragmentation than the default glibc allocator.

The allocator is preloaded into the MySQL server using the LD_PRELOAD environment variable and tuned using the MALLOC_CONF environment variable. You can change these settings or turn the allocator off completely:

yaml

For more information, see the MySQL resources, server, and environment configuration section.

New bootstrap for the MySQL instances

The Cennso Database extension in version 1.3.0 provides its own bootstrap for the MySQL instances. The bootstrap takes the spec.mysql.cloneRequiredOnAsyncCluster configuration option of the DBInstance Custom Resource into account. When you set this option to false, a MySQL instance skips the CLONEOpens in a new tab operation on start, so the instance needs less time to get up and running during an upgrade.

The bootstrap is delivered in the new init container image which you can configure using the spec.mysql.initImage configuration option.

New versions of the components

The Cennso Database extension in version 1.3.0 updates the following components:

  • MySQL Orchestrator - version updated to v3.2.6-19-cennso-0.3. The new image contains the pre-failover hooks related to the binary-donor flow. The hooks are used only when spec.binaryDonor.enabled is set to true.
  • XtraBackup - version updated to v8.0.35-35.3
  • Restic - version updated to v0.19.0
  • Cennso Database Instance chart - version updated to 0.10.0-dev-4

In addition, the new version of the Cennso Database extension deploys the following new images:

  • binlog-donor v1.0.0 - the binary-donor application
  • percona-server-mysql-bootstrap 0.9.0-cennso-0.1 - the MySQL init container with the new bootstrap
  • mysql-server-client v8.0.0 - the MySQL client used by the DBSchema and DBUser jobs

Fixes

Fix for the name of the metrics exporter Helm release

The Helm release name of the metrics exporter contained an invalid suffix, for example mysqld-exporter-db-tposs%!(EXTRA string=0). The Cennso Database extension in version 1.3.0 fixes this name, so the name of the release contains the name of your claim.

Fix for the custom repository of the metrics exporter image

The previous versions of the Cennso Database extension read a misspelled name of the spec.metricsExporter.image.repository configuration option, so the value of this option was ignored and the default cennso/percona-mysqld-exporter repository was always used. The Cennso Database extension in version 1.3.0 fixes the name of the option, so the value from your claim is used.

Fix for the Grafana dashboard panels with the hard-coded cluster name

The disk read and write panels of the MySQL Grafana dashboard used a hard-coded cluster name instead of the $ClusterName variable, so these panels showed the data of one cluster only. This issue is now fixed. For more information, see the Dashboard document.

Migration guide

Important

Before performing an upgrade, make sure you carefully read the Installation and Upgrade a database documents.

This section describes how to upgrade the Cennso Database extension from version 1.2.1 to 1.3.0.

The new version of the Cennso Database extension changes the default MySQL configuration and the MySQL container images. For this reason, the MySQL instances are restarted during the upgrade. Make sure you back up your database before performing the upgrade.

In addition, the new version of the Cennso Database extension provides the new mechanism to run initialization SQL on a MySQL instance role change. The spec.mysql.roleChange.primarySQL and spec.mysql.roleChange.replicaSQL configuration options have default values, so the following SQL statements are applied to your database instances after the upgrade even if you do not set these options:

  • On the primary instance:

    sql
  • On the replica instances:

    sql

These statements are backward compatible with the previous settings and executed after the MySQL server starts, so they overwrite the same settings specified in the spec.mysql.additionalConfiguration configuration option. If these values are not suitable for your deployment, set your own SQL statements in the spec.mysql.roleChange configuration options.

For more information, see the SQL applied during role change section.

Before you start the upgrade, perform the checks and the actions described in the following sections.

Check your claims before the upgrade

The new version of the Cennso Database extension adds new required fields and stricter validation of configuration values. Check the following parameters in your claims before the upgrade, because the claims with the values that do not pass the validation are rejected:

  • The spec.credentialsSecretRef parameter of the XDBBackup composition must be specified, and the spec.credentialsSecretRef.namespace parameter must be removed.

  • The spec.namespace and spec.schedule parameters of the XDBBackup composition must be specified, because these parameters are required, but do not have default values anymore.

  • The spec.watchNamespaces parameter of the XDBOperator composition must contain at least one Kubernetes namespace.

  • The spec.resticRepository parameter of the XDBBackup composition must start with one of the schemes supported by restic (azure, b2, gs, local, rclone, rest, s3, sftp, or swift), followed by a non-empty path.

  • The spec.backupDirectory parameter of the XDBBackup composition must be a subdirectory of /backup or /var/lib/mysql/backup. This restriction protects the MySQL data and other sensitive directories from removal.

  • The following parameters of the XDBBackup composition must not contain a single quote ('):

    • spec.xtradbExtraArgs
    • spec.additionalResticOpts.cacheDir
    • spec.additionalResticOpts.initExtraArgs
    • spec.additionalResticOpts.pruneExtraArgs
    • spec.additionalResticOpts.backupExtraArgs

    The values of these parameters are passed to the shell of the backup job, so a single quote in them can be used to execute an arbitrary command.

  • The spec.additionalResticOpts.pruneRepository parameter of the XDBBackup composition can be set to true only when a retention policy is specified in the spec.additionalResticOpts.pruneExtraArgs parameter. Otherwise, the backup job fails at runtime with the Fatal: no policy was specified error.

Check the duration of your backups

The previous versions of the Cennso Database extension did not limit the duration of a backup run. The new version sets the new parameters of the backup CronJob, and the spec.activeDeadlineSeconds parameter has the default value of 7200 seconds. For this reason, check how long a full backup of your database takes before the upgrade. If a backup run takes longer than two hours, Kubernetes stops it and marks the job as failed, so increase the value of this parameter in your claim.

Check the repository of the metrics exporter image

The previous versions of the Cennso Database extension ignored the spec.metricsExporter.image.repository parameter of the XDBInstance composition and always pulled the metrics exporter image from the default cennso/percona-mysqld-exporter repository. The new version uses the value from your claim. For this reason, check this parameter in your claim before the upgrade. If the specified repository does not contain the metrics exporter image, the metrics exporter Pod can not pull the image and does not start.

Update your registry mirror

The new version of the Cennso Database extension deploys the new component images. If you use a private registry mirror, make sure the new images are available before the upgrade.

Install the Cennso Database Support chart

The new version of the Cennso Database extension provides the new cennso-db-support chart which is installed together with the extension package. The chart requires the Prometheus Operator. If your cluster does not have it, disable the alert rules using the cennso-db-support.prometheusRule.enabled configuration option of the ClusterInstallation resource.

Recreated Kubernetes resources

The new version of the Cennso Database extension changes the names of the metrics exporter Helm release and the role binding of the backup jobs. You do not need to change your claims, but both resources are replaced during the upgrade, so check them after the upgrade.

The Helm release of the metrics exporter is uninstalled and installed again with the new name. During this time, the metrics of your database instances are not collected. If you refer to the name of this Helm release in your own tooling, update the name to mysqld-exporter-{INSTANCE-INDEX}-{CLAIM-NAME}.

The role binding of the backup jobs is created with the new name {CLAIM-NAME}-backup-role-binding in the Kubernetes namespace with your backup jobs. Check whether this namespace still contains the role binding with the previous name {CLAIM-NAME}-role-binding. The backup jobs of the new version do not use it, so you can remove it.