Maintenance updates for Aiven for DataHub Limited availability
Manage maintenance updates and set the maintenance window for your Aiven for DataHub service.
Maintenance updates
Aiven applies some maintenance updates automatically. The following are the types of updates:
- Mandatory updates: Security updates, quarterly patch releases, and platform updates that affect reliability or stability of the service nodes.
- Optional updates: All other updates are initially optional. After six months, they become mandatory and are applied in the next week’s maintenance window.
- Periodic infrastructure updates: Scheduled automatically for services with nodes active for 180 days and more. These updates are mandatory for all services, except those with maintenance turned off.
Critical security updates are applied during the next available maintenance window. For other updates, Aiven gives you at least seven days' notice. Maintenance updates are also automatically applied during service upgrades.
To view pending updates:
- Console
- CLI
- API
- In your service, click Service settings.
- Go to the Service management section.
Use the avn service get command.
Use the service endpoint.
Maintenance windows
The maintenance window is the time period when Aiven can automatically apply maintenance updates to a service. When an update becomes available, Aiven schedules it for the next available maintenance window for each service. The update runs in the first window after it becomes available, and can begin any time after the start time.
For example, if a service has a maintenance window of Monday 12:00 UTC, and an update becomes available on Tuesday, the update will be applied on the following Monday.
During maintenance, Aiven might restart or replace service nodes. This can cause brief connection interruptions, but services are designed to minimize downtime. Aiven performs maintenance in a rolling-forward style, creating new nodes alongside existing ones and retiring the old nodes after the upgrade completes.
Major service upgrades are triggered manually. A manually triggered upgrade starts immediately, regardless of the maintenance window.
You cannot control the order in which services are updated. Each service updates according to its own configured maintenance window, and there is no guaranteed way to control the update sequence. Manual updates and maintenance window adjustments only help for non-critical updates.
Set the maintenance window for a DataHub service
To set the maintenance window for your service:
- Console
- Terraform
- In the Aiven Console, open your service.
- In the Maintenance section, click Actions > Change maintenance window.
- Set the day and time.
- Click Save changes.
Use the maintenance_window_dow and maintenance_window_time attributes in
your Aiven service resource.
You cannot change the maintenance window of the DataHub resource services. When you set the maintenance window for a DataHub service, the same window is set for those Aiven Apps, and the Aiven for Apache Kafka®, Aiven for OpenSearch® and Aiven for PostgreSQL® services.