openstack-ansible-os_cinder/releasenotes/notes/cinder_db_cleanup_service-4754f3094604f677.yaml
Dmitriy Rabotyagov f16036e1f1 Add way to periodically trim Cinder DB
We're adding a service that is responsible for executing db purge.
Service will be deployed by default, but left
stopped/disabled. This way we allow deployers to enable/disable
feature by changing value of cinder_purge_deleted.

Otherwise, when variables set to true once, setting them back to false
won't lead to stopping of DB trimming , so timer would need to be
stopped manually.

Change-Id: Ic5ae8c778bff2858fcb31c85d4b910805e452c3f
2023-05-18 08:10:21 +00:00

13 lines
455 B
YAML

---
features:
- |
Added option to periodically clean-up deleted records from Cinder
database.
For this purpose a new service``cinder-purge-deleted`` was introduced.
It will be called periodically using corresponsive systemd timer on the
first cinder-api host.
By default this service is disabled/stopped and database cleanup
is not performed. You can enable this behaviour by defining variable
``cinder_purge_deleted``.