aodh/releasenotes/notes/support-batch-delete-events-32496f15b1169887.yaml
Takashi Kajinami 02179e0c32 Limit number of records deleted by aodh-expirer
This patch introduces the same functionality as is implemented in panko
recently[1], and allows us to limit the number of alarm histories
deleted in a single iteration, to avoid the query takes a long time and
if there are many expired records.

[1] Icf83ffe089301b3782273923f18efd4d209131c2

Change-Id: Ie1d1bbb911cf56a56f712291f61ffaabfa97422f
2021-05-06 21:02:35 +09:00

8 lines
286 B
YAML

---
features:
- |
A new ``alarm_histories_delete_bacth_size`` option has been added to limit
a number of alarm histories deleted from the database by aodh-expirer in
a single iteration. This parameter is useful when there are a lot of alarm
histories in the database.