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)
This commit fix bug: legacy get_alarm do not use _usecache flag
Reviewed: https:/ /review. opencontrail. org/44220 github. com/Juniper/ contrail- controller/ commit/ f8167648d12ebb2 340b334d84798c1 41ca43d991
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.1
commit f8167648d12ebb2 340b334d84798c1 41ca43d991
Author: zcui <email address hidden>
Date: Thu Jun 28 15:19:03 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)
This commit fix bug: legacy get_alarm do not use _usecache flag
Closes-Bug: #1719236
Change-Id: I03dcee1a1b4103 587197774cccd29 01e4faa3a42