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/42338 github. com/Juniper/ contrail- controller/ commit/ 8f184ca728d3812 c85a78f6404a688 85cb841729
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.0
commit 8f184ca728d3812 c85a78f6404a688 85cb841729
Author: zcui <email address hidden>
Date: Fri Apr 20 14:34:30 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: I600e2c33671a1c 16545732cd64d14 93678095198
Closes-Bug: #1719236