We have discovered an incompatibility between our next version of Airflow and MariaDB
Whilst Airflow has been working with MariaDB up until now, the upgrade of the database to the new version failed.
Therefore, we need to choose a different back-end from the list of supported databases.
The only options available to us from a licensing perspective are:
- MySQL
- SQLite
- PostgreSQL
SQLite is not really suitable for a production deployment of Airflow, so that leaves us with MySQL or PostgreSQL.
Of these two options, the initial assessment is that PostgreSQL would be preferred over MySQL.
Therefore, the aim of this ticket is to:
- Choose a deployment scenario for PostgreSQL
- Deploy a PostgreSQL service according to the chosen deployment scenario
- Ensure that we have appropriate availability guarantees in place for PostgreSQL - (i.e. replication, failover, backup, restore, monitoring)
Note that we have a related ticket that investigates whether or not we can migrate existing data or whether we would need to start again with a fresh database: T319502: Consider migrating the Airflow MariaDB databases to Postgres