barbican/releasenotes/notes/rename-db-opts-547a9114abde2e88.yaml
Takashi Kajinami 12aa8a9339 Use consistent [database] options
Currently Barbican is not using oslo.db to set up database connection
but it's own implementation directly using sqlalchemy. Because of this
the database parameters were not updated and these are based on
the names in quite old oslo.db library.

This change updates the database options so that the name of these
parameters become consistent with oslo.db.

This would help us replace current own implementation by oslo.db in
the future.

Change-Id: I36926e62842780068f7e66564233c121c37565d0
2023-11-27 10:15:56 +09:00

16 lines
656 B
YAML

---
deprecations:
- |
The following database options in the ``[DEFAULT]`` section were renamed
and moved to the ``[database]`` section.
- ``[DEFAULT] sql_connection`` was renamed to ``[database] connection``
- ``[DEFAULT] sql_idle_timeout`` was renamed to
``[database] connection_recycle_time``
- ``[DEFAULT] sql_max_retries`` was renamed to ``[database] max_retries``
- ``[DEFAULT] sql_retry_interval`` was renamed to
``[database] retry_interval``
- ``[DEFAULT] sql_pool_size`` was renamed to `[database] max_pool_size``
- ``[DEFAULT] sql_pool_max_overflow`` was renamed to
``[database] max_overflow``