> For the complete documentation index, see [llms.txt](https://docs.cennso.com/cennso/cennso-db/latest/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/cennso/cennso-db/latest/releases/1.2.1.md).

# Cennso Database 1.2.1

**Release date:** 2026-04-07

The Cennso Database extension 1.2.1 provides the following features and fixes:

- Support for startup, readiness, and liveness probes
- Support for additional arguments for restic commands
- Default MySQL configuration is updated
- The handling of the default boolean values is fixed in the compositions

> [!IMPORTANT]
> Before upgrading to the newest version, read the instructions provided in the [migration](#migration-guide) and [Upgrade a database](https://docs.cennso.com/cennso/cennso-db/latest/operation-guides/cennso-db-upgrade.md) guides.

## Features

### Support for startup, readiness, and liveness probes

The Cennso Database extension in version 1.2.1 adds support for [startup, readiness, and liveness probes](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/). You can configure them using the following parameters in the [Cennso Database Instance](https://docs.cennso.com/cennso/cennso-db/latest/concepts/cennso-db-instance.md) composition:

```yaml
spec:
  mysql:
    startupProbe:
      initialDelaySeconds: 15
      timeoutSeconds: 43200
      periodSeconds: 10
      failureThreshold: 1
      successThreshold: 1
    readinessProbe:
      initialDelaySeconds: 30
      timeoutSeconds: 3
      periodSeconds: 5
      failureThreshold: 3
      successThreshold: 1
    livenessProbe:
      initialDelaySeconds: 15
      timeoutSeconds: 10
      periodSeconds: 10
      failureThreshold: 3
      successThreshold: 1
```

### Support for additional arguments for restic commands

The Cennso Database extension in version 1.2.1 allows you to specify additional command line arguments for the [restic init](https://restic.readthedocs.io/en/stable/010_introduction.html) and [restic backup](https://restic.readthedocs.io/en/latest/040_backup.html) commands. To do this, use the following parameters of the [Cennso Database Backup](https://docs.cennso.com/cennso/cennso-db/latest/concepts/cennso-db-backup.md) composition:

```yaml
spec:
  additionalResticOpts:
    initExtraArgs: "--insecure-tls"
    backupExtraArgs: "--insecure-tls"
```

## Fixes

### The handling of the default boolean values is fixed in the compositions

The previous version of the Cennso Database extension handled default values for the boolean configuration parameters in a wrong way. As a result, some configuration options always had a value `true`, even if `false` was passed. 

For example, the [metrics exporter](https://docs.cennso.com/cennso/cennso-db/latest/deployment-guides/cennso-database-observability.md) can be enabled or disabled using the **spec.metricsExporter.enabled** configuration option of the [Cennso Database Instance](https://docs.cennso.com/cennso/cennso-db/latest/concepts/cennso-db-instance.md) composition. However, this configuration option was not handled properly, so even when it was set to `false`, the database metrics exporter was still deployed. The Cennso Database extension in version 1.2.1 fixes this.

## Maintenance

### Default MySQL configuration is updated

The Cennso Database extension in version 1.2.1 provides the following new configuration settings for the MySQL instances by default:

- `binlog_skip_flush_commands = ON` - disables `FLUSH` commands from ending up in the binary log. This configuration is set because each MySQL instance must control binary log purging by itself and not rely on commands received from other replicas. Otherwise, it can break replication. For more information, see the [official documentation](https://docs.percona.com/percona-server/8.4/binlogging-replication-improvements.html#binlog_skip_flush_commands).
- `replica_net_timeout = 10` - decreases the default timeout to wait for replication data or heartbeat from a primary MySQL instance. The main reason for decreasing it was to react to a possible failure and promote a new primary instance as fast as possible. For more information, see the [official documentation](https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_replica_net_timeout).
- `replica_exec_mode = IDEMPOTENT` - allows to overwrite conflicting data received from primary to avoid a possible data drift. For more information, see the [official documentation](https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_replica_exec_mode).

# Migration guide

> [!IMPORTANT]
> Before performing an upgrade, make sure you carefully read the [Installation](https://docs.cennso.com/cennso/cennso-db/latest/installation.md) and [Upgrade a database](https://docs.cennso.com/cennso/cennso-db/latest/operation-guides/cennso-db-upgrade.md) documents.

The Cennso Database extension 1.2.1 provides the [new configuration options](#default-mysql-configuration-is-updated) for the MySQL instances.

If your deployment is not suitable for the new configuration options, you can overwrite them with different values. To do this, use the **spec.mysql.additionalConfiguration** configuration options of your `Cennso Database Instance`:

```yaml
spec:
  mysql:
    additionalConfiguration: |
      binlog_skip_flush_commands = OFF
      replica_net_timeout = 60
      replica_exec_mode = STRICT
```

Other changes must be backward compatible with the Cennso Database extension in version [1.2.0](https://docs.cennso.com/cennso/cennso-db/latest/releases/1.2.0.md).
