Provide an option to enable/disable serve UVE queries from the aggregated
UVE db. In a scale setup, HA event (alarm-gen down), alarm-gen may take a
long time to aggregate the UVEs depending on the number of UVEs, number
of partitions it owns, etc., So, enabling this option would reduce the
down time in case of HA events (collector down - time taken for generators
to connect to the new collector and resync the UVEs, alarm-gen down - no
impact on UVE queries, only the alarms would be reevaluated)
Reviewed: https:/ /review. opencontrail. org/42319 github. com/Juniper/ contrail- controller/ commit/ fdda437edceb65f fce60efe3d40fe2 e084fff664
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.2
commit fdda437edceb65f fce60efe3d40fe2 e084fff664
Author: zcui <email address hidden>
Date: Mon Apr 16 17:55:34 2018 -0700
Add new config option use_aggregated_ uve_db
Provide an option to enable/disable serve UVE queries from the aggregated
UVE db. In a scale setup, HA event (alarm-gen down), alarm-gen may take a
long time to aggregate the UVEs depending on the number of UVEs, number
of partitions it owns, etc., So, enabling this option would reduce the
down time in case of HA events (collector down - time taken for generators
to connect to the new collector and resync the UVEs, alarm-gen down - no
impact on UVE queries, only the alarms would be reevaluated)
Change-Id: If39df7650ec514 d4645e3eae30edc 7b8ed0b5d1d
Closes-Bug: #1719236