Before, the update-status hook would run many handlers
that would have been normally done only during
configuration changes.
Consequently it creates an impact on the service and
apply changes every time the hook is triggered, which is
in most deployments every 5 minutes.
This prevents the DNS zones managed by Designate to be
updated constantly and potentially avoid race conditions
within designate components.
Closes-bug: #2003528
Change-Id: I0d4fea182da1316c0c30c143e64fcd2ca682afff
(cherry picked from commit f84cee2634e6d9605fd154be40f2c04426eba01e)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- designate/ +/872122 /opendev. org/openstack/ charm-designate /commit/ 11e72d57bc842b8 4490a70650d5dd5 f87e63cdce
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/zed
commit 11e72d57bc842b8 4490a70650d5dd5 f87e63cdce
Author: Olivier Dufour-Cuvillier <email address hidden>
Date: Mon Jan 30 19:38:02 2023 +0900
Prevent update-status to run unrequired handlers
Before, the update-status hook would run many handlers
that would have been normally done only during
configuration changes.
Consequently it creates an impact on the service and
apply changes every time the hook is triggered, which is
in most deployments every 5 minutes.
This prevents the DNS zones managed by Designate to be
updated constantly and potentially avoid race conditions
within designate components.
Closes-bug: #2003528 6c0c30c143e64fc d2ca682afff 05fd154be40f2c0 4426eba01e)
Change-Id: I0d4fea182da131
(cherry picked from commit f84cee2634e6d96